Update rule.go

This commit is contained in:
源文雨 2021-09-26 10:20:40 +08:00 committed by GitHub
parent 1036733fcb
commit 2ffe1e9112

View File

@ -29,8 +29,8 @@ type Control struct {
options Options
}
// new returns Manager with settings.
func new(service string, o *Options) *Control {
// newctrl returns Manager with settings.
func newctrl(service string, o *Options) *Control {
m := &Control{service: service,
options: func() Options {
if o == nil {