Commit 030b0c42 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: ↑ SNR for ConnOptions

We are going to add more options. Adopt "!" prefix as "no" for
something. Make the code flow in ConnOptions more suitable for further
additions without changing formatter for previous option.
parent 2f5e3606
...@@ -99,9 +99,11 @@ func (opt *ConnOptions) String() string { ...@@ -99,9 +99,11 @@ func (opt *ConnOptions) String() string {
s += ", " s += ", "
if opt.NoSync { if opt.NoSync {
s += "no" s += "!"
} }
s += "sync)" s += "sync"
s += ")"
return s return s
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment