utils

package
v0.0.0-...-11559a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePwd

func ComparePwd(str string, pwd string) bool

func GenPwd

func GenPwd(str string) string

func InterfaceIsNil

func InterfaceIsNil(i interface{}) bool

func Json2Struct

func Json2Struct(str string, obj interface{})

func JsonWithSort

func JsonWithSort(str string) string

func Str2Float64

func Str2Float64(str string) float64

func Str2Int

func Str2Int(str string) int

func Str2Int64

func Str2Int64(str string) int64

func Str2Time

func Str2Time(str string) time.Time

func Struct2Json

func Struct2Json(obj interface{}) string

func Struct2StructByJson

func Struct2StructByJson(struct1 interface{}, struct2 interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL