about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..e3af135
--- /dev/null
+++ b/main.go
@@ -0,0 +1,26 @@
+package main
+
+import (
+	"fmt"
+)
+
+// force struct storing a force vector
+type force struct{
+	x, y	float64
+}
+
+// coordinate struct storing the position of stars
+type coord struct{
+	x, y	float64
+}
+
+// star struct storing information about the star
+type star struct{
+	c	coord
+	f	force
+	mass	float64
+}
+
+func main() {
+	fmt.Println("Hello World")
+}