Documentation ¶
Index ¶
- func Add(a1, a2 int) int
- func DateFormat(date time.Time, layout string) string
- func Decrypt(ciphertext, key []byte) ([]byte, error)
- func Encrypt(plaintext, key []byte) ([]byte, error)
- func GetCurrentDirectory() string
- func GetCurrentTime() time.Time
- func IsEven(number int) bool
- func IsOdd(number int) bool
- func Len(s string) int
- func ListTag() string
- func Md5(source string) string
- func Minus(a1, a2 int) int
- func PathExists(path string) (bool, error)
- func SendToMail(user, password, host, to, subject, body, mailType string) error
- func Substring(source string, start, end int) string
- func Truncate(s string, n int) string
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDirectory ¶ added in v0.0.2
func GetCurrentDirectory() string
func GetCurrentTime ¶
func PathExists ¶
func SendToMail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.