//
pkg.gl
Category
github.com/tiendc/go-validator
base
package
1.0.0
Repository:
https://github.com/tiendc/go-validator.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
2
Dependents
14
Files
69 SLOC
#
Packages
common
No description provided by the author
map
No description provided by the author
number
No description provided by the author
slice
No description provided by the author
string
No description provided by the author
time
No description provided by the author
#
Functions
IsIn
IsIn returns -1 if every item of a slice is in another slice.
IsNotIn
IsNotIn returns -1 if any item of a slice is not in another slice.
IsUnique
IsUnique returns -1 if every item of a slice is unique.
ToMap
ToMap transforms a slice to a map with slice items as map keys.
#
Structs
ErrorParam
ErrorParam data structure for an error param.
#
Interfaces
Number
Number interface of combined type of Int, UInt, and Float.
Time
Time interface of time type.
#
Type aliases
Float
Float interface of float types and float-derived types.
Int
Int interface of int types and int-derived types.
String
String interface of string type and string-derived types.
UInt
UInt interface of uint types and uint-derived types.