Created
March 22, 2022 04:01
-
-
Save mitchallen/84cd9165f80428bb60d7c4c4daed94fb to your computer and use it in GitHub Desktop.
How to use go-lib demo
This file contains hidden or 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 main | |
| import ( | |
| "fmt" | |
| "github.com/mitchallen/go-lib" | |
| ) | |
| func main() { | |
| fmt.Println(lib.Add(2, 3)) | |
| fmt.Println(lib.Subtract(2, 3)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment