Documentation
¶
Index ¶
- Constants
- func Date() string
- func GenerateRandNum() int
- func GenerateRangeNum(min, max int) int
- func Now() string
- func RandNumCrypto() string
- func RandNumMath() string
- func RandStringBytesMaskImpr(n int) string
- func Random(length int) string
- func ReadJSON(r *http.Request, obj interface{}) error
- func WriteJson(w http.ResponseWriter, v interface{}) error
- type Hook
Constants ¶
View Source
const ( DateFormat = "yyyy-MM-dd hh:mm:ss" TimeLayout = "2006-01-02 15:04:05" DateLayout = "2006-01-02" )
Variables ¶
This section is empty.
Functions ¶
func RandStringBytesMaskImpr ¶
func WriteJson ¶
func WriteJson(w http.ResponseWriter, v interface{}) error
Types ¶
Click to show internal directories.
Click to hide internal directories.