sachet icon indicating copy to clipboard operation
sachet copied to clipboard

find out a proper way of building and releasing

Open marcelcorso opened this issue 8 years ago • 1 comments

Maybe use https://github.com/prometheus/promu

marcelcorso avatar Nov 21 '16 10:11 marcelcorso

@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 :slightly_smiling_face:

while still offering the binary

marcelcorso avatar Nov 23 '16 14:11 marcelcorso