more lint fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-12-09 12:10:25 +03:00
parent e08276c2e2
commit a754ff7c0c
7 changed files with 51 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ type Option func(o *Options)
func NewOptions(opts ...Option) Options {
options := Options{
Logger: logger.DefaultLogger,
Context: context.Background(),
}
for _, o := range opts {