Documentation
¶
Overview ¶
Package utilgo is a wrapper around various self-contained subpackages, and doesn't actually contain anything in it.
Directories
¶
Path | Synopsis |
---|---|
Package broadcast
|
Package broadcast |
Package chain provides a convenient way to chain http handlers.
|
Package chain provides a convenient way to chain http handlers. |
Package cmap Concurrent safe Map based on map and sync.RWMutex
|
Package cmap Concurrent safe Map based on map and sync.RWMutex |
Package conflag combines go flags with config files.
|
Package conflag combines go flags with config files. |
Package enums Go enum and its string representation
|
Package enums Go enum and its string representation |
Package errors provides a standard error compatible error implementation with key:value context It is based on github.com/pkg/errors package: errors returned by this package support both StackTrace() and Cause().
|
Package errors provides a standard error compatible error implementation with key:value context It is based on github.com/pkg/errors package: errors returned by this package support both StackTrace() and Cause(). |
Package fileutil provides functions for doing things with files, like reading them line by line, etc
|
Package fileutil provides functions for doing things with files, like reading them line by line, etc |
Package flags extends the standard flag package.
|
Package flags extends the standard flag package. |
Package htmls contains helper functions simplify working with golang.org/x/net/html package
|
Package htmls contains helper functions simplify working with golang.org/x/net/html package |
Package ips provides ip helper functions
|
Package ips provides ip helper functions |
Package jobber time strings parser from jobber
|
Package jobber time strings parser from jobber |
Package jsons contains some json related helper functions.
|
Package jsons contains some json related helper functions. |
Package radixs is used for retrieving redis connections, and has helper methods for interacting with the data held within redis.
|
Package radixs is used for retrieving redis connections, and has helper methods for interacting with the data held within redis. |
Package set Set Data Structure based on map and sync.RWMutex
|
Package set Set Data Structure based on map and sync.RWMutex |
Package slices contains some slice related helper functions.
|
Package slices contains some slice related helper functions. |
Package tests provides various methods which we commonly use when writing tests
|
Package tests provides various methods which we commonly use when writing tests |
Package urls contains some url related helper functions.
|
Package urls contains some url related helper functions. |
Package vergen generate version info with go generate
|
Package vergen generate version info with go generate |
Click to show internal directories.
Click to hide internal directories.