12345678910111213141516171819202122232425262728 |
- package main
- import (
- "fmt"
- "runtime"
- "strings"
- )
- func main(){
- runtime.GOMAXPROCS(1)
- for i:= 0 ; i < 259 ;i++ {
- i := i
- go func() {
- fmt.Println("hello",i)
- }()
- println(i)
- }
- dateParamslist := strings.Split("","q")
- for _, value := range dateParamslist {
- println("==============",value)
- }
- var m = make(chan int)
- <- m
- }
|