github.com/vanadium-archive/go.jiri@v0.0.0-20160715023856-abfb8b131290/runutil/testdata/slow_hello2.go (about)

     1  // Copyright 2015 The Vanadium Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  import (
     8  	"fmt"
     9  	"time"
    10  )
    11  
    12  func main() {
    13  	fmt.Printf("NOW: %s\n", time.Now())
    14  	time.Sleep(10 * time.Second)
    15  	fmt.Println("hello!!")
    16  }