protobuf/examples/go/go.mod
Damien Neil c8dfe32b5a
examples: update Go example (#7217)
Update the Go example to use Go modules: Move the example into a
directory containing a go.mod file, change the installation instructions
to use "go install".

Update the go_package option in addressbook.proto to an actual module path.

Update examples to use the google.golang.org/protobuf/proto module.
2021-10-21 13:27:40 -07:00

6 lines
108 B
Modula-2

module github.com/protocolbuffers/protobuf/examples/go
go 1.14
require google.golang.org/protobuf v1.27.1