package
module
Version:
v0.0.0-...-876b447
Opens a new window with list of versions in this module.
Published: Nov 12, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-utils
some golang utils
Documentation
¶
BytesToString convert []byte to string
func CompareObj(v1, v2 interface{}) (result bool, err error)
CompareObj used to compare between v1 and v2.
If the bytes of them is same, return true.
func DeepCopy(v1, v2 interface{}) error
DeepCopy used to copy object v1 to v2
Round keep n bits decimals
stack returns a nicely formatted stack frame, skipping skip frames.
StringToBytes convert string to []byte
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.