We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microgen's workflow should be stable (every time generate same output). So, microgen command maybe included to any CI, like protoc does.
microgen
protoc
To achieve this:
_mcg
_microgen
exchanges_mcg.go
exchanges.go
Also, it should fix #57 and #13
Second, microgen needs to improve project layout. After reading this article and looking at project layout standards repository, I propose to use this layout:
├── cmd │ └── user_service │ └── main.go ├── pb │ └── api.proto ├── service // Middleware in past. Should contain service realisations and closures (middlewares) │ ├── caching.go │ ├── caching.microgen.go │ ├── error_logging.microgen.go │ ├── logging.microgen.go │ ├── middleware.microgen.go │ └── recovering.microgen.go ├── transport // And may be some others in future, NATS or AMQP for example │ ├── grpc │ │ ├── client.microgen.go │ │ ├── protobuf_endpoint_converters.microgen.go │ │ ├── protobuf_type_converters.microgen.go │ │ └── server.microgen.go │ ├── http │ │ ├── client.microgen.go │ │ ├── converters.microgen.go │ │ └── server.microgen.go │ ├── client.microgen.go │ ├── endpoints.microgen.go │ ├── exchanges.microgen.go │ └── server.microgen.go ├── usersvc // Service domain types package and business logic │ ├── api.go │ └── user.go ├── vendor/ ├── Dockerfile ├── Gopkg.lock ├── Gopkg.toml ├── Makefile └── README.md
Need to add more tests for generator and generated code. Also, we may generate some tests. And add travis.ci.
Should fix #56
The text was updated successfully, but these errors were encountered:
vetcher
No branches or pull requests
Stability
Microgen's workflow should be stable (every time generate same output). So,
microgen
command maybe included to any CI, likeprotoc
does.To achieve this:
_mcg
or_microgen
to every file name, so files will beexchanges_mcg.go
instead ofexchanges.go
.Also, it should fix #57 and #13
Project structure
Second,
microgen
needs to improve project layout. After reading this article and looking at project layout standards repository, I propose to use this layout:Tests
Need to add more tests for generator and generated code.
Also, we may generate some tests.
And add travis.ci.
Should fix #56
The text was updated successfully, but these errors were encountered: