get.porter.sh/porter@v1.3.0/cmd/testplugin/main.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "os" 6 "time" 7 ) 8 9 func main() { 10 fmt.Fprintln(os.Stderr, "i am just test plugin. i don't function") 11 time.Sleep(10 * time.Millisecond) // Hack to workaround the stderr message not being captured by the time the malformed stdout is processed. 12 fmt.Fprintln(os.Stdout, "i am a little teapot") 13 }