{"id":50037,"library":"emicklei-go-restful","title":"go-restful","description":"Package restful, a lean package for creating REST-style WebServices without magic.","status":"active","version":"2.16.0+incompatible","language":"go","source_language":null,"source_url":"https://github.com/emicklei/go-restful","tags":["rest","webservice","http","router"],"install":[{"cmd":"go get github.com/emicklei/go-restful","lang":"bash","label":"Install github.com/emicklei/go-restful"}],"dependencies":[],"imports":[{"symbol":"restful","correct":"github.com/emicklei/go-restful"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/emicklei/go-restful\"\n)\n\nfunc main() {\n\tws := new(restful.WebService)\n\tws.Route(ws.GET(\"/hello\").To(func(req *restful.Request, resp *restful.Response) {\n\t\tresp.WriteAsJson(map[string]string{\"message\": \"Hello\"})\n\t}))\n\trestful.Add(ws)\n\tfmt.Println(\"Server started\")\n}","lang":"go","description":"Create a simple REST endpoint"},"warnings":[{"fix":"Use v2 API or stick with v1 if upgrading from older code.","message":"Version 2.x has breaking API changes from v1; ensure compatibility.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'creat':10 'go':2 'go-rest':1 'http':19 'lean':7 'magic':16 'packag':4,8 'rest':3,5,12,17 'rest-styl':11 'router':20 'style':13 'webservic':14,18 'without':15","created_at":"2026-06-15T04:37:20.861969+00:00","updated_at":"2026-06-15T04:37:20.861969+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/emicklei/go-restful","github":"https://github.com/emicklei/go-restful","docs":"https://pkg.go.dev/github.com/emicklei/go-restful#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"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}}