A collection of small Go utilities in the spirit of ioutil.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 169e9cc Dec 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bytes/bytesutil bytesutil.TrimUTF8BOM Jan 24, 2018
compress/lzfutil add lzfutil.ReadFile() Jul 29, 2018
config fix comment Nov 6, 2018
crypto update x509util Nov 1, 2018
encoding streamline code Oct 25, 2018
errors/errorsutil add ErrorInfo Apr 29, 2018
examples update uptime example Oct 2, 2018
fmt/fmtutil fix for updated ineffassign Jun 18, 2018
html update time format constants May 28, 2018
io/ioutilmore update iom.IsFileWithSizeGtZero Oct 31, 2018
math/mathutil add mathutil.Round for pre Go 1.11 Dec 10, 2018
mime/multipartutil fix misspelling Dec 10, 2018
net fix for updated ineffassign Jun 18, 2018
os/osutil add osutil.EnvFiltered Oct 22, 2018
path/template refactor template Sep 28, 2017
reflect/reflectutil update style Sep 28, 2017
regexp/regexputil better conditional handling Oct 25, 2018
sort/sortutil update math,sort,time Nov 12, 2017
strconv add mathutil.Round for pre Go 1.11 Dec 10, 2018
strings update formatting Jul 29, 2018
text/markdown enhance text/markdown Nov 2, 2018
time update timeutil Dec 10, 2018
type add type/strutil tests Oct 21, 2018
.codeclimate.yml add CondenseStrings Nov 20, 2016
.gitignore update .gitignore Oct 29, 2017
.travis.yml add Go 1.11.x to CI Sep 7, 2018
CHANGELOG.md add urlutil go-querystring support Jan 29, 2018
LICENSE update LICENSE May 18, 2018
README.md update docs Jun 18, 2018
gotilla.go add jsonutil.MustMarshalIntent Jan 10, 2018
gotilla_test.go update tests Feb 4, 2016

README.md

Gotilla

Used By Build Status Go Report Card Docs License

Overview

The gotilla 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 gotilla 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, gotilla is designed to cover all common areas.

Documentation

Documentation is provided using godoc and available on GoDoc.org.

Installation

$ go get github.com/grokify/gotilla/...

Contributing

Features, Issues, and Pull Requests are always welcome.

To contribute:

  1. Fork it ( http://github.com/grokify/gotilla/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please report issues and feature requests on Github.

License

Gotilla is available under an MIT-style license. See LICENSE for details.

Gotilla © 2015-2018 by John Wang