Commit baafc6fd authored by Brian Tiger Chow's avatar Brian Tiger Chow

style(bs:notific) let struct field be value

rather than pointer
parent 7fcb5d3a
......@@ -16,11 +16,11 @@ type PubSub interface {
func New() PubSub {
const bufferSize = 16
return &impl{pubsub.New(bufferSize)}
return &impl{*pubsub.New(bufferSize)}
}
type impl struct {
wrapped *pubsub.PubSub
wrapped pubsub.PubSub
}
func (ps *impl) Publish(block *blocks.Block) {
......
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