messagebird / sachet

SMS alerts for Prometheus' Alertmanager

Home Page:https://www.messagebird.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

find out a proper way of building and releasing

marcelcorso opened this issue · comments

@prep sez

I think you can hit 2 birds (why birds?) with 1 stone by renaming the package from main to sachet, create a directory cmd/sachet where you put main.go and config.go and then have the config struct in config.go be based on config structs from the sachet package

that way you can also use sachet as a Go package in other programs 🙂

while still offering the binary