about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index e3af135..5a59c25 100644
--- a/main.go
+++ b/main.go
@@ -22,5 +22,12 @@ type star struct{
 }
 
 func main() {
-	fmt.Println("Hello World")
+	// stars_arr is a slice storing the stars
+	stars_arr := []star{
+		star{coord{1.0, 1.0}, force{0, 0}, 1000000},
+		star{coord{3.0, 2.5}, force{0, 0}, 1000000},
+		star{coord{1.0, 4.5}, force{0, 0}, 1000000},
+	}
+
+	fmt.Println(stars_arr)
 }