On Thu, Jul 8, 2021 at 2:30 PM christoph...@gmail.com
<christophe.mees...@gmail.com> wrote:

> I need to write a binary encoder/decoder very similar to the std JSON 
> encoder/decoder.
> I would like to reuse 80% of the JSON encoder/decoder code and adapt it to 
> support my binary encoding.
>
> Is this allowed and at which condition ?

I'm _not_ a lawyer: Yes, it is allowed, conditions can be see here:
https://github.com/golang/go/blob/2ca44fe2213b53ccaf6f555c11858c6e36490624/LICENSE#L3


> Would it be possible to publish my code on github with an MIT license instead 
> of the BSD license ? This is just because all my projects are all using the 
> MIT license.

I'm _not_ a lawyer: AFAIK, not without having a permission to
relicense. The reason is that going from BSD to MIT is not really
compatible: https://softwareengineering.stackexchange.com/a/122008

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-WvHhNEXyLPVDEaHB4OHqbgvkZABOyvdW%2BvtdQL8b2tkw%40mail.gmail.com.

Reply via email to