{"id":76595,"library":"compose-spec-compose-go-v2","title":"Compose Go Library","description":"A Go library for parsing and loading Docker Compose files as defined by the Compose specification.","status":"active","version":"2.11.0","language":"go","source_language":null,"source_url":"https://github.com/compose-spec/compose-go","tags":["docker","compose","yaml","parsing","container"],"install":[{"cmd":"go get github.com/compose-spec/compose-go/v2","lang":"bash","label":"Install github.com/compose-spec/compose-go/v2"}],"dependencies":[],"imports":[{"symbol":"compose","correct":"github.com/compose-spec/compose-go/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/compose-spec/compose-go/v2\"\n)\n\nfunc main() {\n\tproject, err := compose.LoadProject(\"docker-compose.yml\", nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(project.Name)\n}","lang":"go","description":"Load a Docker Compose file and print the project name."},"warnings":[],"env_vars":null,"search_vec":"'compos':1,12,18,21 'contain':24 'defin':15 'docker':11,20 'file':13 'go':2,5 'librari':3,6 'load':10 'pars':8,23 'specif':19 'yaml':22","created_at":"2026-06-17T19:33:51.874830+00:00","updated_at":"2026-06-17T19:33:51.874830+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/compose-spec/compose-go","github":"https://github.com/compose-spec/compose-go","docs":"https://pkg.go.dev/github.com/compose-spec/compose-go/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config","serialization"],"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}}