1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-05-19 21:23:04 +02:00

18 lines
569 B
Go
Raw Normal View History

2021-08-30 16:48:57 +02:00
package template
// Module is the go.mod template used for new projects.
var Module = `module {{.Vendor}}{{.Service}}{{if .Client}}-client{{end}}
2021-08-30 16:48:57 +02:00
go 1.16
require (
github.com/asim/go-micro/v3 v3.5.2
)
// This can be removed once etcd becomes go gettable, version 3.4 and 3.5 is not,
// see https://github.com/etcd-io/etcd/issues/11154 and https://github.com/etcd-io/etcd/issues/11931.
replace google.golang.org/grpc => google.golang.org/grpc v1.26.0{{if .Vendor}}{{if not .Skaffold}}
replace {{.Vendor}}{{lower .Service}} => ../{{lower .Service}}{{end}}{{end}}
2021-08-30 16:48:57 +02:00
`