Indeed, Go 1.4 is not supported. See
https://github.com/golang/go/issues/16434

Patches are welcome, but since our CI doesn't test Go 1.4.x, the patch will
likely rot.

The workaround is to use an old version of goimports, but then you don't
get its new toys.

On Wed, Jul 20, 2016 at 8:00 AM, Sameer Ajmani <sam...@golang.org> wrote:

> +Brad Fitzpatrick <bradf...@golang.org>
>
> On Wed, Jul 20, 2016 at 10:47 AM Jonathan Lawlor <
> jonathan.law...@gmail.com> wrote:
>
>> Obviously 1.4.2 is quite out of date, but I thought it might be useful to
>> point out that the change https://go-review.googlesource.com/#/c/25001/
>> added an import to runtime/trace, which is not a part of the 1.4.2 library,
>> so go get golang.org/x/tools/cmd/goimports fails.
>>
>> Because goimports is integrated in some IDEs that might lead to
>> unintended breakage.  I ran into it during CI here
>> https://travis-ci.org/gonum/internal/jobs/145930822
>>
>> --
>> 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