Since Go 1.22 released you can now build your API services with just the net/http package, without the need for any external packages likes gorilla/mux, fiber or chi.
So in this video I’ll show you how I’m going to be building my APIs from now on with go 1.22.
💻 Check the "Complete Backend API in Golang" Course:
https://youtu.be/7VLmLOiQ3ck
👉 Join the private community to level up as software engineer: https://selfmadeengineer.com
📢 We're building a Discord community, come and join
https://discord.com/invite/3JhkwjQHjc
Hope you liked and thanks for watching!
🙋🏼♂️ Socials:
X: https://x.com/TiagoFe01662401
Github: https://github.com/sikozonpc
#golang #api #backend
Time Stamps 👇
00:00:00 Intro
00:01:08 API server
00:03:00 Path values from request
00:03:45 Method based routing
00:05:53 Middleware
00:11:21 Subrouting
Video titles ideas (for the algo):
What is new in Golang 1.22
How to build REST API in Golang 1.22
Create API in Golang 1.22