utils

module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2021 License: MIT

README

utils

Go codecov Go Report Card Release

go utils

Install

go get github.com/go-ecosystem/utils

Packages

  • array
    • ContainString
    • HasDuplicateItem
  • convert
    • StringToBytes
    • BytesToString
    • JSONToMap
    • MapToJSON
  • crypto
    • EncryptPwd
    • ComparePwd
  • file
    • Exists
    • Exist
    • Mode
    • WriteStringToFile
    • AppendStringToFile
    • GetDirList
    • GetDirListWithFilter
    • RecreateDir
    • GetFilepaths
    • GetFiles
  • flag
    • IsTesting
  • log
    • E
    • W
    • H
    • I
    • V
  • net
    • GetIP
  • os
    • RunBashCommand
    • RunCommand
    • RunCommandWithStdin
  • response
    • UnknownError
    • DBConnectError
    • DBOperationError
    • RequestParamError
    • TokenInvalidError
    • PermissionDeniedError
    • JSON
    • OK
    • Err
    • Abort
  • strings
    • Capitalize
    • IsCapitalize
    • SplitToChunks
    • Rand
  • version
    • Stringify
    • StringifyWithOps

Usage

see xxx_test.go file.

Directories

Path Synopsis
Package crypto useful crypto functions Reference: https://medium.com/@jcox250/password-hash-salt-using-golang-b041dc94cb72
Package crypto useful crypto functions Reference: https://medium.com/@jcox250/password-hash-salt-using-golang-b041dc94cb72

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL