Skip to content

A basic overview of golang that helps you to get started with GO language

Notifications You must be signed in to change notification settings

sagarvasa/Go-basics

Repository files navigation

Go-basics

A basic overview of golang that helps you to get started with GO language

Download and configure golang on mac

  1. install golang using brew -> brew install golang or from official page -> https://golang.org/doc/install?download=go1.14.6.darwin-amd64.pkg
  2. Set GOPATH and GOROOT environment in .bashrc or .zshrc if required externally to setup workspace
  3. Check go version by using go version

step to run

go to any folder and run command go run <filename>.go

sequence of folders

  1. hello_world
  2. variables, primitives, constants
  3. array, slices
  4. map, struct
  5. control_flow, looping
  6. pointer
  7. functions
  8. interfaces

About

A basic overview of golang that helps you to get started with GO language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages