package
0.0.0-20240826130954-40fd50bc6bd8
Repository: https://github.com/zhao520a1a/go-utils.git
Documentation: pkg.go.dev
# Functions
ByteSet converts []Byte to map[Byte]interface{}, with all values equal to struct{}{}, to simulate a Set.
Float64Set converts []Float64 to map[Float64]interface{}, with all values equal to struct{}{}, to simulate a Set.
No description provided by the author
Int64Set converts []Int64 to map[Int64]interface{}, with all values equal to struct{}{}, to simulate a Set.
InterfaceSet converts []Interface to map[Interface]interface{}, with all values equal to struct{}{}, to simulate a Set.
IntSet converts []Int to map[Int]interface{}, with all values equal to struct{}{}, to simulate a Set.
JSON converts the object to a valid JSON string.
LogString converts the object to a valid JSON string or string.
No description provided by the author
String converts the object to a string.
StringSet converts []String to map[String]interface{}, with all values equal to struct{}{}, to simulate a Set.
timestamp to string default format:2006-01-02 15:04:05.
TSet converts []T to map[T]interface{}, with all values equal to struct{}{}, to simulate a Set.