code: func (ns *Namespace) Format(layout string, v interface{}) (string, error) {
  	t, err := cast.ToTimeE(v)
  	if err != nil {
  		return "", err
  	}
  
  	return t.Format(layout), nil
  }
docs: // Format converts the textual representation of the datetime string into
  // the other form or returns it of the time.Time value. These are formatted
  // with the layout string