code: func getTime(v interface{}) time.Time {
  	sval, ok := v.(string)
  	if !ok {
  		return time.Time{}
  	}
  	t, err := time.Parse(time.RFC3339, sval)
  	if err != nil {
  		return time.Time{}
  	}
  	return t
  }
docs: // getTime converts json time to string