Make linters happy and disable deprecated exhaustivestruct.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-29 13:00:38 +05:00
parent 9d5d5c262e
commit dc1287dae8
8 changed files with 13 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ type Storage struct {
// NewStorage creates new in-memory storage to use.
func NewStorage(ctx context.Context, name string, logger *logger.Logger) (*Storage, chan struct{}) {
// nolint:exhaustivestruct
// nolint:exhaustruct
storage := &Storage{
ctx: ctx,
doneChan: make(chan struct{}),