mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
All checks were successful
continuous-integration/drone/push Build is passing
* X-User-ID header is processed to get user ID. * Time of last request for a user is saved into DB. * Time of last upload and download is stored for a user. * Added DB migration to add columns into users table to store the times and app version. * Backward fix of datatype of the deadline column in features table. * Switched from crawshaw.io/sqlite to zombiezen.com/go/sqlite. * Refactored DB handling. * Used migration routine from zombiezen in favour of manual one. * Runtime DB reinit simply deletes the db file and initializes the db anew. Fix #6
54 lines
2.0 KiB
Modula-2
54 lines
2.0 KiB
Modula-2
module cernobor.cz/oko-server
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/consbio/mbtileserver v0.9.0
|
|
github.com/gin-gonic/gin v1.9.1
|
|
github.com/paulmach/go.geojson v1.4.0
|
|
github.com/sirupsen/logrus v1.9.3
|
|
zombiezen.com/go/sqlite v0.13.0
|
|
)
|
|
|
|
require (
|
|
crawshaw.io/sqlite v0.3.3-0.20211227050848-2cdb5c1a86a1 // indirect
|
|
github.com/bytedance/sonic v1.9.1 // indirect
|
|
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
golang.org/x/arch v0.3.0 // indirect
|
|
golang.org/x/net v0.10.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.24.1 // indirect
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
modernc.org/memory v1.6.0 // indirect
|
|
modernc.org/sqlite v1.23.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/brendan-ward/mbtiles-go v0.1.1-0.20220830154734-a6cb9b848bab // indirect
|
|
github.com/coreos/go-semver v0.3.1
|
|
github.com/gin-contrib/sse v0.1.0 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.14.1 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/leodido/go-urn v1.2.4 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/mssola/user_agent v0.6.0
|
|
github.com/ugorji/go/codec v1.2.11 // indirect
|
|
golang.org/x/crypto v0.9.0 // indirect
|
|
golang.org/x/image v0.7.0
|
|
golang.org/x/sys v0.8.0 // indirect
|
|
golang.org/x/text v0.9.0 // indirect
|
|
google.golang.org/protobuf v1.30.0 // indirect
|
|
)
|