forked from cadey/xesite
14 lines
171 B
Go
14 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)
|
||
|
}
|