Golang Tutorial #21 - Struct Methods

  Рет қаралды 48,159

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 60
@dmns
@dmns 4 жыл бұрын
This is hands down the best example I could find on methods (even compared to paid courses). Thanks!
@ahmadjunaidi21-l6l
@ahmadjunaidi21-l6l 5 ай бұрын
3 minutes in and im already understand how it works. Straight to the point no bullshit. Thanks!
@michaelbonnet590
@michaelbonnet590 Жыл бұрын
very much appreciate that these videos explain things as if Go were all that had ever existed - that is, not explained via comparisons to other langauges and their concepts.
@dandavis8500
@dandavis8500 3 жыл бұрын
Using your videos to supplement what is unclear in the book I'm reading. Got lost on methods and totally got found with your video. Thanks a million!!
@brutalbutler
@brutalbutler 4 жыл бұрын
by the way they are called function receivers, as specified in the go docs
@armoredgemini
@armoredgemini 11 ай бұрын
Great description of methods. It seems like a good rule of thumb would be if your method name starts with ‘set’, then use a pointer. However, I have also read that you would use a pointer for large data structures, as using a value receiver creates a copy of the data being passed to the method. The pointer receiver would prevent the method from using system resources unnecessarily. Am I understanding that correctly?
@rethanon
@rethanon 4 жыл бұрын
I'm finding Go nothing like Python and while I can follow through each episode and understand the concepts, the syntax is so much more complex I can't get any of it to stick in my head. Hoping it will just one day fall into place!
@udhavmohata9281
@udhavmohata9281 3 жыл бұрын
Go is similar to C and C++ not python.
@artrodin3697
@artrodin3697 2 жыл бұрын
@Nicolás Gómez Aragón being a python engineer, i find a golang readability statement questionable
@sheebek
@sheebek 2 жыл бұрын
some parts looks like php concept
@zahidulislam2068
@zahidulislam2068 2 жыл бұрын
Tim, you have done an excellent job on this complex topic. Thanks a lot
@gnul
@gnul 3 жыл бұрын
Let's go let's go! That language looks pretty awesome. :) Will probably use it in conjunction or addition with C#.
@blain20_
@blain20_ 3 жыл бұрын
Great video series. I recommend being precise when saying parentheses, braces, and brackets. 👍
@techcode_man
@techcode_man 2 жыл бұрын
Excellent tutorial Tim! Thank you!
@GuitarreroDaniel
@GuitarreroDaniel 4 жыл бұрын
This was an amazing tutorial man, thank you very much!
@allenjames4752
@allenjames4752 4 жыл бұрын
Really need a golang API tutorial pleaseee...
@gregherbster8703
@gregherbster8703 11 ай бұрын
Just what I needed. Ty.
@danchisholm1
@danchisholm1 3 ай бұрын
very good video. explained much better than most
@MaximRovinsky
@MaximRovinsky 4 жыл бұрын
Thank you for this great tutorial. Really cool
@bilza2023
@bilza2023 2 жыл бұрын
such an attention to detail at this age
@whatzittoya4639
@whatzittoya4639 2 жыл бұрын
outstandingly well explained
@qolbinurwandi
@qolbinurwandi 2 жыл бұрын
Very insightful than udemy. Thanks tim!
@Philantrope
@Philantrope 3 жыл бұрын
Well explained. Thanks for that!☺
@merohan619
@merohan619 Жыл бұрын
thanks for clearing the topic
@iossipmiljak6770
@iossipmiljak6770 4 жыл бұрын
Can not wait for channels and go routines :D Do you have any plans of doing some tutorial on web programming with Go (cause of very powerful standard library), cause personally I still struggle with understanding Go documentation on those packages (whole node.js environment is much more understandable).
@salmaan6094
@salmaan6094 4 жыл бұрын
bro, I highly recommend seeing videos by Todd McLeod, he has a really nice way of explaining things from scratch. And after watch Tim's videos, your concepts will be crystal clear!
@asmr_codster
@asmr_codster 3 жыл бұрын
THANKS! You are a good teacher. It will be cool if you will show examples on real projects. For exmaple there is project structure handler service repository And in this structure everywhere pointers is used.
@btowers
@btowers 3 жыл бұрын
Thank you. Great tutorials!. Helped a lot...
@pawankumarmeena6737
@pawankumarmeena6737 4 жыл бұрын
can you suggest some golang projects for resume?
@robertvocals
@robertvocals 3 жыл бұрын
I dont understand the function of for example "func (b *Reader) Read(p []byte) (n int, err error)" where it says: "Read reads data into p" but how can it reads data INTO p when there is no pointer to p and p is just a value to get from the function call ?
@Nexjsdeveloper
@Nexjsdeveloper 2 жыл бұрын
Thank you a lot.
@Catharsiswitharthritis
@Catharsiswitharthritis Жыл бұрын
dont we have arrow operators in go like in C ? For ex: s->age, rather than s.age
@kaspariito
@kaspariito 2 жыл бұрын
This is great, all the seires of GO in that case..!
@A.A.
@A.A. 2 жыл бұрын
thank you!
@shhhhhhKoiHai
@shhhhhhKoiHai 4 жыл бұрын
Awesome 👍.
@siddarthsaha5364
@siddarthsaha5364 Жыл бұрын
Could we pass them by reference instead as pointers
@FPChris
@FPChris 2 жыл бұрын
Why the underscore after ‘for’?
@spencernold8899
@spencernold8899 3 жыл бұрын
Wouldn't you need to specify that student is a pointer with &, or no?
@UpliftingGodsKingdom3
@UpliftingGodsKingdom3 4 жыл бұрын
Tim can you do a Data Anaylst Tutorial?
@chickenmirchmasala2274
@chickenmirchmasala2274 4 жыл бұрын
@Tim Hello From India... I love the golang tutorial, I came so far watching the video. where are u from?
@learnweb3603
@learnweb3603 2 жыл бұрын
Please do the regular videos in deep in golang
@piyushmahapatra5402
@piyushmahapatra5402 3 жыл бұрын
In javascript, we just pass the obj as an argument by reference, here we are taking the help of pointers to do the same. Correct ime if i am wrong
@eric.m5790
@eric.m5790 4 жыл бұрын
nice thanks for the info
@glebeats3967
@glebeats3967 2 жыл бұрын
Hey man great tutorials, can you do a video about goroutines and channels?
@mohsanabbas8787
@mohsanabbas8787 4 жыл бұрын
Thanks man...
@ammarif618
@ammarif618 4 жыл бұрын
I'm not fun of programming but I'm a big fun of the next level of programming
@nayalashmohammad8490
@nayalashmohammad8490 4 жыл бұрын
Golang API Tutorial please?
@seanlestermiranda
@seanlestermiranda 4 жыл бұрын
it seems that this achieves the same result as OOP style.
@snowcr
@snowcr 3 жыл бұрын
Although many hate OOP because a bad use of it can lead to messy and overcomplicated code, I find it to be very satisfying while implementing my solutions. When I saw Go didn't have objects/classes I panicked but after taking a look at this I felt relieved! Plus, this eliminates the confusion between structs and classes in other languages like C and C++. Go's looking very promising!
@xsw2ws891
@xsw2ws891 4 жыл бұрын
I think that sometimes some reference to python could be nice and helpful to understand better some particular topic, solution etc
@GuitarreroDaniel
@GuitarreroDaniel 4 жыл бұрын
Python isn't a prerequisite to learn Go, and it's definitely NOT NEEDED. If you have a background on C, C++, or even Java, you won't have any problems learning Go.
@piotrbublik6219
@piotrbublik6219 4 жыл бұрын
Golang API
@jacksonmooring9785
@jacksonmooring9785 4 жыл бұрын
I thought you would have better grades :) 2:37
@xcvsdxvsx
@xcvsdxvsx 3 жыл бұрын
He spent too much time learning real skills and not enough time studying about "civil rights" and spanish.
@hackzchannel7921
@hackzchannel7921 4 жыл бұрын
I don't really understand
@ammarif618
@ammarif618 4 жыл бұрын
You're only in need of watching the previous lessons so go out of here. I don't have time sir.
@aishwarya_namasya_chatrasya
@aishwarya_namasya_chatrasya 3 жыл бұрын
Is Tim just 19? as given in the tutorial
@mrAmal45
@mrAmal45 2 жыл бұрын
yes, tim is in his 20s now. Padikkunna pillarokke angane annu!!
Golang Tutorial #22 - Interfaces
12:19
Tech With Tim
Рет қаралды 106 М.
Go (Golang) Tutorial #4 - Printing & Formatting Strings
12:26
Net Ninja
Рет қаралды 74 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Golang Tutorial #4 - Printing to Console & fmt
14:04
Tech With Tim
Рет қаралды 46 М.
Golang Tutorial #20 - Structs and Custom Types
18:49
Tech With Tim
Рет қаралды 52 М.
Advanced Golang: Generics Explained
13:37
Code With Ryan
Рет қаралды 70 М.
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 89 М.
This is your last video about Golang Structs!
15:57
Flo Woelki
Рет қаралды 10 М.
The Most Efficient Struct Configuration Pattern For Golang
11:10
Learn Go in 12 Minutes
13:34
Jake Wright
Рет қаралды 952 М.
Golang Tutorial #19 - Pointers & Derefrence Operator (& and *)
20:35
The Power Of Struct Embedding And Interfaces In Golang
15:05
Anthony GG
Рет қаралды 16 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН