style(bs:notific) let struct field be value

rather than pointer
This commit is contained in:
Brian Tiger Chow 2014-09-13 16:18:43 -07:00
parent 7fcb5d3a4b
commit baafc6fdf2

View File

@ -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) {