Msg interface{}
type Envelope struct { Body `xml:"soap:"` } type Body struct { Msg interface{} }
fmt.Println
iOS Developer, Digital Design enthusiast , Technology Writer
Follow the Go Language Community to stay up to date with latest tutorials and find answers, support from other users. Its not same without you!
Write your answer...
I define a struct ... Sometimes I assign an empty session to it (because nil is not possible) Then I want to check, if it is empty: Obviously this is not working. How do I write it?
Aditya Agrawal
General
Asked • Feb 6 2020
I have two files main.go which is under package main, and another file with some functions in the package called functions. My question is: How can I call a function from package main? File 1: mai
Chris Gregori
Asked • Jan 22 2020
Im getting started with #go. How to setup dev environment?
Eric Leslie
Asked • Jan 13 2020
Community
Get Involved
Stay Connected
Company