Skip to content

Instantly share code, notes, and snippets.

Created January 23, 2019 08:28
What would you like to do?
Example of importing packages in Golang
package main
import "fmt"
import ""
/*func add(a, b int) int {
return a+b
func main() {
sum := mathematics.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