add signal handler for clean shutdown

This commit is contained in:
Ben McClelland
2023-06-25 10:29:14 -07:00
parent c4f5f958eb
commit 1d476c6d4d
5 changed files with 70 additions and 5 deletions
+3
View File
@@ -34,6 +34,9 @@ build: $(BIN)
$(BIN):
$(GOBUILD) $(LDFLAGS) -o $(BIN) cmd/$(BIN)/*.go
testbin:
$(GOBUILD) $(LDFLAGS) -o $(BIN) -cover -race cmd/$(BIN)/*.go
.PHONY: test
test:
$(GOTEST) ./...