Sign in
go
/
tour
/
1c790b9f8bfefe44f33fbc9aacf5a6bc06027321
/
.
/
content
/
methods
/
exercise-rot-reader.go
blob: ff2211992a14b1926bd65e40d431f3686556262c [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"io"
"os"
"strings"
)
type rot13Reader struct {
r io.Reader
}
func main() {
s := strings.NewReader("Lbh penpxrq gur pbqr!")
r := rot13Reader{s}
io.Copy(os.Stdout, &r)
}