You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
228 B
14 lines
228 B
5 months ago
|
package utils
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
const (
|
||
|
DateTimeFormat string = "2006-01-02 15:04:05"
|
||
|
DateTimeFormat2 string = "2006-01-02 15:04"
|
||
|
DateFormat string = "2006-01-02"
|
||
|
)
|
||
|
|
||
|
func GetCurrentTime() time.Time {
|
||
|
return time.Now()
|
||
|
}
|