actually fix text separators
This commit is contained in:
parent
3695f2704b
commit
52684daefe
@ -53,12 +53,12 @@ type textEmitter struct {
|
||||
}
|
||||
|
||||
func (t *textEmitter) Emit(summary *auctionsim.ResultSummary) {
|
||||
if !t.notFirst {
|
||||
if t.notFirst {
|
||||
fmt.Println()
|
||||
fmt.Println("-----------------")
|
||||
fmt.Println()
|
||||
t.notFirst = true
|
||||
}
|
||||
t.notFirst = true
|
||||
fmt.Printf("The auction winner paid ¤%f. They have %s.\n", summary.Price, deltaStr(summary.WinnerProfit))
|
||||
fmt.Printf("The item was worth ¤%f to them.\n", summary.WinnerValue)
|
||||
fmt.Printf("They would have paid up to ¤%f for it.\n", summary.WinnerMaxBid)
|
||||
|
Loading…
Reference in New Issue
Block a user