Guest User

Untitled

a guest
Jul 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ## code
  2. package main
  3.  
  4. import "fmt"
  5. import "time"
  6.  
  7. func main() {
  8. go rock()
  9. time.Sleep(123123)
  10. }
  11.  
  12. func rock() {
  13. fmt.Printf("rock")
  14. }
  15. func roll() {
  16. fmt.Printf("roll")
  17. }
  18.  
  19. ## err
  20. $ make
  21. 8g forever.go
  22. forever.go:8: syntax error near time
  23. make: *** [forever.8] Error 1
Add Comment
Please, Sign In to add comment