Documentation ΒΆ
Index ΒΆ
- Variables
- func AscendingIntSort(arr intArr) []int
- func AscendingStringSort(arr stringArr) []string
- func CheckInt(old, new int) int
- func CheckInt16(old, new int16) int16
- func CheckInt32(old, new int32) int32
- func CheckInt64(old, new int64) int64
- func CheckInt8(old, new int8) int8
- func CheckJson(old, new json.RawMessage) (json.RawMessage, error)
- func CheckString(old, new string) string
- func CheckUint16(old, new uint16) uint16
- func CheckUint32(old, new uint32) uint32
- func CheckUint64(old, new uint64) uint64
- func CheckUint8(old, new uint8) uint8
- func DescendingIntSort(arr intArr) []int
- func DescendingStringSort(arr stringArr) []string
- func FormatUnixTimestampToPgComparisonValue(timestamp int) string
- func GenerateHashFromString(str string) string
- func GeneratePasswordHash(lg *zap.SugaredLogger, str string, salt string) string
- func GetRandomString(n int) string
- func RemoveInt16DuplicatesUnordered(elements []int16) []int16
- func RemoveInt32DuplicatesUnordered(elements []int32) []int32
- func RemoveInt64DuplicatesUnordered(elements []int64) []int64
- func RemoveInt8DuplicatesUnordered(elements []int8) []int8
- func RemoveIntDuplicatesUnordered(elements []int) []int
- func RemoveSpecifiedInt16FromSlice(elements []int16, toRemove int16, another ...int16) []int16
- func RemoveSpecifiedInt32FromSlice(elements []int32, toRemove int32, another ...int32) []int32
- func RemoveSpecifiedInt64FromSlice(elements []int64, toRemove int64, another ...int64) []int64
- func RemoveSpecifiedInt8FromSlice(elements []int8, toRemove int8, another ...int8) []int8
- func RemoveSpecifiedIntFromSlice(elements []int, toRemove int, another ...int) []int
- func RemoveSpecifiedStringFromSlice(elements []string, toRemove string, another ...string) []string
- func RemoveStrDuplicatesUnordered(elements []string) []string
- func SendSlackHook(url, channel, username, message string) error
- func UnquoteString(s string) string
- func UnsafeInterfaceByteSize(res interface{}) float32
- func ValidateEmail(email string) bool
- func ValidatePhoneNumber(phone string) bool
- func ValidateUserUsername(r string) bool
- func VerifyBitwiseComparison(check uint64, roles ...uint64) bool
- type Float32Array
- type Float64Array
- type Int16Array
- type Int32Array
- type Int64Array
- type Int8Array
- type IntArray
- type PropertyMap
- type StringArray
- type Uint16Array
- type Uint32Array
- type Uint64Array
- type Uint8Array
- type UintArray
Constants ΒΆ
This section is empty.
Variables ΒΆ
Functions ΒΆ
func AscendingIntSort ΒΆ
func AscendingIntSort(arr intArr) []int
func AscendingStringSort ΒΆ
func AscendingStringSort(arr stringArr) []string
func CheckInt16 ΒΆ
func CheckInt32 ΒΆ
func CheckInt64 ΒΆ
func CheckJson ΒΆ
func CheckJson(old, new json.RawMessage) (json.RawMessage, error)
func CheckString ΒΆ
func CheckUint16 ΒΆ
func CheckUint32 ΒΆ
func CheckUint64 ΒΆ
func CheckUint8 ΒΆ
func DescendingIntSort ΒΆ
func DescendingIntSort(arr intArr) []int
func DescendingStringSort ΒΆ
func DescendingStringSort(arr stringArr) []string
func GenerateHashFromString ΒΆ
func GeneratePasswordHash ΒΆ
func GeneratePasswordHash(lg *zap.SugaredLogger, str string, salt string) string
func GetRandomString ΒΆ
returns random symbol string with specified length = n
func SendSlackHook ΒΆ
func UnquoteString ΒΆ added in v0.5.1
func UnsafeInterfaceByteSize ΒΆ
func UnsafeInterfaceByteSize(res interface{}) float32
func ValidateEmail ΒΆ
func ValidatePhoneNumber ΒΆ
func ValidateUserUsername ΒΆ
Types ΒΆ
type Float32Array ΒΆ
type Float32Array []float32
func (Float32Array) Len ΒΆ
func (s Float32Array) Len() int
func (Float32Array) Less ΒΆ
func (s Float32Array) Less(i, j int) bool
func (Float32Array) Swap ΒΆ
func (s Float32Array) Swap(i, j int)
type Float64Array ΒΆ
type Float64Array []float64
func (Float64Array) Len ΒΆ
func (s Float64Array) Len() int
func (Float64Array) Less ΒΆ
func (s Float64Array) Less(i, j int) bool
func (Float64Array) Swap ΒΆ
func (s Float64Array) Swap(i, j int)
type Int16Array ΒΆ
type Int16Array []int16
func (Int16Array) Len ΒΆ
func (s Int16Array) Len() int
func (Int16Array) Less ΒΆ
func (s Int16Array) Less(i, j int) bool
func (Int16Array) Swap ΒΆ
func (s Int16Array) Swap(i, j int)
type Int32Array ΒΆ
type Int32Array []int32
func (Int32Array) Len ΒΆ
func (s Int32Array) Len() int
func (Int32Array) Less ΒΆ
func (s Int32Array) Less(i, j int) bool
func (Int32Array) Swap ΒΆ
func (s Int32Array) Swap(i, j int)
type Int64Array ΒΆ
type Int64Array []int64
func (Int64Array) Len ΒΆ
func (s Int64Array) Len() int
func (Int64Array) Less ΒΆ
func (s Int64Array) Less(i, j int) bool
func (Int64Array) Swap ΒΆ
func (s Int64Array) Swap(i, j int)
type PropertyMap ΒΆ
type PropertyMap map[string]interface{}
jsonb
func (*PropertyMap) Scan ΒΆ
func (p *PropertyMap) Scan(source json.RawMessage) error
type StringArray ΒΆ
type StringArray []string
func (StringArray) Len ΒΆ
func (s StringArray) Len() int
func (StringArray) Less ΒΆ
func (s StringArray) Less(i, j int) bool
func (StringArray) Swap ΒΆ
func (s StringArray) Swap(i, j int)
type Uint16Array ΒΆ
type Uint16Array []uint16
func (Uint16Array) Len ΒΆ
func (s Uint16Array) Len() int
func (Uint16Array) Less ΒΆ
func (s Uint16Array) Less(i, j int) bool
func (Uint16Array) Swap ΒΆ
func (s Uint16Array) Swap(i, j int)
type Uint32Array ΒΆ
type Uint32Array []uint32
func (Uint32Array) Len ΒΆ
func (s Uint32Array) Len() int
func (Uint32Array) Less ΒΆ
func (s Uint32Array) Less(i, j int) bool
func (Uint32Array) Swap ΒΆ
func (s Uint32Array) Swap(i, j int)
type Uint64Array ΒΆ
type Uint64Array []uint64
func (Uint64Array) Len ΒΆ
func (s Uint64Array) Len() int
func (Uint64Array) Less ΒΆ
func (s Uint64Array) Less(i, j int) bool
func (Uint64Array) Swap ΒΆ
func (s Uint64Array) Swap(i, j int)
type Uint8Array ΒΆ
type Uint8Array []uint8
func (Uint8Array) Len ΒΆ
func (s Uint8Array) Len() int
func (Uint8Array) Less ΒΆ
func (s Uint8Array) Less(i, j int) bool
func (Uint8Array) Swap ΒΆ
func (s Uint8Array) Swap(i, j int)
Source Files ΒΆ
Click to show internal directories.
Click to hide internal directories.