htmxginpongo/storage/message.go

10 lines
177 B
Go
Raw Normal View History

2023-10-02 17:42:50 +02:00
package storage
import "code.icod.de/dalu/htmxginpongo/model"
var Messages []*model.Message
func AddMessage(message *model.Message) {
Messages = append(Messages, message)
}