mirror of
https://github.com/chenasraf/sofmani.git
synced 2026-05-17 17:28:04 +00:00
14 lines
212 B
Go
14 lines
212 B
Go
package main
|
|
|
|
import (
|
|
"github.com/chenasraf/sofmani/appconfig"
|
|
)
|
|
|
|
func LoadConfig() (*appconfig.AppConfig, error) {
|
|
cfg, err := appconfig.ParseConfig()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return cfg, nil
|
|
}
|