Pub/Sub in Golang
To run the demo
go run main.go
To test the coverage you will need
go get golang.org/x/tools/cmd/cover
then you can run
go test pubsub/main_test.go pubsub/main.go -cover
ok command-line-arguments 0.633s coverage: 93.8% of statements