}
@Override
public GoPackage getPackage() {
GoLiteralString importPathLiteral = getImportPath();
if (importPathLiteral == null)
return null;
String importPath = importPathLiteral.getValue();
// if it's a relative import we normalize this and hope it falls into our project.
// we don't support relative import paths from files outside of our project
if ( importPath.startsWith(".") && getContainingFile() instanceof GoFile ) {
importPath = FileUtil.toCanonicalPath(((GoFile)getContainingFile()).getPackageImportPath() + "/" + importPath, '/');