How To Print String In Golang

[Solved] How To Print String In Golang | Go - Code Explorer | yomemimo.com
Question : how to print string in golang

Answered by : funny-fox-zxe7jjspjtt9

package Main
import ("fmt")
func main(){	//print formatted line fmt.Printf("Hello %s", var1) //print line with linefeed fmt.Println("Hello World!") //print line without linefeed fmt.Print("Hello World!")

Source : | Last Update : Thu, 06 Jan 22

Answers related to how to print string in golang

Code Explorer Popular Question For Go