[go-nuts] [generics] Trying to use generics as enums

2020-07-05 Thread Martin Tournoij
Hi there, I played around a bit with the go2go playground today; I was wondering how useful it would be to implement enums. Whether using generics like this is a good idea or not is a different discussion, it's just an interesting thing to experiment with and see how far I could get. I thought i

Re: [go-nuts] email body not showing up

2019-03-21 Thread Martin Tournoij
On Thu, 21 Mar 2019 11:56:21 +0530 pradam wrote: > I have implement below code, but body not showing up, so whats wrong > with the code? > > [..] > > _, err = fmt.Fprintf(wc, "This is the email body") > if err != nil { > log.Fatal(err) > } > > [..] You are not sending any header fields; an e