Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: [Bad description] #49

Open
sedyh opened this issue Feb 4, 2020 · 0 comments
Open

tour: [Bad description] #49

sedyh opened this issue Feb 4, 2020 · 0 comments

Comments

@sedyh
Copy link

sedyh commented Feb 4, 2020

Context: https://go-tour-ru-ru.appspot.com/methods/23

There is need to be some simple description of rot13, like: Characters before the middle letter M are rotated backwards on 13 characters, and other are rotated forwards on 13 characters.
Also here must be a hint like: use inner Read() method of io.Reader to handle []byte from function.

Maybe a small template would be better:

n, err := r.r.Read(b)
for i := 0; i < n; i++ {
    // rot13 transform
}
return n, err
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant