Functions in Go

Publicado el: 04 octubre 2023
en el canal de: Philomath
743
12

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! ❤️


En esta página del sitio puede ver el video en línea Functions in Go de Duración hora minuto segunda en buena calidad , que subió el usuario Philomath 04 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 743 veces y le gustó 12 a los espectadores. Disfruta viendo!