Contact: aviboots(AT)netvision.net.il
35,654 questions
46,598 answers
573 users
package main import "fmt" type Point struct { x, y float64 } func main() { p := Point{x: 8.99, y: 9.72} fmt.Println(p.x) fmt.Println(p.y) } /* run: 8.99 9.72 */