hi there,

as mentioned here:
 https://github.com/gonum/plot/issues/372

with relevant PRs here:
 https://github.com/gonum/plot/pull/374
 https://github.com/gonum/plot/pull/376

we (the Gonum community) plan to migrate the import of gonum/plot from:
 "github.com/gonum/plot/..."

to:
 "gonum.org/v1/plot/..."

The switch shall happen Monday the 4th of September.

Unlike the migration of github.com/gonum/{matrix, stat, ...} to their
gonum.org/v1/gonum/{mat,stat,...} counterparts that left the originals
unchanged and still-working, we can't do that for gonum/plot.

so you'll have to update your code.

the good news is that it's very easy:

$> go get -u golang.org/x/tools/cmd/fiximports
$> cd $GOPATH/src/github.com/me/pkg

$> fiximports -replace "github.com/gonum/plot=gonum.org/v1/plot"  ./...

and, to fix non-go files:

$> find $GOPATH/src/github.com/me/pkg \
  -type f \
  -exec sed -i -e 's|"github.com/gonum/plot|"gonum.org/v1/plot|g' {} \;

The other good news is that after that n-th migration, we'll be in good
shape to provide (finally?) stable import paths.

If that doesn't work for you, or if you have any issue with the migration,
feel free to comment here or on one of the PRs.

cheers,
sebastien.

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

Reply via email to