goava

module
v0.0.0-...-7272a43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2022 License: Apache-2.0

README

Goava: Guava ported to Go

Go build

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

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

Disclaimer

This is not an official Google product (experimental or otherwise). It is not affiliated with the Guava project.

Directories

Path Synopsis
Package base contains basic utility libraries and interfaces.
Package base contains basic utility libraries and interfaces.
ascii
Package ascii provides static methods pertaining to ASCII characters (those in the range of values 0x00 through 0x7F), and to strings containing such characters.
Package ascii provides static methods pertaining to ASCII characters (those in the range of values 0x00 through 0x7F), and to strings containing such characters.
casefmt
Package casefmt provides utilities for converting between various ASCII case formats.
Package casefmt provides utilities for converting between various ASCII case formats.
opt
Package opt provides an immutable data type that may contain a non-nil value of any type.
Package opt provides an immutable data type that may contain a non-nil value of any type.
precond
Package precond contains convenience function that help a function method or method check whether it was invoked correctly (that is, whether its preconditions were met).
Package precond contains convenience function that help a function method or method check whether it was invoked correctly (that is, whether its preconditions were met).
runematcher
Package runematcher provides functions that check whether a rune matches a certain condition.
Package runematcher provides functions that check whether a rune matches a certain condition.
stopwatch
Package stopwatch provides means to measures elapsed time in nanoseconds.
Package stopwatch provides means to measures elapsed time in nanoseconds.
collect
compchain
Package compchain provides a utility for performing a chained comparison statement.
Package compchain provides a utility for performing a chained comparison statement.
domain
Package domain contains descriptors for discrete comparable domains such as all int instances.
Package domain contains descriptors for discrete comparable domains such as all int instances.
set
Package set provides a data structure that contains no duplicates and models the mathematical set abstraction.
Package set provides a data structure that contains no duplicates and models the mathematical set abstraction.
Package html provides escaper instances suitable for strings to be included in HTML attribute values and most elements' text contents.
Package html provides escaper instances suitable for strings to be included in HTML attribute values and most elements' text contents.
Package io contains utilities for working with I/O; for example input streams, output streams, readers, writers, and files.
Package io contains utilities for working with I/O; for example input streams, output streams, readers, writers, and files.
net
hostandport
Package hostandport contains utility functions for working with net addresses (numeric IP and domain names).
Package hostandport contains utility functions for working with net addresses (numeric IP and domain names).
url
Package url provides escaper instances suitable for strings to be included in particular sections of URLs.
Package url provides escaper instances suitable for strings to be included in particular sections of URLs.
primitives
bools
Package bools contains static utility functions pertaining to boolean values.
Package bools contains static utility functions pertaining to boolean values.
floats
Package floats contains static utility functions pertaining to floating-point numbers.
Package floats contains static utility functions pertaining to floating-point numbers.
ints
Package ints contains static utility functions pertaining to integers.
Package ints contains static utility functions pertaining to integers.
uints
Package uints contains static utility functions pertaining to unsigned integers.
Package uints contains static utility functions pertaining to unsigned integers.
testing
Package xml contains escaper instances suitable for strings to be included in XML attribute values and elements' text contents.
Package xml contains escaper instances suitable for strings to be included in XML attribute values and elements' text contents.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL