middlewares all now have the same signature
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-09-30 01:12:59 -07:00
parent 7bf1aee60f
commit 5526397247
5 changed files with 21 additions and 15 deletions

View File

@@ -35,27 +35,23 @@ lint:
golangci-lint run
sh -c 'test -z "$$(gofmt -l .)"'
debug: build
debug: ./$(FN)d
DEBUG=1 GOTRACEBACK=all ./$(FN)d
debugger:
cd cmd/$(FN)d && dlv debug main.go
run: build
run: ./$(FN)d
./$(FN)d
clean:
-rm -f ./$(FN)d debug.log
build: ./$(FN)d
docker:
docker build .
get:
cd cmd/$(FN)d && go get -v
./$(FN)d: */*.go cmd/*/*.go get
./$(FN)d: cmd/$(FN)d/main.go */*.go get
cd cmd/$(FN)d && go build -o ../../$(FN)d $(GOFLAGS) .
.PHONY: build fmt test is_uncommitted docker dist hub upload-docker-image clean run rundebug default build-docker-image-dist