type ServiceGeneratorV1 … func (ServiceGeneratorV1) ParamNames() []generate.GeneratorParam { … } func (ServiceGeneratorV1) Generate(params map[string]interface{ … } type ServiceGeneratorV2 … func (ServiceGeneratorV2) ParamNames() []generate.GeneratorParam { … } func (ServiceGeneratorV2) Generate(params map[string]interface{ … } func paramNames() []generate.GeneratorParam { … } func generateService(genericParams map[string]interface{ … }