Skip to content

Commit

Permalink
remove some code and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HARDO TRI WAHYU SEPTIADI committed Nov 28, 2023
1 parent cd92019 commit c7ff69f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"
"fmt"
)

// App struct
Expand All @@ -20,8 +19,3 @@ func NewApp() *App {
func (a *App) startup(ctx context.Context) {
a.ctx = ctx
}

// Greet returns a greeting for the given name
func (a *App) Greet(name string) string {
return fmt.Sprintf("Hello %s, It's show time!", name)
}
2 changes: 1 addition & 1 deletion frontend/package.json.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5fbf12469d224a93954efecb5886e8a6
be0c7dc3573b2470ab6a8ec4c48845b6
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
})

KeysQuit, _ := keys.Parse("Ctrl+Q")
FileMenu.AddText("&Refresh", KeysQuit, func(_ *menu.CallbackData) {
FileMenu.AddText("&Exit", KeysQuit, func(_ *menu.CallbackData) {
runtime.Quit(app.ctx)
})

Expand Down

0 comments on commit c7ff69f

Please sign in to comment.