This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package DateUtil
import "time"
/**
功能:获取当前的时间字符串
作者:黄海
时间:2020-01-20
*/
func GetCurrentTimeStr() string {
return time.Now().Format("20060102150405")
}