{
  "id": "go-build-constraint-table",
  "kind": "table",
  "slug": "go-build-constraint",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/go-build-constraint/",
  "title": "The package parses and evaluates build constraint lines. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "The package parses and evaluates build constraint lines.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "It parses both // +build and the //go:build syntax added in Go 1.17.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "IsGoBuild only checks the //go:build prefix, not that the expression parses.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "go-build",
    "go-build-tags",
    "go-ast"
  ],
  "license": "CC-BY-4.0",
  "as_of": "2026-11-27",
  "status": "draft"
}
