Documentation ¶
Index ¶
- func Add(a1, a2 int) int
- func DateFormat(date time.Time, layout string) string
- func Decrypt(ciphertext []byte, keystring string) ([]byte, error)
- func Encrypt(plaintext []byte, keystring string) ([]byte, error)
- func GetCurrentTime() time.Time
- func IsEven(number int) bool
- func IsOdd(number int) bool
- func ListTag() (tagstr 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 GetCurrentTime ¶
func PathExists ¶
func SendToMail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.