cannot convert data (type interface {}) to type string: need type assertion
According to the Go specification: For an expression x of interface type and a type T, the primary expression x.(T) asserts that x is not nil and that the value stored in x is of type T. A “type assertion” allows you to declare an interface value contains a certain concrete type or that its … Read more