13 lines
189 B
Plaintext
13 lines
189 B
Plaintext
![]() |
[source,go]
|
||
|
----
|
||
|
type point struct { // In geometry, Point is a logical structure to group data
|
||
|
x int
|
||
|
y int
|
||
|
z int
|
||
|
}
|
||
|
|
||
|
func setCoordinates(p1 point, p2 point) {
|
||
|
// ...
|
||
|
}
|
||
|
----
|