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 CheckExist(src string) (bool, error)
- func CheckFloat(value string, decimal int) bool
- func CheckPermission(src string) (bool, error)
- func CompareHashAndPassword(e string, p string) (bool, error)
- func Decode(b string) []byte
- func Encode(b []byte) string
- func FileCreate(content bytes.Buffer, name string) (err error)
- func FileRemove(name string) (err error)
- func FileZip(dst, src string, notContPath string) (err error)
- func Float2Int(f float64, decimal int) uint64
- func Float2String(value string, decimal int) string
- func GetCurrentPath() string
- func GetDirFiles(dir string) ([]string, error)
- func GetExt(fileName string) string
- func GetGID() (n uint64, err error)
- func GetLocalNetDeviceNames() (names []string, err error)
- func GetOrderid() string
- func GetSize(f multipart.File) (int, error)
- func GetUUID() string
- func HexToBigInt(hex string) *big.Int
- func Hmac(data string) string
- func IdsStrToIdsIntGroup(keys string) []int
- func IsNotExistMkDir(src string) error
- func IsStringEmpty(str string) bool
- func MkDir(src string) error
- func Open(name string, flag int, perm os.FileMode) (*os.File, error)
- func PathCreate(dir string) error
- func PathExists(path string) (bool, error)
- func PathRemove(name string) (err error)
- 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
- func TrxBase58AddressToHex(b58Address string) string
- func TrxHexAddressToBase58(hexAddress string) string
- func ValiedParam(params []string) bool
- type ReplaceHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64ToImage ¶
func CompareHashAndPassword ¶
CompareHashAndPassword 比较hash
func FileRemove ¶
func GetDirFiles ¶
func GetLocalNetDeviceNames ¶
GetLocalNetDeviceNames 获取网卡名
func GetOrderid ¶
func GetOrderid() string
func HexToBigInt ¶
func IdsStrToIdsIntGroup ¶
func IsStringEmpty ¶
func PathCreate ¶
func PathExists ¶
func PathRemove ¶
func ToBigFloat ¶
func TrxBase58AddressToHex ¶
func TrxHexAddressToBase58 ¶
Types ¶
type ReplaceHelper ¶
func (*ReplaceHelper) DoWrok ¶
func (h *ReplaceHelper) DoWrok() error
Click to show internal directories.
Click to hide internal directories.