I have been following you ever since I’ve watched your video about Golang. I am surprised that you have 1K subscribers, you deserve a lot more than that. Great content.
@mr_mux4082 сағат бұрын
Thank you! Slow and steady I guess 😊
@sandysandor60529 сағат бұрын
Really nice tutorial! I like that it contains a lot of stuff and not only datatypes, functions etc basics, but comprehensible enough for someone with some programming experience to understand what is happening and how to write code. Learned something new in the first minute, although I've already learned the basics earlier.
@JohnEGledhill3 күн бұрын
soo0oo freaking go0d. very technical. very concise. wowzers
@luckydev39117 күн бұрын
thanks there's some bugs for homework
@OmkarGoje-t3f8 күн бұрын
bro freaking love ur content pls make a js tutorial a fast one plzzzzzzz
@sutalk12368 күн бұрын
Love the course
@EduardoSantos-ys8gg8 күн бұрын
Very interesting, good job
@VilhoKoskinen-zu4pn9 күн бұрын
I am really impressed from your work mate. No fluff, great value. Such a breath of fresh air. You've got the like and subscribe.
@projectoswald82759 күн бұрын
Nice
@what1heh3ck10 күн бұрын
Can you include repo link?
@chethelesser11 күн бұрын
Thank you, great video! I see no on has commented that this is not ackchually RESTful so I'm doing it
@ahmedjaad494011 күн бұрын
generics with primitive types? bring me this feature to Java
@GenshinContentHoyolab-mk4ic11 күн бұрын
Thank you 🙏❤ , love from india
@MITKonsultanPalembang12 күн бұрын
hello, can i got some feedback from you? im learning python and go, but i confuse which one is worth for real life. its easy to understand python than go (IMO), and i think python have plus in real project (like iot maybe etc). but i argue with my friend since we make script for sync data from one open source app to another open source app with rest api. My goal is for looking job remotely
@notbarbara264714 күн бұрын
package main import "fmt" func main() { var thing1 = [5]float64{1, 2, 3, 4, 5} fmt.Printf(" The memory location of the thing1 array is: %p", &thing1) var result [5]float64 = square(thing1) //This creates a new array, potentially using more memory than needed fmt.Printf(" The result is: %v", result) fmt.Printf(" The value of thing1 is: %v", thing1) var thing3 = [5]float64{1, 2, 3, 4, 5} fmt.Printf(" The memory location of the thing3 array is: %p", &thing3) var result2 [5]float64 = squareWithPointer(&thing3) fmt.Printf(" The result is: %v", result2) fmt.Printf(" The value of thing1 is: %v", thing3) } func square(thing2 [5]float64) [5]float64 { fmt.Printf(" The memory location of the thing2 array is: %p", &thing2) for i := range thing2 { thing2[i] = thing2[i] * thing2[i] } return thing2 } func squareWithPointer(thing4 *[5]float64) [5]float64 { fmt.Printf(" The memory location of the thing4 array is: %p", thing4) for i := range thing4 { thing4[i] = thing4[i] * thing4[i] } return *thing4 }
@Flewzie14 күн бұрын
This is fantastic thank you!
@inmonolife836115 күн бұрын
You Seems AWSOME tutor as Golang. I repetedly watched this video and I'm suprised whenever watch this tutorial. Thank you.
@MarkWalsh-gc15 күн бұрын
These videos are fantastic, keep up the good work and thanks!
@fennfo503915 күн бұрын
great video, just like your other "short and straight to the point" videos. thanks.
@Albert-nc1rj16 күн бұрын
I think there is a mistake on 7:31 when we pass clientProfile.Id as a key to our database map, because this is not the key, the key is "user{n}" Instead we should pass clientId from the request I added another value (clientId) to the context in TokenAuthMiddleware func and retrieved it just before updating database map Something like this clientId := r.Context().Value("clientId").(string) db.Database[clientId] = clientProfile And it worked But I don't know if adding several values to a context is a good practice... Overall, nice video, thank you
@mr_mux40815 күн бұрын
Hey Albert, I am assuming that clientProfile.Id is the same as the key. The key-value pair setup of the database is just and easy way to lookup, kind of like if we created an index on the "Id" field in our database.
@Albert-nc1rj15 күн бұрын
@@mr_mux408 oh, I see, thanks
@PhilipAlexanderHassialis16 күн бұрын
Very good, very clean! Thank you for packing a lot of useful information in a no-frills, straight-to-the-meat explanation! Is there a chance to augment this with a second part on how to create the Bearer JWT with claims etc in it using *only* standard Go packages?
@mr_mux40816 күн бұрын
Good idea I will add that to the list of topics 🙏
@samfam520816 күн бұрын
First
@mr_mux40816 күн бұрын
Second
@samfam520816 күн бұрын
@@mr_mux408 opps we forgot zeroth
@machine979216 күн бұрын
The most intresting part for me so far is that you can return multiple values without using array.... Magic
@Somens8Dworld17 күн бұрын
go is fucking bad syntax does not look like a modern programming language
@shubhamthapa758618 күн бұрын
this is gold !
@nahfamnah21 күн бұрын
Great vid. I wrote some go a couple years but forgot a lot of the nuance. This vid was a great and time-effective refresh 💪
@davidsantana031122 күн бұрын
love it, thanks for such enlightenment.
@WaddleQwacker23 күн бұрын
normal people: write characters go devs: you mean runes?
@adityagautam468925 күн бұрын
which lsp server are you using for go? gopls does not give out such detailed diagnostics for me
@LegitBacKd00rNiNJa6925 күн бұрын
13:18
@shaswatdas655327 күн бұрын
46:51 untrue for me, increasing dbCall iteration to 10^8, slows it down a LOT; even though CPU is sleeping. Can anyone explain why?
@varadrane714 күн бұрын
At that amount of numbers, your cpu is spending more time switching between threads and switching context, that the graph is not exactly linear.
@shaswatdas655314 күн бұрын
@@varadrane7 ohh okay, understood, thanks a lot
@mks-h28 күн бұрын
THE AUDACITY of not putting any spaces around curly braces and never acknowledging it. Just so you know - it truly drives me nuts, this video is really painful to watch simply because of that. I beg you, please think of "perfectionists" when making videos.
@himabindu808629 күн бұрын
what are your nvim configurations?
@redditrepo473Ай бұрын
Great tutorial, but the typos are killing me...
@aFalseHuntАй бұрын
For an hour I tried to understand at least something
@emreotay1501Ай бұрын
Good video!
@rmsilva1973Ай бұрын
I wonder if powerpoint has a go extension do perform syntax and lint checking. 🤔
@hyprlandАй бұрын
what
@TheCommunistRabbitАй бұрын
You are like a combination of Fireship and Bro Code
@minma02262Ай бұрын
32:39 for ""owner" struct I have to declare it firs"" before "gasEngine" struct. Otherwise, I get "undefined: owner" error when compiling the code. Seems like forward declaration only works in top scope of the package not inside another func
@pirillomatisАй бұрын
Heads up: I got an error @23:00 using "var intSlice3 []int32 = make(int32[], 3, 8)". The correct syntax is "var intSlice3 []int32 = make([]int32, 3, 8)"
@minma02262Ай бұрын
I literally learned go with this video and started programming immediately.
@MahdiKarimi-vf7ceАй бұрын
var intSlice3 []int32 = make(int32[], 3, 8) is wrong ! var intSlice3 []int32 = make([]int32, 3, 8) is the right form "[]int32" instead of int32[]
@urbanivАй бұрын
Thank you! Very helpful introduction
@jafeta.7553Ай бұрын
Great video
@FM-YAZАй бұрын
so many line to understand...my head hurts 😅
@lesterfernandes5287Ай бұрын
Very well done with the video Sir. Since I'm an experienced programmer, this is more like my preferred pace. Do continue to put out good stuff, leave links to buy you a coffee/support
@Real_kidАй бұрын
Loved it 🔥
@deveshmeena2573Ай бұрын
Thank you so much! I can't believe this is available for free. If you ever make a full fledged course I'd love to take it. Your way of teaching is amazing!
@dhananjaimvpaiАй бұрын
Thank you so much for this. I mean, coming from a JavaScript background, there is so much boilerplate needed for a simple REST api in go as compared to something with say Express and nodejs. But it seems the performance is beyond comparison too. Guess the tradeoff is between savings in runtime costs and performance over development agility. Will still use JavaScript for quick Hackathon-like scenarios, but go lang seems interesting!
@dhananjaimvpaiАй бұрын
At 29:57 did you mean a slice of runes? A but confused since you said array, and you had mentioned earlier that if it is an array it should have [...]?