Skip to content

Commit 6542f2a

Browse files
Release v0.2.1
2 parents aadacaa + e0eeac7 commit 6542f2a

File tree

4 files changed

+326
-22
lines changed

4 files changed

+326
-22
lines changed

database/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func buildLogger() gormLogger.Interface {
6161
var logLevel gormLogger.LogLevel
6262
var logWriter io.Writer
6363
if c.SpotifeteConfiguration.ReleaseMode {
64-
logLevel = gormLogger.Warn
64+
logLevel = gormLogger.Error
6565
logWriter = io.MultiWriter(logging.OpenLogFile("gorm.log"), os.Stderr)
6666
} else {
6767
logLevel = gormLogger.Info

go.mod

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,38 @@ go 1.16
55
require (
66
github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3 // indirect
77
github.com/containerd/containerd v1.5.0-beta.1 // indirect
8-
github.com/getsentry/sentry-go v0.10.0
8+
github.com/coreos/bbolt v1.3.2 // indirect
9+
github.com/coreos/etcd v3.3.13+incompatible // indirect
10+
github.com/fsnotify/fsnotify v1.5.1 // indirect
11+
github.com/getsentry/sentry-go v0.11.0
912
github.com/gin-contrib/cors v1.3.1
10-
github.com/gin-gonic/gin v1.6.3
11-
github.com/go-playground/validator/v10 v10.4.1 // indirect
13+
github.com/gin-gonic/gin v1.7.4
14+
github.com/go-playground/validator/v10 v10.9.0 // indirect
1215
github.com/golang-migrate/migrate/v4 v4.14.1
13-
github.com/google/logger v1.1.0
16+
github.com/google/logger v1.1.1
1417
github.com/hashicorp/errwrap v1.1.0 // indirect
15-
github.com/jackc/pgproto3/v2 v2.0.7 // indirect
18+
github.com/hashicorp/go-multierror v1.1.1 // indirect
19+
github.com/jackc/pgx/v4 v4.13.0 // indirect
1620
github.com/leodido/go-urn v1.2.1 // indirect
17-
github.com/lib/pq v1.9.0 // indirect
18-
github.com/magiconair/properties v1.8.4 // indirect
21+
github.com/mattn/go-isatty v0.0.13 // indirect
1922
github.com/mitchellh/mapstructure v1.4.1 // indirect
2023
github.com/patrickmn/go-cache v2.1.0+incompatible
21-
github.com/pelletier/go-toml v1.8.1 // indirect
24+
github.com/prometheus/tsdb v0.7.1 // indirect
2225
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
23-
github.com/spf13/afero v1.5.1 // indirect
24-
github.com/spf13/cast v1.3.1 // indirect
26+
github.com/spf13/cast v1.4.1 // indirect
2527
github.com/spf13/jwalterweatherman v1.1.0 // indirect
26-
github.com/spf13/viper v1.7.1
27-
github.com/ugorji/go v1.2.4 // indirect
28-
github.com/zmb3/spotify v1.1.1
29-
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
30-
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
31-
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93
32-
golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b // indirect
33-
golang.org/x/text v0.3.5 // indirect
28+
github.com/spf13/viper v1.8.1
29+
github.com/ugorji/go v1.2.6 // indirect
30+
github.com/zmb3/spotify v1.3.0
31+
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
32+
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
33+
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
34+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
35+
golang.org/x/text v0.3.7 // indirect
3436
google.golang.org/appengine v1.6.7 // indirect
37+
google.golang.org/protobuf v1.27.1 // indirect
3538
gopkg.in/ini.v1 v1.62.0 // indirect
3639
gopkg.in/yaml.v2 v2.4.0 // indirect
37-
gorm.io/driver/postgres v1.0.8
38-
gorm.io/gorm v1.21.2
40+
gorm.io/driver/postgres v1.1.0
41+
gorm.io/gorm v1.21.14
3942
)

0 commit comments

Comments
 (0)