github.com/GoogleContainerTools/skaffold@v1.39.18/examples/cross-platform-builds/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"runtime"
     6  	"time"
     7  )
     8  
     9  func main() {
    10  	for {
    11  		fmt.Printf("Hello world! Running on %s/%s\n", runtime.GOOS, runtime.GOARCH)
    12  
    13  		time.Sleep(time.Second * 1)
    14  	}
    15  }