Closed joonas-fi closed 2 years ago
Is this done with https://github.com/gokrazy/rsync/pull/11, or is there anything else you’re planning on doing before this issue should be closed? :)
Great question!
How about docs, should we just link to the PR for the code example? I have nothing else in mind. (That reminds me, the code example is outdated w.r.t. the module slice. I'll update it when I get back home.)
Or maybe we add a minimal server example? Should only be a few lines of code :)
In README.md or as an example binary under cmd/
?
Ideally as a testable example that shows up in godoc and is verified to compile using go test
: https://go.dev/blog/examples :)
lol thank you, once again I'm learning from you, I've spat out Go code for years but never learned about "testable examples" :smile:
It would be great to use rsync server as a library in other Go projects.