I am trying to convert s := '{"selector:"{"Status":"open"}"}'
to type string
, as I need to pass this as an argument to a query using GetQueryResult()
.
I have tried UnescapeString
, it only accepts string as argument:
fmt.Println("args " ,html.UnescapeString(s)
but s
is a Go rune
.