func GetClient(method string, resp interface{}) error {
result := GetMessage("XML")
resp = result
fmt.Printf("Val 1: %v\n", resp)
return nil
}
resp is an input parameter, when you pass a value as this parameter into the GetClient function,
it is copied into the call in fact.
Modifications on this copy will not be reflected to the original value outside of the called function.
If you do want to make the modifications visible to caller, you can return it as an output result, or use a pointer parameter instead.