bencode-go icon indicating copy to clipboard operation
bencode-go copied to clipboard

Skip encoding unexported fields.

Open veshij opened this issue 3 years ago • 1 comments

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.

veshij avatar May 28 '21 22:05 veshij

Sounds reasonable. You should include tests.

jackpal avatar May 29 '21 18:05 jackpal