blob: 0149ad3ff74d96906ebed982441d227709003f30 [file] [log] [blame]
// +build OMIT
package main
import (
"io"
"os"
)
func min(a, b int) int {
if a < b {
return a
} else {
return b
}
}
func slurp(r io.Reader) error {
b := make([]byte, 1024)
for {
_, err := r.Read(b)
if err != nil {
if err == io.EOF {
return nil
}
return err
}
}
}
func main() {
println(min(10, 20))
slurp(os.Stdin)
}