Skip to content

Commit

Permalink
Showing 6 changed files with 16 additions and 15 deletions.
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<a name="v0.10.0"></a>
## [v0.10.0](https://github.com/GreenSpaceNASA/proto/compare/v0.9.0...v0.10.0)
## [v0.10.0](https://github.com/areugoh/proto/compare/v0.9.0...v0.10.0)

> 2023-11-01
@@ -16,7 +16,7 @@


<a name="v0.9.0"></a>
## [v0.9.0](https://github.com/GreenSpaceNASA/proto/compare/v0.8.0...v0.9.0)
## [v0.9.0](https://github.com/areugoh/proto/compare/v0.8.0...v0.9.0)

> 2023-10-28
@@ -26,7 +26,7 @@


<a name="v0.8.0"></a>
## [v0.8.0](https://github.com/GreenSpaceNASA/proto/compare/v0.7.0...v0.8.0)
## [v0.8.0](https://github.com/areugoh/proto/compare/v0.7.0...v0.8.0)

> 2023-10-28
@@ -40,7 +40,7 @@


<a name="v0.7.0"></a>
## [v0.7.0](https://github.com/GreenSpaceNASA/proto/compare/v0.6.0...v0.7.0)
## [v0.7.0](https://github.com/areugoh/proto/compare/v0.6.0...v0.7.0)

> 2023-10-28
@@ -50,7 +50,7 @@


<a name="v0.6.0"></a>
## [v0.6.0](https://github.com/GreenSpaceNASA/proto/compare/v0.5.0...v0.6.0)
## [v0.6.0](https://github.com/areugoh/proto/compare/v0.5.0...v0.6.0)

> 2023-10-28
@@ -60,7 +60,7 @@


<a name="v0.5.0"></a>
## [v0.5.0](https://github.com/GreenSpaceNASA/proto/compare/v0.4.0...v0.5.0)
## [v0.5.0](https://github.com/areugoh/proto/compare/v0.4.0...v0.5.0)

> 2023-10-28
@@ -71,7 +71,7 @@


<a name="v0.4.0"></a>
## [v0.4.0](https://github.com/GreenSpaceNASA/proto/compare/v0.3.1...v0.4.0)
## [v0.4.0](https://github.com/areugoh/proto/compare/v0.3.1...v0.4.0)

> 2023-10-28
@@ -85,7 +85,7 @@


<a name="v0.3.1"></a>
## [v0.3.1](https://github.com/GreenSpaceNASA/proto/compare/v0.3.0...v0.3.1)
## [v0.3.1](https://github.com/areugoh/proto/compare/v0.3.0...v0.3.1)

> 2023-10-28
@@ -95,7 +95,7 @@


<a name="v0.3.0"></a>
## [v0.3.0](https://github.com/GreenSpaceNASA/proto/compare/v0.2.0...v0.3.0)
## [v0.3.0](https://github.com/areugoh/proto/compare/v0.2.0...v0.3.0)

> 2023-10-28
@@ -111,7 +111,7 @@


<a name="v0.2.0"></a>
## [v0.2.0](https://github.com/GreenSpaceNASA/proto/compare/v0.1.0...v0.2.0)
## [v0.2.0](https://github.com/areugoh/proto/compare/v0.1.0...v0.2.0)

> 2023-10-27
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -96,13 +96,13 @@ proto/go:
@echo "Generating go client from proto..."
@rm -rf ${GEN_GO_DIR} && mkdir -p ${GEN_GO_DIR}
# Standard grpc client for go
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GO_OPTS} {}
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GO_OPTS} hoguera/platform/{}
# Generate mocks
@find gen/go -name '*.pb.go' -print0 | xargs -0 -I{} -P${CPUS} bash -c "f={}; $(BIN_DIR)/mockgen -source="'$$f'" -package=\`grep '^package' "'$$f'" | head -1 | cut -d' ' -f2\` -destination=\`dirname "'$$f'"\`/mock_\`basename "'$$f'"\`"
# GRPC Gateway for go
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GATEWAY_SPEC_OPT} {}
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GATEWAY_SPEC_OPT} hoguera/platform/{}
# REST -> GRPC gateway for go
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GRPC_GATEWAY_OPTS} {}
@find proto -name '*.proto' -print0 | xargs -0 -I{} -P${CPUS} protoc ${PROTOC_GRPC_GATEWAY_OPTS} hoguera/platform/{}
# Ensure can be build: mockgen can generate files with unused imports, so we run goimports to remove them
@find gen/go/ -name '*.pb.go' -print0 | xargs -0 -I{} -P${CPUS} $(BIN_DIR)/goimports -w {}

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/GreenSpaceNASA/proto
module github.com/areugoh/proto

go 1.21.3

1 change: 1 addition & 0 deletions hoguera/platform/proto
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/GreenSpaceNASA/client-go
module github.com/areugoh/client-go

go 1.21.3

0 comments on commit 6b73a82

Please sign in to comment.