Closed fzerorubigd closed 4 years ago
qq what do you mean by passing port ?
oh I got what you mean :))) sorry
@fzerorubigd I just pushed the changes , would be really nice of you if could have a look at it, then I can close this
issue
Yes, it's ok. I prefer to not use the global variable, but step by step.
Some configs are hardcoded, pass them using flags (or if you prefer gnu style, use pflag - https://github.com/ogier/pflag- )
Consider passing port, instead of hardcoding it to 8080 Consider pass data using flags, instead of using .env file set the default to Env version :
then get rid of the dotenv library. that's BS.