On Thu, Jan 5, 2017 at 6:45 PM, bsr <bsr...@gmail.com> wrote: > Please see the example https://play.golang.org/p/SeG7oO5Us0 > > I am doing some javascript codegen and I want my values single quoted. so, > in the above example, I want the output to be > > > { v: 'hello ... \n world'} > > > instead of > > { v: '"hello ... \n world"'} or { v: "hello ... \n world"} > > how can I do that? > > thanks, > bsr. > > -- > 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.
https://play.golang.org/p/GEQpdi6C6s -- 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.