bencode-go
bencode-go copied to clipboard
Skip encoding unexported fields.
Unlike the json encoder, this bencode implementation tries to encode unexported struct fields. Would it make sense to change the behavior to ignore such fields? I can work on PR.
Sounds reasonable. You should include tests.