What does ` mean?

What is “`”? I repeat this character
I saw it in books when there is author declare a variable.
Thank you

From The Go Programming Language Specification :

Raw string literals are character sequences between back quotes, as in `foo` . Within the quotes, any character may appear except back quote. The value of a raw string literal is the string composed of the uninterpreted (implicitly UTF-8-encoded) characters between the quotes; in particular, backslashes have no special meaning and the string may contain newlines. Carriage return characters (’\r’) inside raw string literals are discarded from the raw string value.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.