Python
Database
Operating System
Programming
Linux Command
Toolkit
Other
Keyboard Shortcuts
Open sidebar
Open user menu
Guess
Search
Dart
HTML Canvas
Redis
Bash
JavaScript
Go
Go Structs & Maps
Pointers to structs
v := &Vertex{1, 2} v.X = 2
Doing
v.X
is the same as doing
(*v).X
, when
v
is a pointer.
Comments
Add your comment
Post
Related
Also see
Miscellaneous
Go Interfaces
Go Methods
Go Error control
Go Concurrency
Go Packages
Go Functions
Go Structs & Maps
Go Flow control
Go Strings
Go Basic types
Getting Started