Documentation ¶
Overview ¶
Package password contains functions to help generate random passwords
Index ¶
- func ChanToSlice(ch interface{}) interface{}
- func ContainString(s []string, e string) bool
- func CreateFolder(folderName string)
- func FileExists(name string) (bool, error)
- func GeneratePassword(minLength int, maxLength int) string
- func IsAfterCurrentTime(t time.Time) bool
- func IsTimeEqualToday(t time.Time) bool
- func StreamToByte(stream io.Reader) []byte
- func StreamToString(stream io.Reader) string
- func WriteToken(token *oauth2.Token)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChanToSlice ¶
func ChanToSlice(ch interface{}) interface{}
func ContainString ¶
func FileExists ¶
func GeneratePassword ¶
Generate returns a newly generated password
func IsAfterCurrentTime ¶ added in v1.0.11
func IsTimeEqualToday ¶ added in v1.0.11
func StreamToByte ¶
func StreamToString ¶
func WriteToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.