diff --git a/sam/templates/http_.tpl b/sam/templates/http_.tpl index abc4b9ec1..9ebd47153 100644 --- a/sam/templates/http_.tpl +++ b/sam/templates/http_.tpl @@ -5,7 +5,8 @@ import ( ) {foreach $calls as $call} -func ({self} *{name}) {call.name|ucfirst}(r *{name|lcfirst}{call.name|ucfirst}Request) (interface{}, error) { +func (*{name}) {call.name|ucfirst}(r *{name|lcfirst}{call.name|ucfirst}Request) (interface{}, error) { return nil, errors.New("Not implemented: {name}.{call.name}") } + {/foreach}