Skip to content

Commit ca33ba4

Browse files
authored
Use vanity import package name go.temporal.io/server (#511)
1 parent 16f23cb commit ca33ba4

File tree

633 files changed

+4443
-4393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

633 files changed

+4443
-4393
lines changed

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ all: update-tools clean proto bins check test
1212
clean: clean-bins clean-test-results
1313

1414
# Recompile proto files.
15-
proto: clean-proto install-proto-submodule protoc fix-proto-path proto-mock
15+
proto: clean-proto install-proto-submodule protoc fix-proto-path proto-mock goimports-proto
1616

1717
# Update proto submodule from remote and recompile proto files.
18-
update-proto: clean-proto update-proto-submodule protoc fix-proto-path update-proto-go proto-mock gomodtidy
18+
update-proto: clean-proto update-proto-submodule protoc fix-proto-path update-proto-go proto-mock goimports-proto gomodtidy
1919

2020
# Build all docker images.
2121
docker-images:
@@ -43,7 +43,7 @@ endif
4343
GOBIN := $(if $(shell go env GOBIN),$(shell go env GOBIN),$(GOPATH)/bin)
4444
export PATH := $(GOBIN):$(PATH)
4545

46-
MODULE_ROOT := github.com/temporalio/temporal
46+
MODULE_ROOT := go.temporal.io/server
4747
BUILD := ./build
4848
COLOR := "\e[1;36m%s\e[0m\n"
4949

@@ -164,6 +164,10 @@ update-proto-go:
164164
@printf $(COLOR) "Update go.temporal.io/temporal-proto..."
165165
@go get -u go.temporal.io/temporal-proto
166166

167+
goimports-proto:
168+
@printf $(COLOR) "Run goimports..."
169+
@goimports -w $(PROTO_OUT)
170+
167171
##### Binaries #####
168172
clean-bins:
169173
@printf $(COLOR) "Delete old binaries..."
@@ -371,6 +375,7 @@ start-cdc-other: temporal-server
371375
go-generate:
372376
@printf $(COLOR) "Regenerate everything..."
373377
@go generate ./...
378+
@goimports -w $(ALL_SRC)
374379

375380
gomodtidy:
376381
@printf $(COLOR) "go mod tidy..."

api/adminservice/v1/request_response.pb.go

Lines changed: 131 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/adminservice/v1/service.pb.go

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/adminservicemock/v1/service.pb.mock.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)