Strings

Welcome to tutorial no. 14 in Golang tutorial series. Strings deserve a special mention in Go as they are different in implementation when compared to other languages. What is a String? A string is a slice of bytes in Go. Strings can be created by enclosing a set of characters inside double quotes " ". Let&rsquo;s look at a simple example that creates a string and prints it. 1package main 2…