How To Build And Structure A JSON API Project In Golang!?

  Рет қаралды 12,546

Anthony GG

Anthony GG

Күн бұрын

► Join my Discord community for free education 👉 / discord
► Become a Patreon for more exclusive content 👉 / anthonygg_
► Buy my a coffee 👉 donate.stripe....
► Follow me on Twitter 👉 / anthdm
► Follow me on GitHub 👉 github.com/anthdm
In this Golang tutorial, I will teach you how I build and structure a JSON API project in Golang without the need for a third-party framework.
#golang

Пікірлер: 25
@anthonygg_
@anthonygg_ Жыл бұрын
► Join my Discord community for free education 👉 discord.com/invite/bDy8t4b3Rz ► Become a Patreon for exclusive tutorials👉 www.patreon.com/anthonygg_ Thanks for watching
@QckSGaming
@QckSGaming Жыл бұрын
This is a great pattern, I like it! One suggestion though, you almost never see capitalized JSON keys, so maybe a field tag would have fit in this tutorial as well (Err: string `json:err`)
@0zema
@0zema Жыл бұрын
just in time! I started a new json api side project not an hour ago! many thanks!
@Knorway56
@Knorway56 Жыл бұрын
this is what people call truly valuable knowledge
@bjugdbjk
@bjugdbjk Жыл бұрын
Wow, Another amazing pattern , Just loved it !!
@davidbaker7940
@davidbaker7940 Жыл бұрын
Great video, awesome content, clear explanation, total appreciation.
@ozzyfromspace
@ozzyfromspace Жыл бұрын
Nice pattern, friend! You have really useful abstractions. I use the ports and adapters approach, but had a hard time creating scalable interfaces for servers. This got my mind working again lol 🎊🏆
@pradeepkumar-rd9td
@pradeepkumar-rd9td Жыл бұрын
Thank you so much for the explanation. Super helpful.
@efehanturhan6763
@efehanturhan6763 Жыл бұрын
You really did it , RESPECT
@anthonygg_
@anthonygg_ Жыл бұрын
You asked for it 😎
@wecodeworldwide
@wecodeworldwide 5 ай бұрын
Nice one😀
@syamprasad6038
@syamprasad6038 Жыл бұрын
when a person knows the target, it doesn't matter what the outcomes are, what are the profits and losses, what the appreciations are..... just Go and fkkk the target
@JohnDoe-ji1zv
@JohnDoe-ji1zv Жыл бұрын
What topic is really not covered well is how to build a mono repo nowadays. Would be great if you make a video on that
@SpellOdyssey
@SpellOdyssey Жыл бұрын
Seems frameworks better, building things from scratch it just meant for learn things / concept how it works and how to deal with it, Good job buddy, 🎊 🎉 but one thing is that video should be well structured
@cryptobarboss
@cryptobarboss Жыл бұрын
thanks for the perfect tutorial! I have a question, at 19:52 we can see that response "Content-Type" = "text/plain" but as I understand it should be "application/json"
@pellared
@pellared Жыл бұрын
Nice video 👍 When have you recorded it? I noticed you are using Go 1.18, while Go 1.19 is out for a while 😂
@anthonygg_
@anthonygg_ Жыл бұрын
True, Im lazy in upgrading 🥸
@abdullahbiyik1342
@abdullahbiyik1342 Жыл бұрын
[17:55] 🤣🤣🤣
@aggellos2001
@aggellos2001 Жыл бұрын
I am quite new to go-lang. Amazing content as always!
@tommaso6187
@tommaso6187 Жыл бұрын
what color theme are you using?
@anthonygg_
@anthonygg_ Жыл бұрын
Gruvbox
@jed271
@jed271 Жыл бұрын
What keyboard are u using?
@anthonygg_
@anthonygg_ Жыл бұрын
Razer huntsman mini 60%
@alexandrodisla6285
@alexandrodisla6285 Жыл бұрын
well this is not easy. It seems that even with framework it's not getting better. I must decline go.
@LeadingNPC
@LeadingNPC Жыл бұрын
You need to learn how to use returns. Learn about the essential complexity : nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication500-235.pdf. In a unit of code you want to have one entry point and one exit; otherwise your code is unstructured.
How To Build A Custom TCP Server In Golang!?
19:32
Anthony GG
Рет қаралды 29 М.
STOP! This Is How You Structure Golang Applications
22:04
Anthony GG
Рет қаралды 21 М.
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 51 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 75 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 52 МЛН
How To Build A Chat And Data Feed With WebSockets In Golang?
20:45
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 59 М.
Go Programming - JSON Encoding & Decoding in Golang
25:04
BugBytes
Рет қаралды 8 М.
Creating a JSON CRUD API in Go (Gin/GORM)
34:08
Coding with Robby
Рет қаралды 119 М.
How I Structure New Projects In Golang
21:32
Anthony GG
Рет қаралды 59 М.
Important Tips On How To Write Idiomatic Code In Golang
21:52
Anthony GG
Рет қаралды 22 М.
Golang: The Last Interface Explanation You'll Ever Need
17:58
Flo Woelki
Рет қаралды 13 М.
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 75 М.
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 51 МЛН