From e4c31f7bfa184ab40dc6a474ef6dc747a431f143 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Thu, 5 Jul 2018 10:28:58 +0200 Subject: [PATCH] add some spacing, don't use base object receiver --- sam/templates/http_.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}