Contact: aviboots(AT)netvision.net.il
40,772 questions
53,159 answers
573 users
package main import "fmt" type S struct { n int s string } func main() { st := new(S) st.n = 848 st.s = "go" fmt.Println(st) fmt.Println(st.n) fmt.Println(st.s) } /* run: &{848 go} 848 go */