{"id":65424,"library":"github-go-spdx-v2","title":"Go SPDX Library","description":"Package spdx provides tools for parsing and validating SPDX license expressions and documents.","status":"active","version":"2.6.0","language":"go","source_language":null,"source_url":"https://github.com/github/go-spdx","tags":["spdx","license","compliance","open-source"],"install":[{"cmd":"go get github.com/github/go-spdx/v2","lang":"bash","label":"Install github.com/github/go-spdx/v2"}],"dependencies":[],"imports":[{"symbol":"spdx","correct":"github.com/github/go-spdx/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/github/go-spdx/v2\"\n)\n\nfunc main() {\n\tlicense, err := spdx.Parse(\"MIT\")\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\tfmt.Println(license.ID)\n}","lang":"go","description":"Parse an SPDX license expression"},"warnings":[],"env_vars":null,"search_vec":"'complianc':19 'document':16 'express':14 'go':1 'librari':3 'licens':13,18 'open':21 'open-sourc':20 'packag':4 'pars':9 'provid':6 'sourc':22 'spdx':2,5,12,17 'tool':7 'valid':11","created_at":"2026-06-17T17:10:08.128781+00:00","updated_at":"2026-06-17T17:10:08.128781+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/github/go-spdx","github":"https://github.com/github/go-spdx","docs":"https://pkg.go.dev/github.com/github/go-spdx/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}