Files
gspt/main.go
aditya-k2 3cacc62196 Change some config and flag options
Earlier the flags couldn't override with false values, that has been
changed. Also change how errors are handled while the config is been
read.
2024-01-22 11:01:11 +05:30

20 lines
329 B
Go

package main
import (
"github.com/aditya-K2/gspt/config"
"github.com/aditya-K2/gspt/spt"
"github.com/aditya-K2/gspt/ui"
)
func main() {
if err := config.ReadConfig(); err != nil {
panic(err)
}
if err := spt.InitClient(); err != nil {
panic(err)
}
if err := ui.NewApplication().Run(); err != nil {
panic(err)
}
}