Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

REST in Peace: Using Generics to Remove REST Boilerplate

GoLab conference via YouTube

Overview

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

Reviews

Start your review of REST in Peace: Using Generics to Remove REST Boilerplate

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.