Documentation ¶
Index ¶
- func CopyBytes(b []byte) []byte
- func CopyString(s string) string
- func Default(t, f interface{}) interface{}
- func If(check bool, a, b interface{}) interface{}
- func IsZero(val interface{}) bool
- func Try(fn func(), catch ...func(err error))
- func UnsafeBytes(s string) (bs []byte)
- func UnsafeString(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeBytes ¶
#nosec G103 GetBytes returns a byte pointer without allocation
func UnsafeString ¶
#nosec G103 GetString returns a string pointer without allocation
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package attributes defines a generic key/value store used in various gRPC components.
|
Package attributes defines a generic key/value store used in various gRPC components. |
internal
|
|
Package gorilla/schema fills a struct with form values.
|
Package gorilla/schema fills a struct with form values. |
Package structs contains various utilities functions to work with structs.
|
Package structs contains various utilities functions to work with structs. |
Package buffer provides an implementation of an unbounded buffer.
|
Package buffer provides an implementation of an unbounded buffer. |
xobj
doc https://godoc.org/github.com/stretchr/objx
|
doc https://godoc.org/github.com/stretchr/objx |
Click to show internal directories.
Click to hide internal directories.