Permalink
Please
sign in to comment.
Showing
with
46 additions
and 16 deletions.
- +6 −0 main.go
- +1 −1 pkg/commands/container.go
- +1 −1 pkg/config/app_config.go
- +6 −1 pkg/gui/containers_panel.go
- +0 −4 pkg/gui/services_panel.go
- +5 −3 pkg/i18n/english.go
- +11 −2 pkg/tasks/tasks.go
- +16 −4 test/testmain/main.go
@@ -1,9 +1,21 @@ | |||
package main | |||
|
|||
import "fmt" | |||
import "log" | |||
|
|||
func main() { | |||
var arr []string | |||
arr = nil | |||
fmt.Println(len(arr)) | |||
c := make(chan struct{}) | |||
|
|||
close(c) | |||
|
|||
close(c) | |||
|
|||
select { | |||
case <-c: | |||
log.Println("hmm") | |||
} | |||
|
|||
select { | |||
case <-c: | |||
log.Println("okay") | |||
} | |||
} |
0 comments on commit
5ab4ef6