forked from douyu/jupiter-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove controller to be kiss (douyu#62)
- Loading branch information
Showing
45 changed files
with
2,488 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,18 @@ | |
.PHONY: init | ||
# install tools | ||
init: | ||
go install github.com/douyu/jupiter/cmd/[email protected] | ||
go install github.com/google/wire/cmd/[email protected] | ||
go install github.com/vektra/mockery/[email protected] | ||
go install gorm.io/gen/tools/[email protected] | ||
go install github.com/bufbuild/buf/cmd/[email protected] | ||
go install github.com/bufbuild/buf/cmd/buf | ||
go install github.com/douyu/jupiter/cmd/jupiter | ||
go install github.com/douyu/jupiter/cmd/protoc-gen-go-echo | ||
go install github.com/douyu/jupiter/cmd/protoc-gen-go-gin | ||
go install github.com/google/wire/cmd/wire | ||
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 | ||
go install github.com/onsi/ginkgo/v2/ginkgo | ||
go install github.com/srikrsna/protoc-gen-gotag | ||
go install github.com/vektra/mockery/v2 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go | ||
go install gorm.io/gen/tools/gentool | ||
|
||
.PHONY: generate | ||
# generate code | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: v1 | ||
|
||
plugins: | ||
- name: gotag | ||
out: . | ||
opt: | ||
- paths=source_relative | ||
- auto=json+form+query-as-camel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 | ||
deps: | ||
- remote: buf.build | ||
owner: googleapis | ||
repository: googleapis | ||
commit: 75b4300737fb4efca0831636be94e517 | ||
- remote: buf.build | ||
owner: grpc-ecosystem | ||
repository: grpc-gateway | ||
commit: a1ecdc58eccd49aa8bea2a7a9022dc27 | ||
- remote: buf.build | ||
owner: srikrsna | ||
repository: protoc-gen-gotag | ||
commit: 7a85d3ad2e7642c198480e92bf730c14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.