Service can be initialized with different Databases(EventStore) or Message systems(Publisher) via function New. For example cmd/service it uses mongodb/kafka. To initialize package with other eventstore/publisher it must satisfy interfaces:
Build
Docker
make build-servicecontainer
Local machine
dep ensure -v --vendor-only
go build ./cmd/coap-gateway-service/