{
  "_id": "@codemirror/lang-go",
  "maintainers": [
    {
      "email": "marijn@haverbeke.berlin",
      "name": "marijn"
    }
  ],
  "keywords": [
    "editor",
    "code"
  ],
  "dist-tags": {
    "latest": "6.0.1"
  },
  "author": {
    "url": "http://marijnhaverbeke.nl",
    "name": "Marijn Haverbeke",
    "email": "marijn@haverbeke.berlin"
  },
  "_rev": "3-e72e3d3230de5215497124c6ba49f170",
  "description": "Go language support for the CodeMirror code editor",
  "readme": "<!-- NOTE: README.md is generated from src/README.md -->\n\n# @codemirror/lang-go [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-go.svg)](https://www.npmjs.org/package/@codemirror/lang-go)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-go/blob/main/CHANGELOG.md) ]\n\nThis package implements Go language support for the\n[CodeMirror](https://codemirror.net/) code editor.\n\nThe [project page](https://codemirror.net/) has more information, a\nnumber of [examples](https://codemirror.net/examples/) and the\n[documentation](https://codemirror.net/docs/).\n\nThis code is released under an\n[MIT license](https://github.com/codemirror/lang-go/tree/main/LICENSE).\n\nWe aim to be an inclusive, welcoming community. To make that explicit,\nwe have a [code of\nconduct](http://contributor-covenant.org/version/1/1/0/) that applies\nto communication around the project.\n\n## API Reference\n\n<dl>\n<dt id=\"user-content-go\">\n  <code><strong><a href=\"#user-content-go\">go</a></strong>() → <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>Go support. Includes <a href=\"#user-content-snippets\">snippet</a> and local\nvariable completion.</p>\n</dd>\n<dt id=\"user-content-golanguage\">\n  <code><strong><a href=\"#user-content-golanguage\">goLanguage</a></strong>: <a href=\"https://codemirror.net/docs/ref#language.LRLanguage\">LRLanguage</a></code></dt>\n\n<dd><p>A language provider based on the <a href=\"https://github.com/lezer-parser/go\">Lezer Go\nparser</a>, extended with\nfolding and indentation information.</p>\n</dd>\n<dt id=\"user-content-snippets\">\n  <code><strong><a href=\"#user-content-snippets\">snippets</a></strong>: readonly <a href=\"https://codemirror.net/docs/ref#autocomplete.Completion\">Completion</a>[]</code></dt>\n\n<dd><p>A collection of Go-related <a href=\"https://codemirror.net/docs/ref/#autocomplete.snippet\">snippets</a>.</p>\n</dd>\n<dt id=\"user-content-localcompletionsource\">\n  <code><strong><a href=\"#user-content-localcompletionsource\">localCompletionSource</a></strong>: <a href=\"https://codemirror.net/docs/ref#autocomplete.CompletionSource\">CompletionSource</a></code></dt>\n\n<dd><p>Completion source that looks up locally defined names in Go code.</p>\n</dd>\n</dl>\n",
  "repository": {
    "url": "git+https://github.com/codemirror/lang-go.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/codemirror/lang-go/issues"
  },
  "license": "MIT",
  "versions": {
    "6.0.0": {
      "name": "@codemirror/lang-go",
      "version": "6.0.0",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-go@6.0.0",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-go#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-go/issues"
      },
      "dist": {
        "shasum": "67ce0307be40195918d6d3f015bfac0620f550cb",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-go/-/lang-go-6.0.0.tgz",
        "fileCount": 9,
        "integrity": "sha512-mMT4YeYdKGjnffDBOhr1ur1glee4oV/rfMe28vzazNHZkSt7vSiuHiBcgr3L/79Cl2RIjFdpQ1XMD0/T8Rx64g==",
        "signatures": [
          {
            "sig": "MEYCIQDhVT9Nd6pScxwW5TWoXn3FAaHg3bQXepun8HaFn2Y5jAIhAMkKJemhB3KsGs8uoR36GPizgt7VB6Bc3BLIqy9nw4mN",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 22850
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "441743e423acf817100d5e1f6793eba10967e3e5",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/index.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-go.git",
        "type": "git"
      },
      "_npmVersion": "10.2.3",
      "description": "Go language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "18.19.0",
      "dependencies": {
        "@lezer/go": "^1.0.0",
        "@lezer/common": "^1.0.0",
        "@codemirror/state": "^6.0.0",
        "@codemirror/language": "^6.6.0",
        "@codemirror/autocomplete": "^6.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-go_6.0.0_1708100153846_0.4721613046310247",
        "host": "s3://npm-registry-packages"
      }
    },
    "6.0.1": {
      "name": "@codemirror/lang-go",
      "version": "6.0.1",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-go@6.0.1",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-go#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-go/issues"
      },
      "dist": {
        "shasum": "598222c90f56eae28d11069c612ca64d0306b057",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-go/-/lang-go-6.0.1.tgz",
        "fileCount": 9,
        "integrity": "sha512-7fNvbyNylvqCphW9HD6WFnRpcDjr+KXX/FgqXy5H5ZS0eC5edDljukm/yNgYkwTsgp2busdod50AOTIy6Jikfg==",
        "signatures": [
          {
            "sig": "MEQCIDxqAoqIytYwa07tT4ga2sfw0EVivwY/TH1GxMInQoUrAiBXhiASy75lV/09YvMvq36Z9PyjHLUxHEH/k5vd2U3S9Q==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 22934
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "b6aa0b765989c9bc0924def77fdef2f25be5ca70",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/index.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-go.git",
        "type": "git"
      },
      "_npmVersion": "10.8.0",
      "description": "Go language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "20.13.1",
      "dependencies": {
        "@lezer/go": "^1.0.0",
        "@lezer/common": "^1.0.0",
        "@codemirror/state": "^6.0.0",
        "@codemirror/language": "^6.6.0",
        "@codemirror/autocomplete": "^6.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-go_6.0.1_1716988141243_0.4538398440096507",
        "host": "s3://npm-registry-packages"
      }
    }
  },
  "name": "@codemirror/lang-go",
  "time": {
    "created": "2024-02-16T16:15:53.726Z",
    "modified": "2026-05-06T08:25:09.344Z",
    "6.0.0": "2024-02-16T16:15:53.985Z",
    "6.0.1": "2024-05-29T13:09:01.408Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/codemirror/lang-go#readme"
}