Skip to content

Commit

Permalink
style(gomall):lint
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyutang committed Jan 4, 2024
1 parent b5f7206 commit 7b86856
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions gomall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ tidy: ## run `go mod tidy` for all go module
.PHONY: lint
lint: ## run `gofmt` for all go module
@gofmt -l -w app
@gofumpt -l -w app

.PHONY: vet
vet: ## run `go vet` for all go module
Expand Down
1 change: 0 additions & 1 deletion gomall/app/cart/biz/service/add_item_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestAddItem_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/cart/biz/service/empty_cart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestEmptyCart_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/cart/biz/service/get_cart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestGetCart_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/checkout/biz/service/checkout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestCheckout_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/order/biz/service/list_order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestListOrder_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/order/biz/service/place_order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestPlaceOrder_Run(t *testing.T) {

}
1 change: 0 additions & 1 deletion gomall/app/payment/biz/service/charge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ import (
)

func TestCharge_Run(t *testing.T) {

}

0 comments on commit 7b86856

Please sign in to comment.