aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-02-20 14:38:09 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-02-20 14:38:09 +0100
commitf08b6e39f4157dc209e30407909b879caf6760e0 (patch)
treec5d896fc06fa19c87cc819f829082e030556b4f0
parent853c85df02d774961bee33351e14b8e818a7aa56 (diff)
downloadgoffel-f08b6e39f4157dc209e30407909b879caf6760e0.tar.gz
goffel-f08b6e39f4157dc209e30407909b879caf6760e0.zip
score: remove "Score:" line from String()
-rw-r--r--logic/score.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/score.go b/logic/score.go
index 1e51571..bac109d 100644
--- a/logic/score.go
+++ b/logic/score.go
@@ -54,7 +54,7 @@ func (s Score) Score() (res int) {
}
func (s Score) String() string {
- str := "Score:\n"
+ str := ""
for i, v := range s {
p := ""
if v < 0 {