Last active
October 21, 2015 10:03
-
-
Save akkijp/5b046602e2a3b8ae36fb to your computer and use it in GitHub Desktop.
tmp golang test
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
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