Printing " (double quote) in GoLang

bender picture bender · Jan 31, 2017 · Viewed 40.1k times · Source

I am writing a Go code which reads from a file. To do so I use fmt.Println() to print into that intermediate file.

How can I print "?

Answer

Sourabh Bhagat picture Sourabh Bhagat · Jan 31, 2017

This is very easy, Just like C.

fmt.Println("\"")