add structs

This commit is contained in:
Luna 2019-08-26 10:49:43 -03:00
parent 45ae160b76
commit 19fd9daebf
4 changed files with 86 additions and 13 deletions

View file

@ -42,7 +42,7 @@ fn main(a int) int {
//println(p.x)
}
//struct Point {
// x int
// y int
//}
struct Point {
x int
y int
}