about summary refs log tree commit diff
path: root/main.go
blob: e3af13547a7860d89bb4cabf7847b86360bcfaf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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")
}