Skip to content

Commit 52bc6fc

Browse files
committed
Update dependencies
1 parent 19b5be1 commit 52bc6fc

File tree

3 files changed

+396
-164
lines changed

3 files changed

+396
-164
lines changed

Diff for: cmd/iamd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
"os"
88
"os/signal"
99
"strings"
10+
"syscall"
1011
"time"
1112

1213
"github.com/fsnotify/fsnotify"
1314
"github.com/netsoc/iam/pkg/server"
1415
log "github.com/sirupsen/logrus"
1516
"github.com/spf13/pflag"
1617
"github.com/spf13/viper"
17-
"golang.org/x/sys/unix"
1818
)
1919

2020
var srv *server.Server
@@ -131,7 +131,7 @@ func stop() {
131131

132132
func main() {
133133
sigs := make(chan os.Signal, 1)
134-
signal.Notify(sigs, unix.SIGINT, unix.SIGTERM)
134+
signal.Notify(sigs, os.Interrupt, syscall.SIGTERM)
135135

136136
viper.OnConfigChange(func(e fsnotify.Event) {
137137
log.WithField("file", e.Name).Info("Config changed, reloading")

Diff for: go.mod

+7-8
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,28 @@ go 1.16
55
require (
66
github.com/DATA-DOG/go-sqlmock v1.5.0
77
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
8-
github.com/devplayer0/http-swagger v0.0.0-20200916205217-5f599a45ac7b
8+
github.com/devplayer0/http-swagger v0.0.0-20210630134610-885621d08cdd
99
github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1
1010
github.com/fsnotify/fsnotify v1.4.9
11-
github.com/gabriel-vasile/mimetype v1.3.0
11+
github.com/gabriel-vasile/mimetype v1.3.1
1212
github.com/githubnemo/CompileDaemon v1.3.0
1313
github.com/go-bindata/go-bindata/v3 v3.1.3
1414
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
1515
github.com/gorilla/handlers v1.5.1
1616
github.com/gorilla/mux v1.8.0
1717
github.com/jstemmer/go-junit-report v0.9.1
1818
github.com/mitchellh/mapstructure v1.4.1
19-
github.com/rs/cors v1.7.0
19+
github.com/rs/cors v1.8.0
2020
github.com/sirupsen/logrus v1.8.1
2121
github.com/spf13/pflag v1.0.5
22-
github.com/spf13/viper v1.7.1
22+
github.com/spf13/viper v1.8.1
2323
github.com/steinfletcher/apitest v1.5.11
2424
github.com/steinfletcher/apitest-jsonpath v1.7.1
2525
github.com/stretchr/testify v1.7.0
2626
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c
27-
github.com/xhit/go-simple-mail/v2 v2.9.1
28-
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a
29-
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b
30-
golang.org/x/sys v0.0.0-20210611083646-a4fc73990273
27+
github.com/xhit/go-simple-mail/v2 v2.10.0
28+
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
29+
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
3130
gorm.io/driver/postgres v1.0.8
3231
gorm.io/gorm v1.21.3
3332
)

0 commit comments

Comments
 (0)