GoPLS Viewer

Home|gopls/internal/gcimporter/ureader_no.go
1// Copyright 2022 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build !go1.18
6// +build !go1.18
7
8package gcimporter
9
10import (
11    "fmt"
12    "go/token"
13    "go/types"
14)
15
16func UImportData(fset *token.FileSetimports map[string]*types.Packagedata []bytepath string) (_ intpkg *types.Packageerr error) {
17    err = fmt.Errorf("go/tools compiled with a Go version earlier than 1.18 cannot read unified IR export data")
18    return
19}
20
MembersX
UImportData.data
UImportData.path
UImportData.pkg
UImportData.err
UImportData
UImportData.fset
UImportData.imports
Members
X