Free courses from frontend to fullstack and AI
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore how generics can simplify REST implementation in Go by removing boilerplate code in this 37-minute conference talk from GoLab. Learn about RIP (REST in Peace), an approach that leverages generics to create a strong type system while abstracting away HTTP handler complexities. Discover how to create endpoints for REST resources with minimal code, automatically handling GET, POST, PUT, and DELETE operations for basic CRUD functionality. Dive into the implementation details to understand the code-saving potential of this technique, and see how to customize resource providers for more complex scenarios without dealing directly with HTTP specifics.
Syllabus
REST in peace: using generics to remove REST boilerplate - Tanguy Herrmann
Taught by
GoLab conference