Day 1: GoLang

  • Go was designed to run multiple cores and built to support concurrency

  • Concurrency in Go is cheap and easy.

Go Official Link

Install Go Follow the below link to download and Install Go based on supported OS. Download Go

Create Module in Go:

  • Creates a new module.

  • Module path can correspond to a repository you plan to publish your module.

go mod init <module_path>
  • All our code must be in Packages. A package is collection of Source Files.

Execute the Go code:

Sample Code:

package main

import "fmt"

func main() {
    fmt.Println("Welcome to our conference booking application")
    fmt.Println("Get your tickets to attend")
}

Compile the above main.go

go run main.go