proteus
proteus copied to clipboard
Generate .proto files from Go source code.
Don't work under Windows! ``` C:\goworkspace\models>proteus proto -f C:\test -p gitlink/models --verbose mkdir C:\test\C:: Error.... ``` other test ``` C:\goworkspace\models>proteus proto -f /test -p gitlink/models --verbose mkdir \test\C:: Error.... ```
Hey All, This issue confirmed that src-d is out of business and this repo and tool is no longer maintained here. https://github.com/src-d/proteus/issues/113 If @marnovo could update the description or readme...
``` error scanning package "git.byted.org/ee/byteview/svc/core/model": /Users/xxx/go/src/git.byted.org/ee/byteview/svc/core/model/model.go:3:8: could not import time (/Users/xxx/go/gosdk/go1.14/src/time/format.go:7:8: could not import errors (/Users/xxx/go/gosdk/go1.14/src/errors/wrap.go:8:2: could not import internal/reflectlite(/Users/xxx/go/gosdk/go1.14/src/internal/reflectlite/value.go:8:2: could not import runtime (/Users/xxx/go/gosdk/go1.14/src/runtime/atomic_pointer.go:8:2: could not import runtime/internal/atomic (/Users/xxx/go/gosdk/go1.14/src/runtime/internal/atomic/atomic_amd64.go:23:28:...
1、Fix urfave cli dependency 2、Init go mod
hello, when I run my app, the follow error is returning: JPFARIA-MacBook-Pro:server jpfaria$ go run main.go # gitlab.b2w/joao.faria/knativegrpcexample ../generated.pb.go:288:6: m.XXX_unrecognized undefined (type *User has no field or method XXX_unrecognized) ../generated.pb.go:289:24:...
Now you can specify the ID of the peoto file in the following way: ```golang type Example struct { Filed int32 \`proteus:",101"\` } ``` This example will generate the following...
https://github.com/src-d/proteus/blob/master/ARCHITECTURE.md#protobuf-transformer: > Even though the step is transforming, it's inside the protobuf package to note that it's transforming the scanner.Package into a protobuf package. Either you meant to say "it's...
Hello, I've got an issue with theb generated protobuf. My function signature is ```FindApp(ctx context.Context, criteria map[string][]string) ([]App, error)``` The generated rpc parameter is ``` message appservice_FindAppRequest { map arg1...
I'm getting an error when I run proteus on a very basic example package. ```bash [aoneill@foolxps blah]$ proteus proto -f $HOME/src/aponeill.com/blah/blahpb -p aponeill.com/blah error scanning package "aponeill.com/blah": /home/aoneill/src/aponeill.com/blah/blah.go:3:8: could not...