mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-06 20:43:59 -05:00
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.
20 lines
329 B
Go
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)
|
|
}
|
|
}
|