Documentation ¶
Index ¶
- func AddHex(s string) string
- func BytesToBnHex(value []byte) string
- func BytesToHex(b []byte) string
- func Debug(i interface{})
- func GetEnumValue(e map[string]interface{}) (string, interface{}, error)
- func HexToBytes(s string) []byte
- func IntInSlice(a int, list []int) bool
- func IntToHex(i interface{}) string
- func IsASCII(b []byte) bool
- func IsNil(a interface{}) bool
- func ReverseBytes(a []byte) []byte
- func SliceIndex(a string, list []string) int
- func StringToInt(s string) int
- func ToString(i interface{}) string
- func TrimHex(s string) string
- func TrueOrElse(expect bool, a, b string) string
- func U256(v string) *big.Int
- func U8Encode(i int) string
- func UniqueSlice(s []string) (list []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToBnHex ¶ added in v0.7.5
func BytesToHex ¶
func GetEnumValue ¶ added in v1.3.3
GetEnumValue get enum single key && value
func HexToBytes ¶
func IntInSlice ¶
func ReverseBytes ¶
func SliceIndex ¶ added in v1.0.11
func StringToInt ¶
func TrueOrElse ¶ added in v1.1.44
func UniqueSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.