Soooooooooo, this(fmt.Sprintf) is Necessary AND we can dont use this function???
On Sunday, September 25, 2016 at 10:19:47 AM UTC-7, Brian Hatfield wrote: > > These weird function names have a long history > <https://en.wikipedia.org/wiki/Printf_format_string>. You might find the > format specifiers to be a little weird, so take a look at the fmt package > docs <https://godoc.org/fmt> for some examples. > > If you check the Godoc for the specific functions, you'll notice that > Sprintf <https://godoc.org/fmt#Sprintf> formats a string and returns it > (so you can use it later), and Printf <https://godoc.org/fmt#Printf> > formats a string and writes it to standard output. > > On Sun, Sep 25, 2016 at 12:28 PM, <hadies...@gmail.com <javascript:>> > wrote: > >> what is difference between in *fmt.Printf* function and *fmt.Sprintf* ??? >> >> -- >> 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 golang-nuts...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.