Documentation ¶
Index ¶
- func BcryptHash(password []byte) []byte
- func Bool(i bool) *bool
- func CheckErr(err error)
- func Duration(i time.Duration) *time.Duration
- func ExitIfError(msg string, err error)
- func GetBufferSize(fileSize int64) int
- func GetFileChecksum(file *os.File) string
- func GetFileSize(file *os.File) int64
- func GetUserInput(label string) string
- func GetUserPasswordInput() string
- func Int(i int) *int
- func Int64(i int64) *int64
- func IsFileExist(filename string) bool
- func Md5Pass(password string) []byte
- func Md5sum(password []byte) []byte
- func MustGetBool(flags *pflag.FlagSet, flag string) bool
- func MustGetString(flags *pflag.FlagSet, flag string) string
- func MustGetUint(flags *pflag.FlagSet, flag string) uint
- func Reverse(str string) []byte
- func String(i string) *string
- func Strings(ss []string) []*string
- type StrSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BcryptHash ¶
func ExitIfError ¶
func GetBufferSize ¶
func GetFileChecksum ¶
func GetFileSize ¶
func GetUserInput ¶
func GetUserPasswordInput ¶
func GetUserPasswordInput() string
func IsFileExist ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.