Replace github.com/mattn/go-sqlite3 (CGO required) with modernc.org/sqlite (pure Go, works with CGO_ENABLED=0). Binary built with CGO_ENABLED=0 in Dockerfile can now load SQLite storage without cgo errors.
26 lines
778 B
AMPL
26 lines
778 B
AMPL
module ym-dl
|
|
|
|
go 1.27.2
|
|
|
|
require (
|
|
gitea.mrixs.me/Mrixs/yandex-music-api-go v0.0.0-20261014200451-02a6dabcfbea
|
|
github.com/bogem/id3v2 v1.2.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
modernc.org/sqlite v1.60.1
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.48.0 // indirect
|
|
golang.org/x/text v0.32.0 // indirect
|
|
google.golang.org/protobuf v1.36.12 // indirect
|
|
modernc.org/libc v1.77.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|