diff options
author | emile <hanemile@protonmail.com> | 2018-10-08 15:37:53 +0200 |
---|---|---|
committer | emile <hanemile@protonmail.com> | 2018-10-08 15:37:53 +0200 |
commit | b76d7e0fa7a2c388fc202bdf1feb61f9871d6998 (patch) | |
tree | 639ce6154f3cae8bc6fe19e331b65fd1cbc30672 | |
parent | e9ee96948213b1497058790aed115b58ed180c1c (diff) |
Deleted print.go (complete cleanup)
-rw-r--r-- | print.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/print.go b/print.go deleted file mode 100644 index 3ef2abc..0000000 --- a/print.go +++ /dev/null @@ -1,24 +0,0 @@ -// Collection of functions handling printing specific stuff - -package main - -import ( - "fmt" - "log" -) - -// print_arr prints all the items in the given array -func print_arr(arr []star) { - - log.Printf("[+] Printing array") - - fmt.Println("x\t\ty\t\t | Fx\t\tFy\t\t | mass\n") - - - for _, el := range arr{ - fmt.Printf("%.6f\t%.6f\t | %.6f\t%.6f\t | %.6f\n", el.c.x, el.c.y, el.f.x, el.f.y, el.mass) - } - - fmt.Println("") -} - |