change: delivery msg interfaces
This commit is contained in:
@ -16,7 +16,7 @@ type list []*game
|
|||||||
func (l list) print() {
|
func (l list) print() {
|
||||||
// `list` acts like a `[]game`
|
// `list` acts like a `[]game`
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
fmt.Println("Sorry. Our store is closed. We're waiting for the delivery 🚚.")
|
fmt.Println("Sorry. We're waiting for delivery 🚚.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ type list []printer
|
|||||||
|
|
||||||
func (l list) print() {
|
func (l list) print() {
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
fmt.Println("Sorry. Our store is closed. We're waiting for the delivery 🚚.")
|
fmt.Println("Sorry. We're waiting for delivery 🚚.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ type list []printer
|
|||||||
|
|
||||||
func (l list) print() {
|
func (l list) print() {
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
fmt.Println("Sorry. Our store is closed. We're waiting for the delivery 🚚.")
|
fmt.Println("Sorry. We're waiting for delivery 🚚.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ type list []printer
|
|||||||
|
|
||||||
func (l list) print() {
|
func (l list) print() {
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
fmt.Println("Sorry. Our store is closed. We're waiting for the delivery 🚚.")
|
fmt.Println("Sorry. We're waiting for delivery 🚚.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ type list []printer
|
|||||||
|
|
||||||
func (l list) print() {
|
func (l list) print() {
|
||||||
if len(l) == 0 {
|
if len(l) == 0 {
|
||||||
fmt.Println("Sorry. Our store is closed. We're waiting for the delivery 🚚.")
|
fmt.Println("Sorry. We're waiting for delivery 🚚.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user