feat: replace air with templ hot reload
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 4m3s
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 4m3s
This commit is contained in:
15
.air.toml
15
.air.toml
@@ -1,15 +0,0 @@
|
||||
root = "."
|
||||
tmp_dir = "tmp"
|
||||
|
||||
[build]
|
||||
bin = "./tmp/main"
|
||||
cmd = "templ generate && go build -o ./tmp/main ."
|
||||
exclude_dir = ["static", "migrations", "node_modules", "tmp"]
|
||||
exclude_regex = ["_test.go", "_templ.go"]
|
||||
include_ext = ["go", "templ"]
|
||||
send_interrupt = true
|
||||
kill_delay = "5s"
|
||||
stop_on_error = true
|
||||
|
||||
[misc]
|
||||
clean_on_exit = true
|
||||
@@ -4,9 +4,8 @@ import (
|
||||
"spend-sparrow/log"
|
||||
"spend-sparrow/types"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/jmoiron/sqlx"
|
||||
)
|
||||
|
||||
type Account interface {
|
||||
|
||||
Reference in New Issue
Block a user