59c18c814f815f5ee3a3cbc4f503b041932a1b45.svn-base 347 B

12345678910111213141516171819202122232425262728
  1. package main
  2. import (
  3. "fmt"
  4. "runtime"
  5. "strings"
  6. )
  7. func main(){
  8. runtime.GOMAXPROCS(1)
  9. for i:= 0 ; i < 259 ;i++ {
  10. i := i
  11. go func() {
  12. fmt.Println("hello",i)
  13. }()
  14. println(i)
  15. }
  16. dateParamslist := strings.Split("","q")
  17. for _, value := range dateParamslist {
  18. println("==============",value)
  19. }
  20. var m = make(chan int)
  21. <- m
  22. }