code: func (g *Generator) Add(obj interface{}) {
  	t := reflect.TypeOf(obj)
  	if t.Kind() == reflect.Ptr {
  		t = t.Elem()
  	}
  	g.addType(t)
  	g.marshalers[t] = true
  }
docs: // Add requests to generate marshaler/unmarshalers and encoding/decoding
  // funcs for the type of given object.