9 lines
93 B
Go
9 lines
93 B
Go
package main
|
|
|
|
func main() {
|
|
go web()
|
|
ch := make(chan struct{}, 1)
|
|
go generate(ch)
|
|
<-ch
|
|
}
|