Created
January 23, 2019 08:26
-
-
Save cjgiridhar/38f97861665d869f0e955e8519d33149 to your computer and use it in GitHub Desktop.
Example of package in Golang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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