Create A Simple RESTful API With Golang

preview_player
Показать описание
Learn how to create a simple RESTful API using mock data and the Go programming language in this tutorial.

Learn how to use the mux URL router to create various CRUD endpoints for manipulating mock data that has been hardcoded into the application.

Рекомендации по теме
Комментарии
Автор

I've literally been looking at Go for the last few hours, and damn, it looks so powerful, but clean and sexy.

NoahNobody
Автор

Yo this helped me an absolute ton. Fast approaching a deadline and needed a super quick and basic intro to rest APIs in golang and you absolutely nailed it. Thank you so much.

leemcgowan
Автор

Great job !!! this is first video with real rest api in golang

aleksbgs
Автор

Very good tutorial ! thanks. I'm a newbie for golang and looking for restful api.

TheerayoothKosin
Автор

For a newbie like me, this is gold. Thank you very much!

djanthony
Автор

Great tutorial! It helped allot to keep it clean and simple!.
Thanks explaining how the simple structure of api's work in Golang.

rymoOoOoOon
Автор

This was brilliant ! thank you ever so much for taking the time to share this with us !

ThaEzioAuditore
Автор

The JSON encoder you are using is not setting the Content-Type header as application/json. That is why the response appears non-formatted in Postman. The tutorial was awesome and I already built it. Thanks for the great explanation.

nid
Автор

Hi Nic, I know that this is a quick demo, but you should be returning the right HTTP status codes: 201 for new records, 404 when getting/deleting an unknown ID, 400 if the ID already exists and you try to create a new one.
Thanks for the tutorial!

frangrau
Автор

can you share a list of the plugins you're using with atom?

mikeynne
Автор

Thanks, good video. TIL there is a Dublin in California

johnplayerks
Автор

Hey Nic, great example, do you think you could make a video with a database and a front end?

timothyho
Автор

Awesome tutorial. If I may ask, what IDE are you using in this tutorial?

krishsbhanushali
Автор

Nice video, Can you please share the video link, where you have used the Real time data base

nagarajsv
Автор

what atom plugin you use so it can automatically import required library?

fandydhar
Автор

I head a very good typing sound, what keyboard did you use ?

QuocNguyen-hcri
Автор

One thing worth remembering is that this API implementation is not safe to call concurrently, as there are methods modifying a global data structure. I don't think this implication was mentioned in the video. @Nic Raboy great work man!

bfopl
Автор

Dude, wtf with the delete? Awesome video btw

raulalejandromunozaraya
Автор

I like the theme you are using. May I know the name of it?

rajarajancanada
Автор

Hi Sir,

M getting below error on postman

404 page not found
what to do

sureshrajput