github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/custom-actions-local/app/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  	"time"
     7  )
     8  
     9  func main() {
    10  	seconds := 0
    11  	env := os.Getenv("FOO")
    12  	for seconds < 5 {
    13  		fmt.Printf("Hello world %v! %v\n", env, seconds)
    14  		seconds++
    15  		time.Sleep(time.Second * 1)
    16  	}
    17  }