go语言 支不支持扩展方法 func (this *time.Time) GetTimeNow() string { return this.Now().Format("2006-01-02 15:04:05") }
试试 匿名结构体
这个好!