publisher.go: provide documentation