v3.3.0
- Added:
- Add the function
ErrorHandler
to wrap the error handler to ignoreErrNoOpt
andErrFrozenOpt
.
- Add the function
- Changed:
- The default error handler will ignore
ErrFrozenOpt
by usingErrorHandler
. - Don't call the observers of the option register when registering the options of
[]Opt(nil)
or[]Opt{}
.
- The default error handler will ignore