diff options
author | emile <hanemile@protonmail.com> | 2018-10-08 15:23:52 +0200 |
---|---|---|
committer | emile <hanemile@protonmail.com> | 2018-10-08 15:23:52 +0200 |
commit | e1ab9948d1aeb0a3ba38f5c21dc38fec86c91608 (patch) | |
tree | 8174b8e8d99ee2d504437e3a1231cd088c55698b /structs | |
parent | 5afbd653c40f2178b7aa1b257c4b95e0a1c3459c (diff) |
Star struct used for storing complete star informations
Diffstat (limited to 'structs')
-rw-r--r-- | structs/structs.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 +} |