Tricky and fun utilities for Go programs.
Developed with $( go version; ). Go is extremely backwards compatible and semver stable. Nearly any v1.x should work fine.
To use this repo as a template for your own project:
gh repo create -y --public --template "https://github.com/skeptycal/goutil"
Clone this repo to test and contribute:
# add repo to $GOPATH (xxxxxx is your computer login username)
go get github.com/xxxxxx/goutil
cd ${GOPATH}/src/github.com/xxxxxx/goutil
# test results and coverage info
./go.test.sh
# install as a utility package
go install
Use the Issues and PR templates on the GitHub repo page to contribute.
This is a copy of the example script available in the
cmd/example/goutil
folder:
package main
import "github.com/skeptycal/goutil"
func main() {
goutil.Example()
}
To try it out:
# change to the sample folder
cd cmd/example/goutil
# run the main.go program
go run ./main.go
# to compile as an executable
go build
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. Please read the Code of Conduct for details before submitting anything.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Michael Treanor (GitHub / Twitter) - Initial work, updates, maintainer
- Francesc Campoy - Inspiration and great YouTube videos!
See also the list of contributors who participated in this project.
Licensed under the MIT https://opensource.org/licenses/MIT - see the LICENSE file for details.