This is basic golang tutorials to access third party API using HTTP.I am using ECHO Golang framework, Its fast and popular web framework.We are processing data and sending response using Echo HTTP methods.
(more…)
Category: golang tutorial
How to Consume POST Http Request in Goland In JSON
We will create HTTP Post type request using ECHO framework, restful request will consume third party POST API using golang http module. Http module help to create request to access GET/POST/DELETE type method request.We will create json data to send post data to rest api and get response as a json data.
(more…)
Some Common String Problems & Solution of Golang
This golang tutorial help to understand go string package.This tutorial apply some manipulation and modify string using go string.The Package strings implements simple functions to manipulate UTF-8 encoded strings. We will import ‘string’ package for string manipulation.
(more…)
Building a RESTful API in Go Using Mux and Logrus
This Golang tutorial help to create http rest call using mux package. I am not using any framework, Its use only core golang programming to create http rest call.
I am creating a rest call that will take id as parameters and return as a json data, Next tutorial will have how to handle JSON data with Golang http package.
(more…)Marshal and unMarshal of Struct to JSON in Golang
This Golang tutorial help to understand marshalling and un-marshalling of data using Golang. We can encode and decode struct data using marshal and unmarshal.
(more…)
Working with Go String Using Example
This tutorial help to explore go string method. We will create a simple example to understand go string method with the example.
We will create a string and manipulate using string go method. The strings functions are stored into standard library “strings” package.A string is a read-only slice of bytes. You can get more information from Official Docs.
(more…)