paked/messenger

Allow use of a config file

Closed this issue · 2 comments

I think it is a good idea to allow people to use a config file. This allows separation of concern and you can be guaranteed that the configurations are in a separate file and can be changed at will.

Makes good for better dev experience. I have a PR for this 🙃

I don't think it's a good idea, this project is a go package, not a program (understand here "main package")

The main package parse the config, as yaml or wathever, and then fill the messenger.Option struct

paked commented