a sintaxe da declaração do blog go
sum := func(a, b int) int { return a+b } (3, 4)
DevLorenzo
sum := func(a, b int) int { return a+b } (3, 4)
int main(argc, argv)
int argc;
char *argv[];
{ /* ... */ }
f func(func(int,int) int, int) func(int, int) int
var p *int
x = *p
[]int("hi")
f func(func(int,int) int, int) int
int x;
(*int)(nil)
int main(int argc, char *argv[]) { /* ... */ }
func main(argc int, argv []string) int