xxxxxxxxxx
// To represent a string with a backtick
package main
import "fmt"
func main() {
// representing string with ` `
message := `I love Go Programming`
fmt.Println(message)
}
xxxxxxxxxx
Single quote - indicates a byte type or rune type which corresponds to uint8 or int32 as well as the default rune type. Usually used to denote rune types and display Unicode.
Double quote - indicate strings which are char arrays. Hence you can use array index to access bytes or use functions like len().
Back quotes (backtick) - indicate a string literal, but does not support escape sequences. Usually used to display string literals like multiple lines