Skip to content

Instantly share code, notes, and snippets.

@ryanc414
Created October 2, 2021 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanc414/6de0191d599e323944193b0d45b679ca to your computer and use it in GitHub Desktop.
Save ryanc414/6de0191d599e323944193b0d45b679ca to your computer and use it in GitHub Desktop.
func GetKeyURL(x int) (*url.URL, error) {
y := Foo(x)?
z := Bar(y)?
return Baz(z)
}
func Foo(x int) (int, error) {
...
}
func Bar(y string) (string, error) {
...
}
func Baz(z string) (*url.URL, error) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment