The mogo
(pronounced "Mo Go" for "More Go") package provides a collection of Go utilities for common tasks.
Go is a small language which is useful from a development and maintenance
perspective but it can result in common tasks being more verbose than other
languages where there are more productivity methods. The mogo
package's
goal is to provide wrappers for common tasks in the same spirit of io/ioutil
to make programming Go a bit faster.
In terms of scope, mogo
is designed to cover all common areas, with a move to fewer dependencies.
mogo
is in a deconstruction phase. It currently has many dependencies and the goal is to move external dependences to separate packages in the Mogo family.
See the following modules for extended functionality (with more dependencies):
- GoAuth - github.com/grokify/goauth
- GoCharts - github.com/grokify/gocharts
- GoHTTP - github.com/grokify/gohttp
- GoNet - github.com/grokify/gonet
- GoPhoneNumbers - github.com/grokify/gophonenumbers
Documentation is provided using godoc and available on GoDoc.org.
$ go get github.com/grokify/mogo/...
The SBOM is in the file [SBOM.spdx.json
]. It is created using GitHub's built-in SBOM feature with the following additions:
- It is converted to indented JSON for easier reading.
- The
packages[0].downloadLocation
value as the commit hash added per https://spdx.github.io/spdx-spec/v2.3/package-information/.
See CREDITS
Features, Issues, and Pull Requests are always welcome.
To contribute:
- Fork it ( http://github.com/grokify/mogo/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Please report issues and feature requests on Github.