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 was added in Go 1.17.
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