This commit is contained in:
Michael Thomson 2025-02-05 16:27:10 -05:00
parent ffea4ddacd
commit 87f408efb5
No known key found for this signature in database
GPG Key ID: 8EFECCD347C72F7D
6 changed files with 20 additions and 0 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@ go.work.sum
.env
.direnv
tmp

7
cmd/main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, world")
}

View File

@ -31,6 +31,8 @@
# https://github.com/golangci/golangci-lint
golangci-lint
sqlite
];
};
});

2
go.mod
View File

@ -1,3 +1,5 @@
module gitea.michaelthomson.dev/mthomson/habits
go 1.22.9
require github.com/mattn/go-sqlite3 v1.14.24 // indirect

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/mattn/go-sqlite3 v1.14.24 h1:tpSp2G2KyMnnQu99ngJ47EIkWVmliIizyZBfPrBWDRM=
github.com/mattn/go-sqlite3 v1.14.24/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=

5
makefile Normal file
View File

@ -0,0 +1,5 @@
build:
go build -o tmp/main cmd/main.go
clean:
rm tmp/main