Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of command binary in Golang
package main
import "fmt"
func add(a, b int) int {
return a+b
func main() {
sum := add(4, 5)
fmt.Printf("Hello, Gopher! Your result is %d\n", sum)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment