Skip to content

Commit

Permalink
Add google protoc plugin generated golang struct support (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin authored Oct 1, 2020
1 parent 3976418 commit b5049b0
Show file tree
Hide file tree
Showing 7 changed files with 550 additions and 40 deletions.
2 changes: 2 additions & 0 deletions converter/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ var (
ErrValueDoesntImplementProtoMessage = errors.New("value doesn't implement proto.Message")
// ErrValueDoesntImplementProtoUnmarshaler is returned when value doesn't implement proto.Unmarshaler.
ErrValueDoesntImplementProtoUnmarshaler = errors.New("value doesn't implement proto.Unmarshaler")
// ErrValueIsNotPointer is returned when value is not a pointer.
ErrValueIsNotPointer = errors.New("value is not a pointer")
)
355 changes: 355 additions & 0 deletions converter/google_generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b5049b0

Please sign in to comment.