Initial Commit
This commit is contained in:
commit
87a522daab
22 changed files with 1555 additions and 0 deletions
31
justfile
Normal file
31
justfile
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
# Set the shell
|
||||
set shell := ["bash", "-cu"]
|
||||
|
||||
# Build the Go project
|
||||
build:
|
||||
go build -o bin/app .
|
||||
|
||||
# Run the Go project
|
||||
run:
|
||||
go run .
|
||||
|
||||
# Run tests
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
# Clean build artifacts
|
||||
clean:
|
||||
rm -rf bin
|
||||
|
||||
# Format the code
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
# Tidy up go.mod/go.sum
|
||||
tidy:
|
||||
go mod tidy
|
||||
|
||||
# Init Go module (optional first step)
|
||||
init:
|
||||
go mod init
|
||||
Loading…
Add table
Add a link
Reference in a new issue