Skip to content

Instantly share code, notes, and snippets.

@mitchallen
Created March 22, 2022 04:01
Show Gist options
  • Save mitchallen/84cd9165f80428bb60d7c4c4daed94fb to your computer and use it in GitHub Desktop.
Save mitchallen/84cd9165f80428bb60d7c4c4daed94fb to your computer and use it in GitHub Desktop.
How to use go-lib demo
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