old_contents: # inspired from http://tour.golang.org/#63
  
  
  from offset import go, maintask, run
  from offset import time
  
  def say(s):
      for i in range(5):
          time.sleep(100 * time.MILLISECOND)
          print(s)
  
  @maintask
  def main():
      go(say, "world")
      say("hello")
  
  if __name__ == "__main__":
      run()
  
new_contents: # inspired from http://tour.golang.org/#65
  
  
  from offset import go, maintask, run
  from offset import time
  
  def say(s):
      for i in range(5):
          time.sleep(100 * time.MILLISECOND)
          print(s)
  
  @maintask
  def main():
      go(say, "world")
      say("hello")
  
  if __name__ == "__main__":
      run()
  
subject: Update demo_goroutines.py