Documentation ¶
Index ¶
- func Base64ToImage(imageBase64 string) ([]byte, error)
- func BigIntToETHBigFloat(f *big.Int) *big.Float
- func BigIntToUsdtBigFloat(f *big.Int) *big.Float
- func ChangeFloat2Float(f string, m int) string
- func ChangeInt2Float(f string, m int) string
- func ChangeNumber(f float64, m int) string
- func CheckFloat(value string, decimal int) bool
- func CompareHashAndPassword(e string, p string) (bool, error)
- func Float2Int(f float64, decimal int) uint64
- func Float2String(value string, decimal int) string
- func GetDirFiles(dir string) ([]string, error)
- func GetGID() (n uint64, err error)
- func GetLocalNetDeviceNames() (names []string, err error)
- func GetOrderid() string
- func GetUUID() string
- func HexToBigInt(hex string) *big.Int
- func Hmac(data string) string
- func IdsStrToIdsIntGroup(keys string) []int
- func IsStringEmpty(str string) bool
- func RemoveRepByMap(slc []string) []string
- func Round(f float64, n int) float64
- func Struct2Map(obj interface{}) map[string]interface{}
- func SubByZero(str string) string
- func ToBigFloat(str string) *big.Float
- func ToHex(b []byte) string
- type ReplaceHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64ToImage ¶
func CompareHashAndPassword ¶
CompareHashAndPassword 比较hash
func GetDirFiles ¶
func GetLocalNetDeviceNames ¶
GetLocalNetDeviceNames 获取网卡名
func GetOrderid ¶
func GetOrderid() string
func HexToBigInt ¶
func IdsStrToIdsIntGroup ¶
func IsStringEmpty ¶
func ToBigFloat ¶
Types ¶
type ReplaceHelper ¶
func (*ReplaceHelper) DoWalk ¶
func (h *ReplaceHelper) DoWalk() error
Click to show internal directories.
Click to hide internal directories.