emdb/desktop-client/backend/state.go

18 lines
239 B
Go
Raw Normal View History

2024-04-26 10:01:46 +02:00
package backend
2024-04-26 15:10:38 +02:00
import (
"code.ewintr.nl/emdb/storage"
)
2024-04-26 10:01:46 +02:00
type State struct {
2024-04-26 15:10:38 +02:00
Watched []storage.Movie
Log []string
2024-04-26 10:01:46 +02:00
}
func NewState() *State {
return &State{
2024-04-26 15:10:38 +02:00
Watched: make([]storage.Movie, 0),
Log: make([]string, 0),
2024-04-26 10:01:46 +02:00
}
}