whatcanGOwrong

This commit is contained in:
2024-09-19 21:38:24 -04:00
commit d0ae4d841d
17908 changed files with 4096831 additions and 0 deletions
@@ -0,0 +1,20 @@
package main
import (
"os"
"sync"
)
var wg sync.WaitGroup
func f(from string) {
defer wg.Done()
return
}
func main() {
wg.Add(1)
go f("goroutine")
wg.Wait()
os.Exit(2)
}