Hi gophers! Is it better to (w is an http.ResponseWriter)

fmt.Fprint(w, "Hello world")


or to 

io.WriteString(w, "Hello world")


or doesfmt.Fprint use io.WriteString behind the scenes, and thus they are 
equivalent?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to