types

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This package is experimental. Don't use it in production.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = types.Config

A Config specifies the configuration for type checking. The zero value for Config is a ready-to-use default configuration.

type Package

type Package = types.Package

A Package describes a Go/Go+ package.

func Load

func Load(fset *token.FileSet, in *ast.Package, conf *Config) (pkg *Package, err error)

Load loads a package and returns the resulting package object and the first error if any.

The package is marked as complete if no errors occurred, otherwise it is incomplete. See Config.Error for controlling behavior in the presence of errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL