(IANAL; this is not legal advice)

Generally, the historic principle has been that your source code
transformed by an open source compiler to produce your binary is
unrestricted.  (Interesting historical note, the Perl Artistic License is
one of the few licenses that was explicit that the output of your program
belongs to you.)

The tricky bit is that your compiled Go program isn't *just* your source,
it's the Go runtime as well, plus any other core Go libraries that you
import.  Because those are open source, your are required to distribute a
list of such third party copyrights & licenses either with your
documentation or in some UI with your program.

If you've ever delved into, say, an Android phone's "Settings -> About
Phone -> Legal Information -> Third Party Licenses" menu, you can see how
that might appear.  In the case of MongoDB, for instance, along with the
binaries in a tarball we ship a THIRD-PARTY-NOTICES text file with a list
of all open source packages and licenses used.  Either approach satisfies
the requirements of open source licenses.

Regards,
David

On Tue, Feb 26, 2019 at 6:18 PM Ian Lance Taylor <i...@golang.org> wrote:

> On Tue, Feb 26, 2019 at 10:59 AM R Srinivasan <s...@srin.me> wrote:
> >
> > what if any are the licensing requirements to distribute a "go" produced
> executable?
>
> See https://go.googlesource.com/go/+/refs/heads/master/LICENSE .  The
> requirements are minimal.
>
> > are there any "commercial" products built with go?
>
> Yes, quite a few.  You may want to look at https://golang.org/wiki/GoUsers
> .
>
> Ian
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to