Documentation ¶
Index ¶
- Constants
- func AssertEqual(t testing.TB, a, b interface{}, description ...string)
- func EqualsFold(b, s []byte) (equals bool)
- func FunctionName(fn interface{}) string
- func GetArgument(arg string) bool
- func GetBytes(s string) (bs []byte)
- func GetCharPos(s string, char byte, matchCount int) int
- func GetMIME(extension string) (mime string)
- func GetString(b []byte) string
- func GetTrimmedParam(param string) string
- func ImmutableString(s string) string
- func StatusMessage(status int) string
- func ToLower(b string) string
- func ToLowerBytes(b []byte) []byte
- func ToUpper(b string) string
- func ToUpperBytes(b []byte) []byte
- func Trim(s string, cutset byte) string
- func TrimLeft(s string, cutset byte) string
- func TrimRight(s string, cutset byte) string
- func UUID() string
Constants ¶
View Source
const MIMEOctetStream = "application/octet-stream"
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
AssertEqual checks if values are equal
func EqualsFold ¶
EqualFold the equivalent of bytes.EqualFold
func GetTrimmedParam ¶
GetTrimmedParam trims the ':' & '?' from a string
func ImmutableString ¶
ImmutableString returns a immutable string with allocation
func ToLowerBytes ¶
ToLowerBytes is the equivalent of bytes.ToLower
func ToUpperBytes ¶
ToUpperBytes is the equivalent of bytes.ToUpper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.