{"id":52007,"library":"h2non-parth","title":"parth","description":"Package parth provides path parsing for segment unmarshaling and slicing, enabling simple access to URL path parameters.","status":"active","version":"0.0.0-20190131123155-b4df798d6542","language":"go","source_language":null,"source_url":"https://github.com/h2non/parth","tags":["path-parsing","url","parameters","routing"],"install":[{"cmd":"go get github.com/h2non/parth","lang":"bash","label":"Install github.com/h2non/parth"}],"dependencies":[],"imports":[{"symbol":"parth","correct":"github.com/h2non/parth"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/h2non/parth\"\n)\n\nfunc main() {\n\tpath := \"/users/123/posts/456\"\n\tid, _ := parth.GetInt(path, 1)\n\tfmt.Println(id)\n}","lang":"go","description":"Extract an integer path parameter from a URL path."},"warnings":[],"env_vars":null,"search_vec":"'access':14 'enabl':12 'packag':2 'paramet':18,23 'pars':6,21 'parth':1,3 'path':5,17,20 'path-pars':19 'provid':4 'rout':24 'segment':8 'simpl':13 'slice':11 'unmarsh':9 'url':16,22","created_at":"2026-06-15T06:37:50.568817+00:00","updated_at":"2026-06-15T06:37:50.568817+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/h2non/parth","github":"https://github.com/h2non/parth","docs":"https://pkg.go.dev/github.com/h2non/parth#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-15","next_check":"2026-12-12","install_tag":null}}