Skip to content

Commit af81a1b

Browse files
committed
fix: 无法展示
1 parent 3316fc5 commit af81a1b

File tree

3 files changed

+27
-114
lines changed

3 files changed

+27
-114
lines changed

database/init.db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"database/sql"
55
"path/filepath"
66

7-
_ "github.com/glebarez/go-sqlite"
7+
_ "modernc.org/sqlite"
88

99
"github.com/mereith/nav/logger"
1010
"github.com/mereith/nav/utils"

go.mod

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ go 1.19
55
require (
66
github.com/gin-contrib/gzip v0.0.5
77
github.com/gin-gonic/gin v1.7.7
8-
github.com/glebarez/go-sqlite v1.22.0
98
github.com/golang-jwt/jwt v3.2.2+incompatible
109
golang.org/x/net v0.19.0
10+
modernc.org/sqlite v1.28.0
1111

1212
)
1313

@@ -20,18 +20,26 @@ require (
2020
github.com/golang/protobuf v1.3.3 // indirect
2121
github.com/google/uuid v1.5.0 // indirect
2222
github.com/json-iterator/go v1.1.9 // indirect
23+
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
2324
github.com/leodido/go-urn v1.2.0 // indirect
2425
github.com/mattn/go-isatty v0.0.20 // indirect
2526
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
2627
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
2728
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
2829
github.com/ugorji/go/codec v1.1.7 // indirect
2930
golang.org/x/crypto v0.16.0 // indirect
31+
golang.org/x/mod v0.10.0 // indirect
3032
golang.org/x/sys v0.15.0 // indirect
3133
golang.org/x/text v0.14.0 // indirect
34+
golang.org/x/tools v0.9.3 // indirect
3235
gopkg.in/yaml.v2 v2.2.8 // indirect
36+
lukechampine.com/uint128 v1.2.0 // indirect
37+
modernc.org/cc/v3 v3.41.0 // indirect
38+
modernc.org/ccgo/v3 v3.16.15 // indirect
3339
modernc.org/libc v1.37.6 // indirect
3440
modernc.org/mathutil v1.6.0 // indirect
3541
modernc.org/memory v1.7.2 // indirect
36-
modernc.org/sqlite v1.28.0 // indirect
42+
modernc.org/opt v0.1.3 // indirect
43+
modernc.org/strutil v1.1.3 // indirect
44+
modernc.org/token v1.1.0 // indirect
3745
)

0 commit comments

Comments
 (0)