10 lines
177 B
Go
10 lines
177 B
Go
|
package storage
|
||
|
|
||
|
import "code.icod.de/dalu/htmxginpongo/model"
|
||
|
|
||
|
var Messages []*model.Message
|
||
|
|
||
|
func AddMessage(message *model.Message) {
|
||
|
Messages = append(Messages, message)
|
||
|
}
|