Documentation ¶
Index ¶
- Constants
- func BcyptHashStr(str string) (string, error)
- func FileLineCount(filepath string) (int, error)
- func GetFileLogger(path string) *log.Logger
- func GetenvDv(k string, dv interface{}) (interface{}, error)
- func MethodName(m interface{}) string
- func NumberToHumanSize(n float64) string
- func NumberToStrFast(n interface{}) string
- func ReadFile(path string) string
- func StrValidLuhnCreditCardNumber(str string) bool
- func WriteFile(path, msg string)
Constants ¶
View Source
const ( KB = 1 << (10 * iota) MB GB TB PG EB ZB YB )
Scope: Numbers
View Source
const (
Version = "1.2.2"
)
Variables ¶
This section is empty.
Functions ¶
func FileLineCount ¶
func NumberToHumanSize ¶
func NumberToStrFast ¶ added in v0.1.4
func NumberToStrFast(n interface{}) string
func StrValidLuhnCreditCardNumber ¶ added in v1.2.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.