Namespace: go.std.go.build.constraint

v1.0

Contents

Summary

Provides a low-level interface to the go/build/constraint package.

Package constraint implements parsing and evaluation of build constraint lines.
See https://golang.org/cmd/go/#hdr-Build_constraints for documentation about build constraints themselves.

This package parses both the original “// +build” syntax and the “//go:build” syntax that will be added in Go 1.17.
The parser is being included in Go 1.16 to allow tools that need to process Go 1.17 source code
to still be built against the Go 1.16 release.
See https://golang.org/design/draft-gobuild for details about the “//go:build” syntax.

Index

Legend

Constants

Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.

Variables

Functions, Macros, and Special Forms

Types