Files
go-omni/cmd/go-omni/projectgen/templates/internal_config_loadGen.go.tmpl

7 lines
223 B
Cheetah

package config
import omniConfig "git.yuntuo.hk/k2safe/go-omni/config"
func Load(path string)(Config,error){
loader,err:=NewLoader();if err!=nil{return Config{},err}
return omniConfig.LoadProject(path,Default(),loader)
}