box-o-sand/algs4/src/meatballhat.com/algs4-binarysearch/main.go

20 lines
278 B
Go
Raw Normal View History

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))
}