19 lines
300 B
Go
19 lines
300 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"ketotrack/config"
|
|
"ketotrack/data"
|
|
"ketotrack/ui/cli"
|
|
)
|
|
|
|
func main() {
|
|
appConfig := config.Load()
|
|
appCtx, err := data.NewContext(appConfig.DataPath)
|
|
if err != nil {
|
|
fmt.Printf("Error initializing application context: %s\n", err)
|
|
return
|
|
}
|
|
cli.Run(&appCtx)
|
|
}
|