1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Add optional config file parser in addition to environment variables

This commit is contained in:
Frédéric Guillot 2019-06-02 18:20:59 -07:00 committed by fguillot
parent bb720c87c1
commit f7b7b63e3f
8 changed files with 599 additions and 251 deletions

View file

@ -4,11 +4,5 @@
package config // import "miniflux.app/config"
// Opts contains configuration options after parsing.
// Opts holds parsed configuration options.
var Opts *Options
// ParseConfig parses configuration options.
func ParseConfig() (err error) {
Opts, err = parse()
return err
}