excel-export/cmd/main.go

22 lines
274 B
Go

package main
import (
"excel_export/biz/config"
"excel_export/cmd/cmd"
"os"
)
var Config *config.Config
func main() {
//p := util.NewProf()
//defer func() {
// p.Close()
//}()
path, _ := os.Getwd()
Config = config.LoadConfig(path + "/config")
cmd.Execute()
}