Explorar o código

Add api version (#3536)

kesonan hai 1 ano
pai
achega
c4ef9ceb68
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tools/goctl/api/new/api.tpl

+ 2 - 0
tools/goctl/api/new/api.tpl

@@ -1,3 +1,5 @@
+syntax = "v1"
+
 type Request {
   Name string `path:"name,options=you|me"`
 }