mirror of
https://github.com/golang/go
synced 2024-11-18 13:04:46 -07:00
go/internal/gcimporter: rename from go/gcimporter15
Follow through on promise to remove the old API. Change-Id: If1f5addfeb1b82acc5a1730474e2f06102dbb615 Reviewed-on: https://go-review.googlesource.com/105977 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
14d5b80f95
commit
5dfd8930f2
@ -7,9 +7,6 @@
|
||||
// gc compiler. This package supports go1.7 export data format and all
|
||||
// later versions.
|
||||
//
|
||||
// This package replaces the deprecated golang.org/x/tools/go/gcimporter15
|
||||
// package, which will be deleted in October 2017.
|
||||
//
|
||||
// Although it might seem convenient for this package to live alongside
|
||||
// go/types in the standard library, this would cause version skew
|
||||
// problems for developer tools that use it, since they must be able to
|
||||
@ -32,7 +29,7 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
|
||||
gcimporter "golang.org/x/tools/go/gcimporter15"
|
||||
"golang.org/x/tools/go/internal/gcimporter"
|
||||
)
|
||||
|
||||
// Find returns the name of an object (.o) or archive (.a) file
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"go/types"
|
||||
"testing"
|
||||
|
||||
gcimporter "golang.org/x/tools/go/gcimporter15"
|
||||
"golang.org/x/tools/go/internal/gcimporter"
|
||||
)
|
||||
|
||||
const src = `
|
@ -18,7 +18,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"golang.org/x/tools/go/buildutil"
|
||||
gcimporter "golang.org/x/tools/go/gcimporter15"
|
||||
"golang.org/x/tools/go/internal/gcimporter"
|
||||
"golang.org/x/tools/go/loader"
|
||||
)
|
||||
|
@ -6,14 +6,10 @@
|
||||
// but it also contains the original source-based importer code for Go1.6.
|
||||
// Once we stop supporting 1.6, we can remove that code.
|
||||
|
||||
// Package gcimporter15 provides various functions for reading
|
||||
// Package gcimporter provides various functions for reading
|
||||
// gc-generated object files that can be used to implement the
|
||||
// Importer interface defined by the Go 1.5 standard library package.
|
||||
//
|
||||
// Deprecated: this package will be deleted in October 2017.
|
||||
// New code should use golang.org/x/tools/go/gcexportdata.
|
||||
//
|
||||
package gcimporter // import "golang.org/x/tools/go/gcimporter15"
|
||||
package gcimporter // import "golang.org/x/tools/go/internal/gcimporter"
|
||||
|
||||
import (
|
||||
"bufio"
|
Loading…
Reference in New Issue
Block a user