// StrParseToTime return time of string
StrParseToTime return time of string
// StrParseToTime return time of string
func StrParseToTime(t string, location ...interface{}) (time.Time, error) {
	layout := "2006-01-02 15:04:05"
	if len(location) > 0 {
		local := time.Now().Location()
		return time.ParseInLocation(layout, t, local)
	}
	return time.Parse(layout, t)
}
func StrParseToTime ( t string , location ... interface { } ) ( time . Time , error ) { layout := " " if len ( location ) > 0 { local := time . Now ( ) . Location ( ) return time . ParseInLocation ( layout , t , local ) } return time . Parse ( layout , t ) }
StrParseToTime return time of string
StrParseToTime return time of string