mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
17 lines
226 B
Go
17 lines
226 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"io/ioutil"
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
input, err := ioutil.ReadAll(os.Stdin)
|
|
if err != nil {
|
|
log.Fatalf("Unable to read standard input: %s", err.Error())
|
|
}
|
|
fmt.Println(string(input))
|
|
}
|