feat: simplify implementation by avoiding returning channel
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user