Showing posts with the label Golang

Print Struct Variables on Console in GoLang

Struct is a way to group related data items under one name. A struct can also be called a record. For example, a struct can be used to ...

Multiline strings in Go Lang

It is quite common to encounter big strings that span across multiple lines. Some programming languages don't provide an easier way...

How to Find Data Type of Object in Go Lang

There are multiple ways to find the type of object in the Go programming language. Here, we will see each of these methods in detail. T...

How to Convert Integer to String in Go Lang

One of the common operations in any programming language is converting one data type to another data type. In this article, we will see...

Parsing and Formatting Date Time String in Go Lang Examples

Most of the programming languages use codes to represent date and time like %Y for year, %d for day, and %m for a month. However, Go co...

How to check if a Map contains a Key in Go Lang

A map datatype also known as the dictionary datatype stores the data as a key, and value pairs. The syntax for declaring and initializi...

Golang Array Tutorial with examples

Golang programming language has many built-in data structures and an array is one of them. An array is a data structure that contains a...

Load More That is All