13 lines
171 B
Go
13 lines
171 B
Go
// +build go1.9
|
|
|
|
package parse
|
|
|
|
import (
|
|
"go/importer"
|
|
"go/token"
|
|
"go/types"
|
|
)
|
|
|
|
func getImporter(*token.FileSet) types.Importer {
|
|
return importer.For("source", nil)
|
|
}
|