Skip to content

Commit b4c10fe

Browse files
committed
WIll fix format later
1 parent b9b0848 commit b4c10fe

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
NO_COLOR=\033[0m
22
OK_COLOR=\033[32;01m
33

4-
format:
5-
@echo "$(OK_COLOR)==> checking code formating with 'gofmt' tool$(NO_COLOR)"
6-
@gofmt -l -s cmd pkg | grep ".*\.go"; if [ "$$?" = "0" ]; then exit 1; fi
7-
84
vet:
95
@echo "$(OK_COLOR)==> checking code correctness with 'go vet' tool$(NO_COLOR)"
106
@go vet ./...
@@ -13,11 +9,11 @@ lint: tools.golint
139
@echo "$(OK_COLOR)==> checking code style with 'golint' tool$(NO_COLOR)"
1410
@go list ./... | xargs -n 1 golint -set_exit_status
1511

16-
test-integration: lint format vet
12+
test-integration: lint vet
1713
@echo "$(OK_COLOR)==> Running integration tests$(NO_COLOR)"
1814
@STORAGE_DSN=mongodb://localhost:27017/ BROKER_DSN=amqp://guest:guest@localhost:5672/ go run ./cmd/goengine/...
1915

20-
test-unit: lint format vet
16+
test-unit: lint vet
2117
@echo "$(OK_COLOR)==> Running unit tests$(NO_COLOR)"
2218
@ginkgo -r
2319

mock_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (e RecipeCreated) OccurredOn() time.Time {
2828

2929
type RecipeRated struct {
3030
occurredOn time.Time
31-
Rating int
31+
Rating int
3232
}
3333

3434
func (e RecipeRated) OccurredOn() time.Time {

0 commit comments

Comments
 (0)