Compare commits
9 commits
issue-6-ma
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 668ef72dd6 | |||
|
|
74452c80e8 | ||
| 10c6aecd3e | |||
|
|
a5ca86c023 | ||
|
|
c524d8c139 | ||
| e72ef6ae87 | |||
|
|
dc891ae1c4 | ||
|
|
5515215947 | ||
|
|
8191bcc224 |
7 changed files with 57 additions and 0 deletions
27
.gitignore
vendored
Normal file
27
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
# 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
Normal file
17
Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
.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
|
||||||
0
cmd/testbed2/.gitkeep
Normal file
0
cmd/testbed2/.gitkeep
Normal file
3
go.mod
Normal file
3
go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
module github.com/marmaduke/testbed2
|
||||||
|
|
||||||
|
go 1.24
|
||||||
0
internal/.gitkeep
Normal file
0
internal/.gitkeep
Normal file
3
main.go
Normal file
3
main.go
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
func main() {}
|
||||||
7
main_test.go
Normal file
7
main_test.go
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestModule(t *testing.T) {
|
||||||
|
// Basic test to verify module initialization
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue