Compare commits
No commits in common. "main" and "feature/init-go-module" have entirely different histories.
main
...
feature/in
4 changed files with 0 additions and 44 deletions
27
.gitignore
vendored
27
.gitignore
vendored
|
|
@ -1,27 +0,0 @@
|
||||||
# Binaries
|
|
||||||
*.exe
|
|
||||||
*.exe~
|
|
||||||
*.dll
|
|
||||||
*.so
|
|
||||||
*.dylib
|
|
||||||
|
|
||||||
# Test binary
|
|
||||||
*.test
|
|
||||||
|
|
||||||
# Output of the go coverage tool
|
|
||||||
*.out
|
|
||||||
|
|
||||||
# Dependency directories
|
|
||||||
vendor/
|
|
||||||
|
|
||||||
# Go build cache
|
|
||||||
$(GOPATH)/pkg/
|
|
||||||
|
|
||||||
# Build artifacts
|
|
||||||
build/
|
|
||||||
|
|
||||||
# IDE
|
|
||||||
.idea/
|
|
||||||
.vscode/
|
|
||||||
*.swp
|
|
||||||
*.swo
|
|
||||||
17
Makefile
17
Makefile
|
|
@ -1,17 +0,0 @@
|
||||||
.PHONY: build run test clean
|
|
||||||
|
|
||||||
APP_NAME := testbed2
|
|
||||||
BUILD_DIR := build
|
|
||||||
|
|
||||||
build:
|
|
||||||
go build -o $(BUILD_DIR)/$(APP_NAME) .
|
|
||||||
|
|
||||||
run: build
|
|
||||||
./$(BUILD_DIR)/$(APP_NAME)
|
|
||||||
|
|
||||||
test:
|
|
||||||
go test ./...
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(BUILD_DIR)
|
|
||||||
go clean -cache
|
|
||||||
Loading…
Reference in a new issue