https://github.com/dothiv/translations-updater/blob/f518e2865d4159f81939b5e8d857c0c588b429e5/util/loader_test.go#L23 is my find of the day. #golang has a built-in mock webserver for testing.