Skip to content

Instantly share code, notes, and snippets.

@philoserf
Last active September 1, 2023 19:23
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 philoserf/c0f0dde1cddda3b1fbee0afd924ca323 to your computer and use it in GitHub Desktop.
Save philoserf/c0f0dde1cddda3b1fbee0afd924ca323 to your computer and use it in GitHub Desktop.
to, err := human()
package main
import (
"fmt"
"log"
)
func main() {
to, err := human()
if err != nil {
log.Println("It is just that way.")
}
fmt.Println(to)
}
func human() (string, error) {
return "Hello", nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment