Skip to content

Commit

Permalink
fix: 无法展示
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Dec 14, 2024
1 parent 3316fc5 commit af81a1b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 114 deletions.
2 changes: 1 addition & 1 deletion database/init.db.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"database/sql"
"path/filepath"

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

"github.com/mereith/nav/logger"
"github.com/mereith/nav/utils"
Expand Down
12 changes: 10 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.19
require (
github.com/gin-contrib/gzip v0.0.5
github.com/gin-gonic/gin v1.7.7
github.com/glebarez/go-sqlite v1.22.0
github.com/golang-jwt/jwt v3.2.2+incompatible
golang.org/x/net v0.19.0
modernc.org/sqlite v1.28.0

)

Expand All @@ -20,18 +20,26 @@ require (
github.com/golang/protobuf v1.3.3 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/json-iterator/go v1.1.9 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/ugorji/go/codec v1.1.7 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.9.3 // indirect
gopkg.in/yaml.v2 v2.2.8 // indirect
lukechampine.com/uint128 v1.2.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/libc v1.37.6 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/sqlite v1.28.0 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/strutil v1.1.3 // indirect
modernc.org/token v1.1.0 // indirect
)
Loading

0 comments on commit af81a1b

Please sign in to comment.