FAQ
hi,

In the below example there is no *","* in the last field.How can I find
it?the code that I wrote is below..



"indirizzo": {
           "-tipo": "casa",
           "#text": "Viale Carlo Espinasse 5, Como"
         },


*if e.Field(i).Kind() == reflect.String { *


  * fmt.Printf("%q : ", strings.ToLower(e.Type().Field(i).Name))*

* fmt.Printf("\"%s\"", e.Field(i).Interface())*

* fmt.Printf(",")*


  * }*


--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJan 24, '14 at 5:56p
activeJan 25, '14 at 1:51a
posts5
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase