We introduce the basics of function syntax in Go.
Like what you see? Please like, subscribe, and check out our free online course accompanying this video at https://programmingforlovers.com.
Check your work on this code along and get access to dozens of autograded exercises at Cogniterra: https://cogniterra.org/course/63/promo.
Join our P4❤️ community Discord: / discord
Help us grow our project by making a donation: https://www.paypal.com/donate?campaig....
00:00 Introduction
00:45 Setup
01:33 Our first function, SumTwoInts
04:26 A function that returns more than one output
05:58 A function with no outputs
06:54 A printing function with no inputs or outputs
07:49 func main()
08:30 Calling functions
09:35 Function input types must match
12:10 AddOne() function
14:00 Go functions are pass by value
18:08 Order of functions doesn't matter
19:03 Consolidating input type shorthand
19:58 Happy coding! ❤️
Nesta página do site você pode assistir ao vídeo on-line Functions in Go duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Philomath 04 Outubro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 743 vezes e gostou 12 espectadores. Boa visualização!