Installing Go and writing a "Hello world!" program

Publié le: 04 octobre 2023
sur la chaîne: Philomath
3,034
47

We will install Go, as well as VS Code, a text editor that will make working with Go easy. We then will write a program that prints "Hello world!" to the console and show how to compile and run the program.

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:41 Installing Go and VSCode
02:00 Testing the Go installation and identifying working directory
03:27 Turning off modules
04:25 Establishing a code directory
07:16 Installing the Go extension for VSCode
07:52 Writing our "Hello world!" program
10:27 Navigating a file directory in the command line
12:21 Compiling and running a program
14:19 Running code within VSCode
15:18 Profiling common compiler errors
17:51 Happy coding! ❤️

Corrections:
11:52 On Windows machines, the ls command is instead dir


Sur cette page du site, vous pouvez voir la vidéo en ligne Installing Go and writing a "Hello world!" program durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Philomath 04 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,034 fois et il a aimé 47 téléspectateurs. Bon visionnage!