Categorygithub.com/go-ecosystem/utils/v2
module
2.3.0
Repository: https://github.com/go-ecosystem/utils.git
Documentation: pkg.go.dev

# README

utils

Go codecov Go Report Card Release

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
  • 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.

# Packages

No description provided by the author
No description provided by the author
Package crypto useful crypto functions Reference: https://medium.com/@jcox250/password-hash-salt-using-golang-b041dc94cb72.
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