code: func New(f string) (*Strftime, error) {
  	var wl appenderList
  	if err := compile(&wl, f); err != nil {
  		return nil, errors.Wrap(err, `failed to compile format`)
  	}
  	return &Strftime{
  		pattern:  f,
  		compiled: wl,
  	}, nil
  }
docs: // New creates a new Strftime object. If the compilation fails, then
  // an error is returned in the second argument.