Golang Encryption Decryption: How to Create AES Encryption In Go

Golang Encryption Decryption Example | AES Encryption In Go

In this Golang encryption-decryption example, you will learn the following things. What is Encryption What is AES What is key in cryptography Types of encryption Golang Encryption Decryption Encryption using AES. Write this encrypted message to a file. Decrypt this message using a shared secret. We will see encrypting and decrypting data within a Go … Read more

Golang Time: How to Use Time Package in Golang

Golang Time Example | Time Package in Golang

There came a day in development when you needed to work with time. Every programming language provides us the full support of date and time because we must convert from one format to another. Golang Time Example Golang offers extensive support for times and durations. Go provides a built-in time package. Working with time in Go is … Read more

Golang Http: How to Use GET, POST, HTTP Requests in Go

Golang Http Example | GET, POST HTTP Requests In Golang

Web developers make http requests all the time. In this post, we’re going to make some http requests using Golang. In this tutorial, we will see how to send http GET and POST requests using the net/http built-in package in Golang. Golang Http Golang http package offers convenient functions like Get, Post, Head for common … Read more

Golang Flag: How To Use Command Line Flags in Go

Golang Flag Example | How To Use Command Line Flags

 Go provides the flag package supporting basic command-line flag parsing. We’ll use this package to implement our example command-line program. Golang Flag Golang flag package implements command-line flag parsing. Command-line flags are the common way to specify options for command-line programs. We can define flags using flag.String(), flag.Bool(), flag.Int(), etc. This declares the integer flag, -flagname, … Read more

Golang JSON: How to Handle JSON Data in Go

Golang JSON Example | How To Use JSON With Go

Golang json is one of the most wildly used Go packages. It is simple and, what is more important, very intuitive. When it comes to API, universally, JSON Data format is accepted across all the platforms and languages. In every programming language, there is support for dealing with JSON Data. We often need to convert … Read more