badger
badger copied to clipboard
`refactor(protobuf): [Breaking]` Use `google.golang.org/protobuf`
Problem
github.com/golang/protobufandhttps://github.com/gogo/protobufwere deprecated.XXX_DiscardUnknown,XXX_Marshal,XXX_Merge,XXX_Size,XXX_Unmarshalmethods for structs inbadgerpb4.pb.goare removed.
Solution
- Use
google.golang.org/protobuf/cmd/protoc-gen-goto generatebadgerpb4.pb.go - Add
Size,Marshal,MarshalTo,MarshalToSizedBuffer,Unmarshalmethods topb.KV,pb.DataKey, likeprotoc-gen-gogofasterdoes. - Replace the imports
Deploy Preview for badger-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 56a7f61068b85ee0925b8210ee6991576e20415f |
| Latest deploy log | https://app.netlify.com/sites/badger-docs/deploys/66082f888510dd000811d4f5 |
This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.
Still relevant