Skip to content

Instantly share code, notes, and snippets.

@akkijp
Last active October 21, 2015 10:03
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 akkijp/5b046602e2a3b8ae36fb to your computer and use it in GitHub Desktop.
Save akkijp/5b046602e2a3b8ae36fb to your computer and use it in GitHub Desktop.
tmp golang test
package main
import "fmt"
func f1() (int, string, float32) {
return 0, "xyz", 3.14
}
func f2(a int, b string, c interface{}) {
fmt.Println(a, b, c)
}
func main() {
f2(f1())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment