We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf05aa commit 4f05820Copy full SHA for 4f05820
main.go
@@ -35,10 +35,9 @@ func main() {
35
db.Dao.AutoMigrate(&data.FollowedStock{})
36
37
if stocksBin != nil && len(stocksBin) > 0 {
38
- initStockData()
+ go initStockData()
39
}
40
-
41
- data.NewStockDataApi().GetStockBaseInfo()
+ go data.NewStockDataApi().GetStockBaseInfo()
42
43
// Create an instance of the app structure
44
app := NewApp()
@@ -51,7 +50,6 @@ func main() {
51
50
runtime.WindowSetTitle(app.ctx, "go-stock "+time.Now().Format("2006-01-02 15:04:05"))
52
53
}()
54
55
// Create application with options
56
err := wails.Run(&options.App{
57
Title: "go-stock",
0 commit comments