Modern REST API Development in Go
Design performant, secure, and observable web APIs using Go's powerful standard library

EPUB · English
Price and availability
EPUB eBookUS store
$36.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Packt Publishing
- Published
- 20 August 2025
- ISBN
- 9781836205364
- Subjects
About this book
Master REST API design in Go in a pragmatic way by building production-ready web services using the Go standard library and idiomatic patternsKey FeaturesBuild scalable APIs using Go's robust standard library and HTTP toolingExplore security, observability, and testing from a backend engineering perspectiveLearn foundational REST principles by building a complete Go-based projectBook DescriptionModern REST API Development in Go is a hands-on guide to understanding and applying REST principles using Go's powerful standard library. In an era where interconnected systems demand robust and performant APIs, Go offers the perfect combination of simplicity, performance, and tooling to build modern backend services. This book is centered around a complete, real-world REST API project and guides you through every stage of the development process, from building HTTP handlers to applying authentication and generating OpenAPI documentation. You ll learn to structure your application, handle persistence with common libraries like GORM and Squirrel, apply observability patterns through logging and tracing, and ensure code quality through unit and integration tests. Each concept is grounded in REST theory and backed by idiomatic Go practices, enabling you to build APIs that are not only functional but production-ready. By the end of the book, you ll be ready to design, build, and maintain REST APIs in Go.What you will learnUnderstand and implement HTTP handlers in GoCreate and manage RESTful routesPersist and model data using GORM and SquirrelSecure APIs with JWTs and basic authenticationValidate incoming requests with custom logicLog and trace API activity for observabilityWrite unit and integration tests for endpointsGenerate API documentation using OpenAPIWho this book is forThis book is for developers who want to begin building REST APIs using the Go language. Whether you re new to Go or experienced in backend development, you ll gain practical skills and foundational knowledge to build secure, performant, and maintainable APIs. Ideal for backend engineers, system integrators, and full-stack developers entering the Go ecosystem.]]>
Bibliographic data © Gardners Books Ltd.