From e1ab9948d1aeb0a3ba38f5c21dc38fec86c91608 Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 8 Oct 2018 15:23:52 +0200 Subject: Star struct used for storing complete star informations --- structs/structs.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'structs') diff --git a/structs/structs.go b/structs/structs.go index d33dc30..7b9bc3e 100644 --- a/structs/structs.go +++ b/structs/structs.go @@ -7,3 +7,9 @@ type Force struct { type Coord struct { X, Y float64 } + +type Star struct { + C Coord + F Force + Mass float64 +} -- cgit 1.4.1