Last active
January 31, 2022 23:07
-
-
Save ihcsim/726c93705c52fef7d366e2b89dd76b5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
b, n := read() | |
fmt.Printf("data: %s\nlen: %d\n", b, n) | |
} | |
func read() (string, int) { | |
s := "some data" | |
return s, len(s) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment