golang在函數中改變slice值

package main import ( "fmt" "time" ) func main() { registerChan:=make(chan string) go func(){ registerChan<-"hi" }() go func(){ registerChan<-"hello" }()
相關文章
相關標籤/搜索