This tutorial helps to create bubble sort in golang, The bubble sort help to sort the elements using the comparison between the current node with the immediate next node, based on condition.
(more…)Category: golang tutorial
Golang Switch Case with Example

In this post, we will see here how we can use the switch statement in the Golang. This allows you to conduct various actions in Golang based on various situations. If/else logic can also be expressed with a switch without an expression.
(more…)How to Generate Random Number Slice in Golang

This tutorial lets you know, How to generate a random number using Golang slices. I will use a time package to generate a random number and store them into slices using the UNIX timestamp.
(more…)Golang MVC Project Structure without Any Framework

This Golang tutorial help to create MVC architecture for your golang project. There are a lot of go frameworks available that follow MVC architecture, but here we will create MVC based go project without any Golang framework, We will use core Golang to create structure.
(more…)Creating a Go(lang) API with Echo Framework and PostgreSQL

This go lang tutorial help to create CRUD operation api using postgreSQL database.We will create rest api to add, edit and delete record from postgreSQL table.Its very simple and easy using ECHO web framework. This 'todo'
application help to create employee record, update employee and delete employee from database using Echo framework.
(more…)
Building GoLang Restful API Using Echo and MySQL

This is another rest api tutorial that help to create restful api using echo framework and MySQL database. We will create CRUD operations on employee module that will have create record, get all records and delete record.
I have left update record functionality, This work for you to create rest call to update record into MySQL database.I am using MySQL database to store and get data, Already shared Creating a Go(lang) API with Echo Framework and PostgreSQL.
(more…)