Skip to content

Commit 369edc1

Browse files
committed
Initial commit
1 parent bb550bf commit 369edc1

41 files changed

Lines changed: 2071 additions & 1068 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/daisyui.instructions.md

Lines changed: 1549 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ tmp
2828

2929
internal/server/assets/css/styles.css
3030
internal/server/assets/js/app.js
31+
32+
logs

.gofs/templates/db.tmpl

Lines changed: 0 additions & 69 deletions
This file was deleted.

.gofs/templates/sql.tmpl

Lines changed: 0 additions & 8 deletions
This file was deleted.

.gofs/templates/templates.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

.vscode/mcp.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"servers": {
3+
"context7": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"-y",
8+
"@upstash/context7-mcp@latest"
9+
]
10+
}
11+
}
12+
}

Makefile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ lint:
1010
@golangci-lint run
1111
.PHONY: lint
1212

13-
build:
14-
@go build cmd/server/main.go
15-
.PHONY: build
13+
vuln:
14+
@go tool govulncheck ./...
15+
.PHONY: vuln
1616

1717
test:
1818
@go test -v ./...
@@ -28,10 +28,3 @@ dbdown:
2828
@docker compose -f docker/docker-compose.yml down
2929
.PHONY: dbdown
3030

31-
gendata: dbdown dbup
32-
@go test -v -tags=gendata -count=1 ./...
33-
.PHONY: gendata
34-
35-
codegen:
36-
@go generate ./...
37-
.PHONY: gencode

cmd/server/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"syscall"
1111
"time"
1212

13-
"github.com/gofs-cli/azure-app-template/internal/config"
14-
"github.com/gofs-cli/azure-app-template/internal/server"
13+
"github.com/gofs-cli/fs-app-template/internal/config"
14+
"github.com/gofs-cli/fs-app-template/internal/server"
1515
)
1616

1717
func main() {

folder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ import "embed"
55
//go:embed all:*
66
var Folder embed.FS
77

8-
var ModuleName = "github.com/gofs-cli/azure-app-template"
8+
var ModuleName = "github.com/gofs-cli/fs-app-template"

go.mod

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module github.com/gofs-cli/azure-app-template
1+
module github.com/gofs-cli/fs-app-template
22

3-
go 1.24.1
3+
go 1.25.0
44

55
require (
66
github.com/a-h/templ v0.3.865
@@ -9,39 +9,40 @@ require (
99
)
1010

1111
require (
12-
dario.cat/mergo v1.0.1 // indirect
12+
dario.cat/mergo v1.0.2 // indirect
1313
github.com/a-h/parse v0.0.0-20250122154542-74294addb73e // indirect
14-
github.com/air-verse/air v1.61.7 // indirect
14+
github.com/air-verse/air v1.62.0 // indirect
1515
github.com/andybalholm/brotli v1.1.0 // indirect
16-
github.com/bep/godartsass v1.2.0 // indirect
17-
github.com/bep/godartsass/v2 v2.1.0 // indirect
16+
github.com/bep/godartsass/v2 v2.5.0 // indirect
1817
github.com/bep/golibsass v1.2.0 // indirect
1918
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
2019
github.com/cli/browser v1.3.0 // indirect
21-
github.com/cli/safeexec v1.0.1 // indirect
22-
github.com/creack/pty v1.1.23 // indirect
23-
github.com/fatih/color v1.17.0 // indirect
24-
github.com/fsnotify/fsnotify v1.7.0 // indirect
20+
github.com/creack/pty v1.1.24 // indirect
21+
github.com/fatih/color v1.18.0 // indirect
22+
github.com/fsnotify/fsnotify v1.9.0 // indirect
2523
github.com/gobwas/glob v0.2.3 // indirect
26-
github.com/gohugoio/hugo v0.134.3 // indirect
27-
github.com/mattn/go-colorable v0.1.13 // indirect
24+
github.com/gohugoio/hugo v0.147.6 // indirect
25+
github.com/mattn/go-colorable v0.1.14 // indirect
2826
github.com/mattn/go-isatty v0.0.20 // indirect
2927
github.com/natefinch/atomic v1.0.1 // indirect
3028
github.com/pelletier/go-toml v1.9.5 // indirect
31-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
32-
github.com/spf13/afero v1.11.0 // indirect
33-
github.com/spf13/cast v1.7.0 // indirect
34-
github.com/tdewolff/parse/v2 v2.7.15 // indirect
29+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
30+
github.com/spf13/afero v1.14.0 // indirect
31+
github.com/spf13/cast v1.8.0 // indirect
32+
github.com/tdewolff/parse/v2 v2.8.1 // indirect
3533
golang.org/x/mod v0.24.0 // indirect
36-
golang.org/x/net v0.39.0 // indirect
37-
golang.org/x/sync v0.13.0 // indirect
38-
golang.org/x/sys v0.32.0 // indirect
39-
golang.org/x/text v0.24.0 // indirect
40-
golang.org/x/tools v0.32.0 // indirect
41-
google.golang.org/protobuf v1.34.2 // indirect
34+
golang.org/x/net v0.40.0 // indirect
35+
golang.org/x/sync v0.14.0 // indirect
36+
golang.org/x/sys v0.33.0 // indirect
37+
golang.org/x/telemetry v0.0.0-20240522233618-39ace7a40ae7 // indirect
38+
golang.org/x/text v0.25.0 // indirect
39+
golang.org/x/tools v0.33.0 // indirect
40+
golang.org/x/vuln v1.1.4 // indirect
41+
google.golang.org/protobuf v1.36.6 // indirect
4242
)
4343

4444
tool (
4545
github.com/a-h/templ/cmd/templ
4646
github.com/air-verse/air
47+
golang.org/x/vuln/cmd/govulncheck
4748
)

0 commit comments

Comments
 (0)