Hello Nalin, If you use a slice of strings to hold your data, as an alternative you could go with
fmt.Printf("[%s]", strings.Join(your_slice_of_strings, ",")) Cheers! -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c67ad055-0175-4981-b6e9-69233a954da6%40googlegroups.com.