mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-16 14:27:01 +00:00
Update protobuf library to v2
There is a new protobuf library (and corresponding code generator) for Go: google.golang.org/protobuf. It is fairly compatible with the previous v1 API (github.com/golang/protobuf), but there are some changes. This patch adjusts the code and generated files to the new API. The on-wire/on-disk format remains unchanged so this should be transparent to the users.
This commit is contained in:
3
go.mod
3
go.mod
@@ -7,9 +7,10 @@ require (
|
||||
blitiri.com.ar/go/spf v0.0.0-20191018194539-a683815bdae8
|
||||
blitiri.com.ar/go/systemd v0.0.0-20171003041308-cdc4fd023aa4
|
||||
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
|
||||
github.com/golang/protobuf v1.3.5
|
||||
github.com/golang/protobuf v1.4.0
|
||||
golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59
|
||||
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e
|
||||
golang.org/x/text v0.3.2
|
||||
google.golang.org/protobuf v1.23.0
|
||||
gopkg.in/yaml.v2 v2.2.4 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user