I.m new to go, and working with a web  aplicación I need to pass a tray of 
struct to the template.
something like this 

type Month struct {
Mname string
Color string
Id int
}


type Year struct {
Yname, Color string
Selected bool
}

type Data struct {
Years []*Year
Months []*Month
}
but I haven found the way to fill data Data structure from mysql. 
I came to this group because I found it on a book.

so thanks.

Victor

-- 
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/ce221a92-ffec-48b5-b635-a0f29ffe932an%40googlegroups.com.

Reply via email to