updated dependencies and go 1.17

This commit is contained in:
ston1th 2021-09-11 15:54:11 +02:00
commit 88ac31dcd9
330 changed files with 21749 additions and 13986 deletions

View file

@ -98,7 +98,7 @@ func initServer(cfg core.Config) (err error) {
return
}
log.Println("docstore " + cfg.Version + " started")
sigs := make(chan os.Signal)
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
sig := <-sigs
log.Println("signal: " + sig.String())