{"id":73661,"library":"philopon-go-toposort","title":"Go Topological Sort","description":"A topological sorting library for Go, useful for dependency resolution and scheduling.","status":"active","version":"0.0.0-20170620085441-9be86dbd762f","language":"go","source_language":null,"source_url":"https://github.com/philopon/go-toposort","tags":["topological-sort","dependency","graph"],"install":[{"cmd":"go get github.com/philopon/go-toposort","lang":"bash","label":"Install github.com/philopon/go-toposort"}],"dependencies":[],"imports":[{"symbol":"toposort","correct":"github.com/philopon/go-toposort"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/philopon/go-toposort\"\n)\n\nfunc main() {\n\tnodes := []string{\"a\", \"b\", \"c\"}\n\tedges := [][2]string{{\"a\", \"b\"}, {\"b\", \"c\"}}\n\tsorted, _ := toposort.Sort(nodes, edges)\n\tfmt.Println(sorted)\n}","lang":"go","description":"Topologically sort nodes based on edges"},"warnings":[],"env_vars":null,"search_vec":"'depend':12,19 'go':1,9 'graph':20 'librari':7 'resolut':13 'schedul':15 'sort':3,6,18 'topolog':2,5,17 'topological-sort':16 'use':10","created_at":"2026-06-17T18:53:35.449247+00:00","updated_at":"2026-06-17T18:53:35.449247+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/philopon/go-toposort","github":"https://github.com/philopon/go-toposort","docs":"https://pkg.go.dev/github.com/philopon/go-toposort#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}}