feat: use go:embed to embed templates (#1756)
This commit is contained in:
6
tools/goctl/rpc/generator/etc.tpl
Normal file
6
tools/goctl/rpc/generator/etc.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
Name: {{.serviceName}}.rpc
|
||||
ListenOn: 127.0.0.1:8080
|
||||
Etcd:
|
||||
Hosts:
|
||||
- 127.0.0.1:2379
|
||||
Key: {{.serviceName}}.rpc
|
||||
Reference in New Issue
Block a user