# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
utils
go utils
Install
go get github.com/go-ecosystem/utils/v2
Packages
- array
- Contains
- HasDuplicateItem
- RemoveDuplicateElements
- Map
- convert
- StringToBytes
- BytesToString
- JSONToMap
- MapToJSON
- crypto
- EncryptPwd
- ComparePwd
- file
- Exists
- Exist
- Mode
- WriteStringToFile
- AppendStringToFile
- GetDirList
- GetDirListWithFilter
- RecreateDir
- GetFilepaths
- GetFiles
- flag
- IsTesting
- http
- ClientIP
- json
- ToString
- FromString
- ToMap
- Convert
- log
- E
- W
- H
- I
- V
- middleware
- interceptor
- Recovery
- Cors
- Recovery
- interceptor
- net
- GetIP
- os
- RunBashCommand
- RunCommand
- RunCommandWithStdin
- response
- UnknownError
- DBConnectError
- DBOperationError
- RequestParamError
- TokenInvalidError
- PermissionDeniedError
- JSON
- OK
- Err
- Abort
- strings
- Capitalize
- IsCapitalize
- SplitToChunks
- Rand
- IsNumber
- RemoveEmpties
- Remove
- version
- Stringify
- StringifyWithOps
Usage
see xxx_test.go file.