code: func New(rs *resources.Spec, textTemplate tpl.TemplateParseFinder) *Client {
  	if rs == nil {
  		panic("must provice a resource Spec")
  	}
  	if textTemplate == nil {
  		panic("must provide a textTemplate")
  	}
  	return &Client{rs: rs, textTemplate: textTemplate}
  }
docs: // New creates a new Client with the given specification.