gobox

package module
v0.0.0-...-c19cbcf Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

README

gobox

The missing pieces of Go's standard library

GoDoc


This is beta software and may break at any time! Use it at your own risk

Licensing

See LICENSE.txt and https://bloom.sh/licensing

uuid is a fork of github.com/google/uuid
log is a fork of github.com/rs/zerolog
keyring is a fork of github.com/zalando/go-keyring
is is a fork of github.com/matryer/is
graphql is a fork of github.com/machinebox/graphql
email is a fork of github.com/jordan-wright/email
database/sqlx is a fork of github.com/jmoiron/sqlx
cli is a fork of github.com/spf13/cobra
cli/pflag is a fork of github.com/spf13/pflag
env is a fork of https://github.com/joho/godotenv and https://github.com/caarlos0/env
retry is a fork of https://github.com/avast/retry-go
vat is a fork of https://github.com/mattes/vat
colorx is a fork of https://github.com/icza/gox (7dc3510ae515f0a6e8479d9a382bc8bb04f3a37d)
validator is a fork of https://github.com/asaskevich/govalidator (7a23bdc65eef5f3783e782b436f3065eae3fc72d)
otp is a fork of https://github.com/pquerna/otp (3006c03e19424e57e998d0faa7afe846b291ca14)
barcode is a fork of https://github.com/boombuler/barcode (6c824513baccd76c674ce72112c29ef550187b08)
imaging is a fork of https://github.com/bloom42/gobox/imaging (339f5d48a4f3352fe8bcdefe81de01e25f711b09)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(value bool) *bool

func Float32

func Float32(value float32) *float32

func Float64

func Float64(value float64) *float64

func Int

func Int(value int) *int

func Int16

func Int16(value int16) *int16

func Int32

func Int32(value int32) *int32

func Int64

func Int64(value int64) *int64

func Int8

func Int8(value int8) *int8

func String

func String(value string) *string

func Uint

func Uint(value uint) *uint

func Uint16

func Uint16(value uint16) *uint16

func Uint32

func Uint32(value uint32) *uint32

func Uint64

func Uint64(value uint64) *uint64

func Uint8

func Uint8(value uint8) *uint8

Types

This section is empty.

Directories

Path Synopsis
Get application directories such as config and cache.
Get application directories such as config and cache.
aztec
Package aztec can create Aztec Code barcodes
Package aztec can create Aztec Code barcodes
codabar
Package codabar can create Codabar barcodes
Package codabar can create Codabar barcodes
code128
Package code128 can create Code128 barcodes
Package code128 can create Code128 barcodes
code39
Package code39 can create Code39 barcodes
Package code39 can create Code39 barcodes
code93
Package code93 can create Code93 barcodes
Package code93 can create Code93 barcodes
datamatrix
Package datamatrix can create Datamatrix barcodes
Package datamatrix can create Datamatrix barcodes
ean
Package ean can create EAN 8 and EAN 13 barcodes.
Package ean can create EAN 8 and EAN 13 barcodes.
pdf417
Package pdf417 can create PDF-417 barcodes
Package pdf417 can create PDF-417 barcodes
qr
Package qr can be used to create QR barcodes.
Package qr can be used to create QR barcodes.
twooffive
Package twooffive can create interleaved and standard "2 of 5" barcodes.
Package twooffive can create interleaved and standard "2 of 5" barcodes.
utils
Package utils contain some utilities which are needed to create barcodes
Package utils contain some utilities which are needed to create barcodes
cli
package cli is a commander providing a simple interface to create powerful modern CLI interfaces.
package cli is a commander providing a simple interface to create powerful modern CLI interfaces.
doc
pflag
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Package colorx contains color utilities.
Package colorx contains color utilities.
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations.
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations.
database
sqlx
Package sqlx provides general purpose extensions to database/sql.
Package sqlx provides general purpose extensions to database/sql.
sqlx/reflectx
Package reflectx implements extensions to the standard reflect lib suitable for implementing marshalling and unmarshalling packages.
Package reflectx implements extensions to the standard reflect lib suitable for implementing marshalling and unmarshalling packages.
Package email provides an easy to use and hard to misuse email API
Package email provides an easy to use and hard to misuse email API
Package env is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv) Examples/readme can be found on the github page at https://github.com/joho/env The TL;DR is that you make a .env file that looks something like SOME_ENV_VAR=somevalue and then in your go code you can call env.Load() and all the env vars declared in .env will be available through os.Getenv("SOME_ENV_VAR")
Package env is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv) Examples/readme can be found on the github page at https://github.com/joho/env The TL;DR is that you make a .env file that looks something like SOME_ENV_VAR=somevalue and then in your go code you can call env.Load() and all the env vars declared in .env will be available through os.Getenv("SOME_ENV_VAR")
Package graphql provides a low level GraphQL client.
Package graphql provides a low level GraphQL client.
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
Package is provides a lightweight extension to the standard library's testing capabilities.
Package is provides a lightweight extension to the standard library's testing capabilities.
log
Package log provides a lightweight logging library dedicated to JSON logging.
Package log provides a lightweight logging library dedicated to JSON logging.
loghttp
Package loghttp provides an helper middleware to log HTTP requests See https://github.com/bloom42/gobox/log/tree/master/examples/http for a working example
Package loghttp provides an helper middleware to log HTTP requests See https://github.com/bloom42/gobox/log/tree/master/examples/http for a working example
pkgerrors
Package pkgerrors is on the way of deprecation due to go2 error value https://github.com/pkg/errors
Package pkgerrors is on the way of deprecation due to go2 error value https://github.com/pkg/errors
otp
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
Simple library for retry mechanism slightly inspired by [Try::Tiny::Retry](https://metacpan.org/pod/Try::Tiny::Retry) SYNOPSIS http get with retry: url := "http://example.com" var body []byte err := retry.Do( func() error { resp, err := http.Get(url) if err != nil { return err } defer resp.Body.Close() body, err = ioutil.ReadAll(resp.Body) if err != nil { return err } return nil }, ) fmt.Println(body) [next examples](https://github.com/avast/retry-go/tree/master/examples) SEE ALSO * [giantswarm/retry-go](https://github.com/giantswarm/retry-go) - slightly complicated interface.
Simple library for retry mechanism slightly inspired by [Try::Tiny::Retry](https://metacpan.org/pod/Try::Tiny::Retry) SYNOPSIS http get with retry: url := "http://example.com" var body []byte err := retry.Do( func() error { resp, err := http.Get(url) if err != nil { return err } defer resp.Body.Close() body, err = ioutil.ReadAll(resp.Body) if err != nil { return err } return nil }, ) fmt.Println(body) [next examples](https://github.com/avast/retry-go/tree/master/examples) SEE ALSO * [giantswarm/retry-go](https://github.com/giantswarm/retry-go) - slightly complicated interface.
tui
Package uuid generates and inspects UUIDs.
Package uuid generates and inspects UUIDs.
package validator is package of validators and sanitizers for strings, structs and collections.
package validator is package of validators and sanitizers for strings, structs and collections.
vat

Jump to

Keyboard shortcuts

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