Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Launch a New Career with Certificates from Google, IBM & Microsoft
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Discover proven patterns for building HTTP web services in this 44-minute conference talk from GopherCon 2019. Learn from Mat Ryer's eight years of experience as he shares practical, battle-tested techniques for creating robust and efficient web services. Explore topics such as handler methods, anonymous functions, dependencies, middleware, data handling, response helpers, decoding, and futureproof response types. Gain insights into effective testing strategies, including unit tests, fake handlers, and middleware testing. Apply these valuable lessons to enhance your web service development skills and create more maintainable and scalable applications.
Syllabus
Introduction
How to use this talk
Code time
Handler methods
Handler anonymous function
Handler dependencies
Random sources
Handlers
Middleware
Dealing with Data
Response helpers
Decoding
Futureproof
Response Types
Testing
Anonymous struct
Unit tests
Fake Handler
Testing Middleware
Conclusion
Taught by
Gopher Academy