package main import "fmt" // Main function func main() { // Creating and initializing a string using shorthand declaration value := "Welcome to Go Programming Language" fmt.Println(value) /* if you trying to change the value of the string then the compiler will throw an error, i.e,cannot assign to value[1] */ // value[1] = 'G' }