Documentation ¶
Overview ¶
Package util should stay empty.
davecheney: #golang top tip: don't write a "utils" package, don't make a "utils" project. 2/10/16, 11:42 PM
Directories ¶
Path | Synopsis |
---|---|
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
|
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. |
Package bufferpool implements a pool of reusable auto-resizing buffers.
|
Package bufferpool implements a pool of reusable auto-resizing buffers. |
Package byteconv converts sql.RawBytes for MySQL or MariaDB to primitive types.
|
Package byteconv converts sql.RawBytes for MySQL or MariaDB to primitive types. |
Package codegen generates Go, Protobuf, Flatbuffers, TypeScript, etc.
|
Package codegen generates Go, Protobuf, Flatbuffers, TypeScript, etc. |
Package conv - easy and safe casting from one type to another.
|
Package conv - easy and safe casting from one type to another. |
Package csjwt handles JSON web tokens.
|
Package csjwt handles JSON web tokens. |
cmd/jwt
A useful example app.
|
A useful example app. |
jwtclaim
Package jwtclaim provides claim structs and maps for convenience.
|
Package jwtclaim provides claim structs and maps for convenience. |
jwthttp
Package jwthttp extracts, parses and verifies a token from HTTP requests.
|
Package jwthttp extracts, parses and verifies a token from HTTP requests. |
Package cstesting provides testing helpers
|
Package cstesting provides testing helpers |
package diff compares two strings and prints out all differences
|
package diff compares two strings and prints out all differences |
Package gzippool provides pooled gzip reader and writers.
|
Package gzippool provides pooled gzip reader and writers. |
Package hashpool implements a pool for reusable and registered hash.Hash types.
|
Package hashpool implements a pool for reusable and registered hash.Hash types. |
Package naughtystrings is a collection of strings that have a high probability of causing issues when used as user input.
|
Package naughtystrings is a collection of strings that have a high probability of causing issues when used as user input. |
package pseudo is the fake data generator, heavily inspired by forgery and ffaker Ruby gems.
|
package pseudo is the fake data generator, heavily inspired by forgery and ffaker Ruby gems. |
Package slices contains functions for working on specific slice types.
|
Package slices contains functions for working on specific slice types. |
Package strs contains additional string manipulation functions.
|
Package strs contains additional string manipulation functions. |
Package translit replaces characters in a string using a huge conversion table.
|
Package translit replaces characters in a string using a huge conversion table. |
Click to show internal directories.
Click to hide internal directories.