On Thu, Oct 26, 2017 at 11:39 AM Vikram Rawat <vikramrawa...@gmail.com>
wrote:

> How do a get a slice of DState from got this is my question

var a []string
for _, v := range got[1:3] {
        a = append(a, v.DState)
}

-- 

-j

-- 
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.

Reply via email to