refactor: sort

This commit is contained in:
Inanc Gumus
2019-10-21 12:45:12 +03:00
parent 47b24c7649
commit 0fd5c2968a
5 changed files with 38 additions and 17 deletions

View File

@ -8,7 +8,6 @@
package main
import (
"sort"
"strings"
)
@ -19,8 +18,6 @@ func (l list) String() string {
return "Sorry. We're waiting for delivery 🚚.\n"
}
sort.Sort(l)
var str strings.Builder
for _, p := range l {
// fmt.Printf("* %s\n", p)