Skip to content

Instantly share code, notes, and snippets.

@cjgiridhar
Created January 23, 2019 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjgiridhar/38f97861665d869f0e955e8519d33149 to your computer and use it in GitHub Desktop.
Save cjgiridhar/38f97861665d869f0e955e8519d33149 to your computer and use it in GitHub Desktop.
Example of package in Golang
package mathematics
func Add(a,b int) int {
return a+b
}
func Sub(a,b int) int {
return a-b
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment