I am receiving a panic on the following line of code. interface conversion: interface {} is []string, not string
My interface is a map of strings. What is the best method to find whether the figure interface contains a specific string.
if strings.Contains(figure["figure1"].(string), "one"){
}