logo-MindMajix
PostGoLangGoLang
S
Surya kumar

Posted on 12th June 2024|757 views

0
votes

Golang Backtick

What are backticks in Golang?

1 answers
Answers
P
rushi chowdary

Posted on 12th June 2024| views

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
Name
Course *
Email *
Phone Number