mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:24:01 +03:00
Updates for go 1.18
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ func Init(ctx context.Context) error {
|
||||
|
||||
go func() {
|
||||
<-ctx.Done()
|
||||
srv.Shutdown(context.Background()) // nolint: errcheck
|
||||
srv.Shutdown(context.Background()) // nolint: errcheck, contextcheck
|
||||
}()
|
||||
|
||||
Stats = multiStats(stats)
|
||||
|
||||
Reference in New Issue
Block a user