cannot convert data (type interface {}) to type string: need type assertion
I am pretty new to go and I was playing with this notify package. At first I had code that looked like this: func doit(w http.ResponseWriter, r *http.Request) { notify.Post(“my_event”, “Hello World!”) fmt.Fprint(w, “+OK”) } I wanted to append newline to Hello World! but not in the function doit above, because that would be pretty … Read more