如何使用Sprintf对YAML文件采用的字符串中的单引号进行转义

I'm using Go but I'm having issues while trying to get an array that contains a single quote, I'm making a query structure to create a .sql file with that query, the issue is with an array field that is adding double quotes instead of a single quote.

This is what I have:

Yaml File:

Name: 'Myname'
Age: 9
Dimensions ['go', 'lang']

Go code Syntaxis:

var Query string = "";
Query = fmt.Sprintf("INSERT INTO persons (name, age, dimensions) VALUES ('%s', %d, %q)")

OUTPUT:

 Query:
 INSERT INTO persons (name, age, dimensions) VALUES ('MyName', 9, ["go", "lang"])

I don't want "go" and "lang" double quoted, I want it as the YAML file came, with single quote.

Is supposed that "%q" escape the single quote...

any idea what to do?