golang 中的多行字符串用这个符号 ``
package main
import (
"fmt"
)
func main() {
fmt.Printf(`
Enter following commands to control the player:
lib list -- View the existing music lib
lib add <name><artist><source><type> -- Add a music to the music lib
lib remove <name> -- Remove the specified music from the lib
play <name> -- Play the specified music
`);
}
有疑问加站长微信联系(非本文作者)