github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/gui/application.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package gui 4 5 func init() { 6 7 } 8 9 // Application store the data to run a GUI application 10 type Application struct { 11 Domain string // full domain name use for gui app like gui.sabz.city 12 Icon []byte 13 Info []Information 14 LocaleInfo Information 15 ContentPreferences string 16 PresentationPreferences string 17 Pages Pages 18 UserPreferences UserPreferences 19 DesignLanguageStyles string 20 } 21 22 // Pages : 23 type Pages struct { 24 List Page 25 } 26 27 // UserPreferences : 28 type UserPreferences struct { 29 UsersState UsersState 30 } 31 32 // UsersState : 33 type UsersState struct { 34 usersID []string 35 activeUserID string 36 }