utrack / clay

Proto-first minimal server platform for gRPС+REST+Swagger APIs
MIT License
289 stars 39 forks source link

[LIBS-177] up gogoproto #55

Closed eaglemoor closed 5 years ago

doroginin commented 5 years ago

Ok, let's start from the very beginning, now we have tests:

go_package_rel - rel import path, proto near pb.go go_package_rel_gopath - full import path, proto near pg.go go_package_rel_gopath_with_alias - full import path with alias go_package_rel_proto_in_root - rel import path, proto near pb.go go_package_rel_proto_standalone - rel import path, proto standalone go_package_rel_with_alias - rel import path with alias, proto near pg.go

Because of rel import path is deprecated, we need remove all test with rel import path, and implement tests with full import path and without import path:

go_package - full import path, proto file near pb.go go_package_alias - without import path, just alias, proto file near pb.go go_package_with_alias - full import path with alias, proto file near pb.go

go_package_proto_in_root - full import path, proto file in root go_package_alias_proto_in_root - without import path, just alias, proto file in root go_package_with_alias_proto_in_root - full import path with alias, proto file in root

go_package_proto_standalone - full import path, proto file standalone go_package_alias_proto_standalone - without import path, just alias, proto file standalone go_package_with_alias_proto_standalone - full import path with alias, proto file standalone