The Iris book, fifth edition

Documentation

The documentation for Iris is a book. 24 chapters and 437 pages covering version 14.0.0on Go 1.27, from a first route to a tested application in production. Free to read here, free to download, and every example verified against the framework source.

How the book is organised

The chapters build on one another and are best read in order the first time. Afterwards each one stands alone.

  1. 01

    Foundation

    Installation, the framework’s core concepts, and the builder that assembles a production application.

    Chapters 1 to 3

  2. 02

    The Request Path

    Routing and controllers, reading requests, writing responses, and the middleware pipeline.

    Chapters 4 to 7

  3. 03

    Application Structure

    Dependency injection, error handling, authentication and authorization, and configuration.

    Chapters 8 to 11

  4. 04

    Middleware and Data

    The built-in middleware, database integration, caching and internationalization.

    Chapters 12 to 15

  5. 05

    Running in Production

    Testing, observability, security, deployment and performance.

    Chapters 16 to 20

  6. 06

    Going Further

    AI backends, complete applications, the upgrade path to v14, and the framework’s extension points.

    Chapters 21 to 24

Every chapter

Alongside the book

  • The tutorial

    One complete, tested service built end to end in a single document. Shorter than chapter 22 and just as finished.

  • The migration guide

    The canonical reference for moving a v12 application to v14. Chapter 23 is the tour; this is the substitution list.

  • Machine-readable

    Every chapter is also served as plain markdown at its own path plus .md. There is an llms.txt too.

Twenty-five chapters, about 85,000 words. Try BindJSON, graceful shutdown or error map.