forked from golang/hotime
14 lines
228 B
Go
14 lines
228 B
Go
package util
|
|
|
|
const (
|
|
TimeLayout = "2006-01-02 15:04:05"
|
|
TimeLayout_2 = "20060102150405"
|
|
DateLayout = "2006-01-02"
|
|
NULL = ""
|
|
)
|
|
|
|
type File struct {
|
|
Name string `json:"name"`
|
|
Content []byte `json:"content"`
|
|
}
|