diff --git a/decor/decorator.go b/decor/decorator.go index d07f23b..53f0964 100644 --- a/decor/decorator.go +++ b/decor/decorator.go @@ -167,7 +167,7 @@ } // Sync is implementation of Synchronizer interface. -func (wc *WC) Sync() (chan int, bool) { +func (wc WC) Sync() (chan int, bool) { if (wc.C&DSyncWidth) != 0 && wc.wsync == nil { panic(fmt.Sprintf("%T is not initialized", wc)) }