Documentation ¶
Index ¶
- func BytesToString(data []byte) string
- func CheckTypeByStringValue(val string, chkType string) bool
- func GenerateHashedPassword(pwd string) string
- func IsCustomType(t types.Type) bool
- func MapDbType(typeExpr ast.Expr, length string) (string, string)
- func ReadUserIP(r *http.Request) string
- func StringArrayContains(arr []string, str string) bool
- func ToBoolean(val string) bool
- func ToByte(val string) []byte
- func ToFloatVal32(val string) float32
- func ToFloatVal64(val string) float64
- func ToIntiger(val string) int
- func ToIntiger16(val string) int16
- func ToIntiger32(val string) int32
- func ToIntiger64(val string) int64
- func ToIntiger8(val string) int8
- func ToRune(val string) rune
- func ToUintiger(val string) uint
- func ToUintiger16(val string) uint16
- func ToUintiger32(val string) uint32
- func ToUintiger64(val string) uint64
- func ToUintiger8(val string) uint8
- func ToUintptr(val string) uintptr
- func VerifyHashedPassword(hash string, orgPwd string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
func CheckTypeByStringValue ¶
* helper functions using by base framework * @author: Vinaykant (vinaykantsahu@gmail.com)
func GenerateHashedPassword ¶
func IsCustomType ¶
func ReadUserIP ¶
func StringArrayContains ¶
func ToFloatVal32 ¶
func ToFloatVal64 ¶
func ToIntiger16 ¶
func ToIntiger32 ¶
func ToIntiger64 ¶
func ToIntiger8 ¶
func ToUintiger ¶
func ToUintiger16 ¶
func ToUintiger32 ¶
func ToUintiger64 ¶
func ToUintiger8 ¶
func VerifyHashedPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.