Goava: Guava ported to Go
Goava is heavily inspired by Guava, which is a set of core libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, primitives, strings, and more!
Features
- base/Ascii => github.com/abc-inc/goava/base/casefmt
- base/CaseFormat => github.com/abc-inc/goava/base/casefmt
- base/CharMatcher => github.com/abc-inc/goava/base/runematcher
- base/Optional => github.com/abc-inc/goava/base/opt
- base/Preconditions => github.com/abc-inc/goava/base/precond
- base/Stopwatch => github.com/abc-inc/goava/base/stopwatch
- base/Strings
- base/Ticker => github.com/abc-inc/goava/base/ticker
- cache/Cache
- collect/ComparisonChain => github.com/abc-inc/goava/collect/compchain
- collect/DiscreteDomain => github.com/abc-inc/goava/collect/domain
- collect/Ordering
- collect/Sets => github.com/abc-inc/goava/collect/set
- escape/Escaper => github.com/abc-inc/goava/escape
- eventbus/EventBus
- html/HtmlEscapers => github.com/abc-inc/goava/html
- io/Files
- io/Flusher => github.com/abc-inc/goava/io
- math
- net/HostAndPort => github.com/abc-inc/goava/net/hostandport
- net/UrlEscapers => github.com/abc-inc/goava/net/url
- xml/XmlEscapers => github.com/abc-inc/goava/xml
- ...
Adding Goava to your project
To add a dependency on Goava, install the latest version of the library:
go get -u github.com/abc-inc/goava
Next, include Goava in your application (see links above):
import "github.com/abc-inc/goava/<package>"
Learn about Goava and Guava
- Guava users' guide, Guava Explained
Links
Disclaimer
This is not an official Google product (experimental or otherwise). It is not affiliated with the Guava project.