Go lang
Install
Installing GO lang
Programs
read csv file
find variable type in golang
for loops in golang
MongoDB sort() Method
MongoDB Find
MongoDB FindOne
differences between arrays and slices
InsertOne MongoDB
Connecting to MongoDB
how to use range in golang
Modules
Create a Go module
Create app using Go Module

Installing GO Programming language in Linux



Download Go installer from the below path

https://go.dev/dl/go1.18.1.linux-amd64.tar.gz


Extract the downloaded archive into /usr/local, creating a Go tree in /usr/local/go with below command


sudo tar -C /usr/local -xzf go1.18.1.linux-amd64.tar.gz

Update Go to your environment profile


Open ~/.bashrc with vi, and add the following, and save it.


export GOROOT=/usr/local/go-1.18
export GOPATH=$HOME/projects/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
export PATH=$PATH:$HOME/projects/go/bin

Reload the bash profile with the following command


source ~/.bashrc

And check if go is installed successfully:


go version


how to use range in golang

how to use range in golang

posted on 2022-05-03 08:28:11 - Go lang Tutorials


find variable type in golang

find variable type in golang

posted on 2022-05-03 05:24:55 - Go lang Tutorials


for loops in golang

for loops in golang

posted on 2022-05-03 04:27:40 - Go lang Tutorials


Run MongoDB On WSL Ubuntu

Run MongoDB On WSL Ubuntu

posted on 2022-04-28 05:02:09 - mongodb Tutorials


Installing MongoDB

Installing MongoDB

posted on 2022-04-28 04:16:57 - mongodb Tutorials


MySQL TRIGGERS

MySQL - Triggers

posted on 2019-11-29 21:44:07 - mysql Tutorials