lint fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-14 11:28:50 +03:00
parent f182bba6ff
commit e5bf1448f4
17 changed files with 114 additions and 86 deletions

View File

@@ -186,8 +186,9 @@ func (m *memorySync) String() string {
return "memory"
}
// NewSync return new memory sync
func NewSync(opts ...Option) Sync {
var options Options
options := Options{}
for _, o := range opts {
o(&options)
}