File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11NO_COLOR =\033[0m
22OK_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-
84vet :
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
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func (e RecipeCreated) OccurredOn() time.Time {
2828
2929type RecipeRated struct {
3030 occurredOn time.Time
31- Rating int
31+ Rating int
3232}
3333
3434func (e RecipeRated ) OccurredOn () time.Time {
You can’t perform that action at this time.
0 commit comments