<div dir="ltr">It's available in go list as well, e.g. <div><br><div>$ go list -f '{{if not .Standard}}{{ .ImportPath }}{{end}}' <a href="http://github.com/snapcore/snapd/snap">github.com/snapcore/snapd/snap</a> bytes</div><div><a href="http://github.com/snapcore/snapd/snap">github.com/snapcore/snapd/snap</a></div><div>$</div><div><br></div><div>Cheers,</div><div>mwh</div><br><div class="gmail_quote"><div dir="ltr">On Mon, 27 Aug 2018 at 03:33, Michael Stapelberg <<a href="mailto:stapelberg@debian.org">stapelberg@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">There is a way, dh-make-golang does it: <a href="https://github.com/Debian/dh-make-golang/blob/f0afc0f7169eb4f261449d8c4bd6fc7950583617/make.go#L177-L192" target="_blank">https://github.com/Debian/dh-make-golang/blob/f0afc0f7169eb4f261449d8c4bd6fc7950583617/make.go#L177-L192</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 26, 2018 at 12:34 PM, Shengjing Zhu <span dir="ltr"><<a href="mailto:i@zhsj.me" target="_blank">i@zhsj.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Aug 26, 2018 at 5:44 PM Michael Hudson-Doyle<br>
<<a href="mailto:michael.hudson@canonical.com" target="_blank">michael.hudson@canonical.com</a>> wrote:<br>
><br>
> I've forgotten everything about this code even though I wrote it, but wouldn't it be better to filter out the standard library dependencies?<br>
><br>
<br>
For golang-go, currently it uses std library to producing the<br>
Built-Using for golang-go compiler. For gccgo, there's no such need<br>
because it will depends libgo.<br>
So for gccgo, it's true that we can filter out the std library. But I<br>
doubt if there's clean way...<br>
<span><br>
-- <br>
Best regards,<br>
Shengjing Zhu<br>
<br>
</span>_______________________________________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@alioth-lists.debian.net" target="_blank">Pkg-go-maintainers@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-7918369438786214395gmail_signature">Best regards,<br>Michael</div>
</div>
_______________________________________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@alioth-lists.debian.net" target="_blank">Pkg-go-maintainers@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers</a></blockquote></div></div></div>