Skip to content

Instantly share code, notes, and snippets.

@benevolent0505
Created September 20, 2012 15:21
Show Gist options
  • Save benevolent0505/3756561 to your computer and use it in GitHub Desktop.
Save benevolent0505/3756561 to your computer and use it in GitHub Desktop.
「A Tour of Go」でGo言語を学ぶ(~#8) ref: http://qiita.com/items/71cc2b5ef7d8c939efa0
package main
import "fmt"
func add(x int, y int) int {
return x + y
}
func main() {
fmt.Println(add(42, 13))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment