Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- )
- func main() {
- p := struct {
- x float64
- y float64
- }{x: 3.0, y: 4.0}
- fmt.Println(p.x)
- fmt.Println(p.y)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement