Post

GoLangGoLang

S
Surya kumar

Posted on 29th March 2024|738 views

0
votes

Golang Backtick

What are backticks in Golang?

Answers
P
rushi chowdary

Posted on 29th March 2024

Backtick strings are analogues of any multiline raw string within Python or else Scala: r""" text""" or within JavaScript: String. raw`Hello\u000A!`

They are useful:

  • For keeping huge text inside.
  • For regular expressions, while you own many of backslashes.
  • For struct tags to put double quotes within.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos