Golang Series Introduction, and Getting started with Go

Опубликовано: 04 Октябрь 2024
на канале: Dot Net Learners House
249
7

Event URL: Golang Series Introduction, and Getting Started with Go
GitHub: https://github.com/ViswanathaSwamy-PK...

Agenda:
The Big Picture
Previous Session(s)
Series Introduction
What is `Go`?
The `Go` Playground
`Go` installation
Verifying `Go` version
Retrieving available `Go` commands
Getting Help on `Go` Commands
Install `VS Code`, and `golang.go` VS Code extension
Install/Update `Go tools` in VS Code
Discussion on a couple of `Go tools`
`gopls`
`staticcheck`
`goplay`
Few `Go` commands
`go mod init`
`go run .`
Let's `Go` with our first `Go` program
Create a `Go` module inside `helloworld` folder
Create a main.go file, to contain the code
Quick Code Walk-through
Executing the `Go` code i.e., main.go file
Create a go.mod and main.go file, inside another folder `helloworldv1`
Executing the `Go` code
Few ways to execute `Go` code
SUMMARY / RECAP / Q&A