Remove bang
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
This commit is contained in:
parent
5a3a2cf95e
commit
7a17f9506a
1 changed files with 3 additions and 5 deletions
8
main.go
8
main.go
|
|
@ -9,10 +9,8 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
handleUpdate := make(chan func())
|
||||
go command.CheckForUpdate(handleUpdate)
|
||||
|
||||
fmt.Printf("🌭 %+v\n", "bang")
|
||||
printUpdateMessage := make(chan func())
|
||||
go command.CheckForUpdate(printUpdateMessage)
|
||||
|
||||
if cmd, err := command.RootCmd.ExecuteC(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
|
|
@ -23,5 +21,5 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
(<-handleUpdate)()
|
||||
(<-printUpdateMessage)()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue