3 ms·
I use those now, but I want to setup some other ideas such as prompting for the database username/password to write into a config.go before compiling. I did no
by tmaly 12y ago
I use those now, but I want to setup some other ideas such as prompting for the database username/password to write into a config.go before compiling. I did not want to store information like this in a public git repo
- jzs 12y agoI suggest that instead of compiling it into the binary, that you use environment variables instead. Or make it command line flags. Then you can have a bash script that you don't check in that executes the variable with environment variables/ flags.