Introduction to Go (Golang Setup & First Program). - Go Tutorial for Beginners #1
30views
004:05
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn Go programming in this beginner-friendly tutorial! š
In this lesson, you will learn:
ā
What is Go and why learn it
ā
Go installation and setup
ā
Writing your first Go program
ā
Understanding package main and func main
ā
go run vs go build commands
ā
Basic arithmetic in Go
š Timestamps:
0:00 - Introduction
0:24 - Why Learn Go
0:52 - First Program Demo
1:28 - go build Demo
1:54 - Calculator Demo
2:38 - Recap
3:10 - End
š» Source Code: https://github.com/GoCelesteAI/go_intro
š Code from this lesson:
// hello.go
package main
import "fmt"
func main() {
fmt.Println("Welcome to Go Programming!")
fmt.Println("Let us build something great!")
}
// calculator.go
package main
import "fmt"
func main() {
fmt.Println("Addition:", 10 + 5)
fmt.Println("Division:", 10 / 3)
fmt.Println("Float division:", 10.0 / 3.0)
}
š Next: Lesson 2 - Variables & Data Types
#Go #Golang #GoTutorial #LearnGo #Programming #GoLang #GoProgramming