This repository has been archived on 2025-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
hui/internal/model/model.go
2024-07-31 19:10:32 +02:00

17 lines
373 B
Go

// Package model handles the application state API.
package model
import (
"os/user"
"github.com/gotk3/gotk3/gtk"
)
// Model is the application internal state.
type Model struct {
Builder *gtk.Builder // Gtk builder
User *user.User // System user
CurrentSite string // The currently chosen site
SiteNames []string // Existing site names
}