#141141st of 146 in Backends, databases and hosting

go-restful

Go package for building REST web services with routing, filters and JSON/XML

Stars
5.1k
License
MIT
Last commit
Oct 2026
Last release
Aug 2025
Language
Go
Stars, last 29 weeks+15
22 Apr 2026: 5,098 stars29 Apr 2026: 5,099 stars6 May 2026: 5,099 stars13 May 2026: 5,099 stars20 May 2026: 5,100 stars27 May 2026: 5,100 stars3 Jun 2026: 5,100 stars10 Jun 2026: 5,100 stars17 Jun 2026: 5,101 stars24 Jun 2026: 5,101 stars1 Jul 2026: 5,102 stars8 Jul 2026: 5,103 stars15 Jul 2026: 5,103 stars22 Jul 2026: 5,104 stars29 Jul 2026: 5,104 stars5 Aug 2026: 5,105 stars12 Aug 2026: 5,107 stars19 Aug 2026: 5,107 stars26 Aug 2026: 5,108 stars2 Sept 2026: 5,108 stars9 Sept 2026: 5,108 stars16 Sept 2026: 5,108 stars23 Sept 2026: 5,108 stars30 Sept 2026: 5,108 stars7 Oct 2026: 5,109 stars14 Oct 2026: 5,110 stars21 Oct 2026: 5,111 stars28 Oct 2026: 5,112 stars4 Nov 2026: 5,112 stars11 Nov 2026: 5,113 stars

5,098 on 22 Apr 20265,113 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

go-restful is a Go library for defining REST APIs by mapping HTTP methods and path patterns to handler functions grouped into WebServices. It reads and writes JSON and XML, supports filters at service or route level, and handles gzip/deflate, CORS, OPTIONS and panic recovery. It is a general HTTP library with no AI-specific features.

Who it is for: Go developers building REST APIs or backend services

Strengths

  • Default router supports path params, regex and Google custom methods like /resource/name:customVerb
  • Filters at service or route level cover CORS, OPTIONS and content encoding
  • Swagger/OpenAPI declaration available via the separate go-restful-openapi package
  • Hooks for router, JSON decoder, compression, panic recovery and error handlers

Weaknesses

  • No AI, model or agent functionality; it is a generic HTTP service library
  • Go modules supported only from v3; v2 and earlier do not support them
  • Only JSON and XML built in; other serializers need custom EntityReaderWriter
  • Last release (2025-08-15) is older than the latest commit (2026-10-08)

What it needs

  • no GPU

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backends, databases and hosting

See all 146
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
3ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#4strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#5traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT92 out of 100