Skip to content

Commit

Permalink
chore: 添加 go mod tidy 命令以清理依赖项并更新文档格式
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Dec 2, 2024
1 parent 34c1ab3 commit 8978043
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ init: ## Init all dependencies
$(MAKE) install
$(MAKE) generate
buf dep update
go mod tidy

.PHONY: install
install: ## Install all dependencies
Expand Down
42 changes: 21 additions & 21 deletions doc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ Alternatively, you can import this project in go mod and implement your own busi

## Usage
```
Sphere build tool:
init Init all dependencies
install Install all dependencies
gen-proto Generate proto files and run protoc plugins
gen-docs Generate swagger docs
gen-ts Generate typescript client
gen-ent Generate ent code
gen-wire Generate wire code
gen-conf Generate example config
generate Run all generate command
dash Build dash
build Build binary
build-linux-amd Build linux amd64 binary
build-linux-arm Build linux arm64 binary
build-all Build all arch binary
build-docker Build docker image
deploy Deploy binary
lint Run linter
fmt Run formatter
help Show this help message
Sphere build tool. Usage: make [target]
init Init all dependencies
install Install all dependencies
gen-proto Generate proto files and run protoc plugins
gen-docs Generate swagger docs
gen-ts Generate typescript client
gen-ent Generate ent code
gen-wire Generate wire code
gen-conf Generate example config
generate Run all generate command
dash Build dash
build Build binary
build-linux-amd Build linux amd64 binary
build-linux-arm Build linux arm64 binary
build-all Build all arch binary
build-docker Build docker image
deploy Deploy binary
lint Run linter
fmt Run formatter
help Show this help message
```

## Project Structure
Expand Down

0 comments on commit 8978043

Please sign in to comment.