mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2025-06-05 18:03:12 +00:00
urgh
This commit is contained in:
parent
a2c0d9d825
commit
be4c6c7fcf
6 changed files with 143 additions and 75 deletions
|
@ -21,6 +21,8 @@ type Toast struct {
|
|||
func AddToast(text string) {
|
||||
toast := Toast{Text: text, Age: time.Now()}
|
||||
toasts = append(toasts, toast)
|
||||
|
||||
fmt.Printf("Added Toast: '%s'\n", text)
|
||||
}
|
||||
|
||||
func UpdateToasts() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue