fix: match the code to the videos
This commit is contained in:
@ -20,9 +20,9 @@ func main() {
|
||||
{title: "hobbit", price: 25},
|
||||
}
|
||||
|
||||
sort.Sort(l)
|
||||
sort.Sort(sort.Reverse(l))
|
||||
sort.Sort(byReleaseDate(l))
|
||||
// sort.Sort(l)
|
||||
// sort.Sort(sort.Reverse(l))
|
||||
// sort.Sort(byReleaseDate(l))
|
||||
sort.Sort(sort.Reverse(byReleaseDate(l)))
|
||||
|
||||
fmt.Print(l)
|
||||
|
Reference in New Issue
Block a user