feat: simplify implementation by avoiding returning channel

This commit is contained in:
2020-06-19 18:35:55 -04:00
parent 52786735c7
commit 420149d9e9
3 changed files with 12 additions and 24 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func main() {
}
}()
go func() {
channel, err := android.NewChannel("hello", "description")
channel, err := android.NewChannel("CHANNEL", "hello", "description")
if err != nil {
log.Printf("channel creation failed: %v", err)
}