From b76c7ae55d58e703b4bf789aed7749f19d7fa11b Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Mon, 1 Nov 2021 20:37:05 +0800 Subject: [PATCH] chore: remove semicolon for routes of services in api files (#1195) --- .gitignore | 3 +++ tools/goctl/api/new/newservice.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 985ce47c..ea6551f2 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,9 @@ **/.DS_Store **/logs +# for test purpose +adhoc + # gitlab ci .cache diff --git a/tools/goctl/api/new/newservice.go b/tools/goctl/api/new/newservice.go index e76b96e7..cc5fc1b3 100644 --- a/tools/goctl/api/new/newservice.go +++ b/tools/goctl/api/new/newservice.go @@ -24,7 +24,7 @@ type Response { service {{.name}}-api { @handler {{.handler}}Handler - get /from/:name(Request) returns (Response); + get /from/:name(Request) returns (Response) } `