20 lines
278 B
Go
20 lines
278 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"io/ioutil"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
whiteListTxt, err := ioutil.ReadAll(os.Stdin)
|
||
|
|
||
|
if err != nil {
|
||
|
fmt.Println("UGH: ", err)
|
||
|
os.Exit(1)
|
||
|
}
|
||
|
|
||
|
fmt.Println("YAP")
|
||
|
fmt.Println("Got: ", string(whiteListTxt))
|
||
|
}
|