From b76d7e0fa7a2c388fc202bdf1feb61f9871d6998 Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 8 Oct 2018 15:37:53 +0200 Subject: Deleted print.go (complete cleanup) --- print.go | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 print.go 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("") -} - -- cgit 1.4.1