Documentation ¶
Index ¶
Constants ¶
View Source
const ( Yes string = "yes" No string = "no" NotApplicable string = "n/a" )
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(app *pocketbase.PocketBase)
RegisterHandlers registers all the handlers for the application. It takes a pointer to a PocketBase instance and initializes the cache. The cache is used to store frequently accessed data for faster access. The cache is automatically cleaned up every 30 minutes.
Types ¶
type Century ¶
type Century struct { Century string Composers []Composer_source }
type Composer_seed ¶
type Composer_seed struct { ID string `db:"id" json:"id"` Name string `db:"name" json:"name"` Date string `db:"date" json:"date"` Language string `db:"language" json:"language"` Century string `db:"century" json:"century"` Songs []Song_seed `db:"songs" json:"songs"` }
func GetParsedMusics ¶
func GetParsedMusics() []Composer_seed
type Composer_source ¶
type GbData ¶
type GbData struct { Title string FirstContent string SecondContent string MainContent []GuestBookMessagePrepared LatestEntries string }
type GbPreparedData ¶
type Grouped_music_list ¶
type Grouped_music_list struct { Century string Composers []shape.Music_composer }
func GroupAndSortMusicByCentury ¶
func GroupAndSortMusicByCentury(musicList []shape.Music_composer) []Grouped_music_list
type GuestBookMessage ¶
type GuestBookMessage struct { Name string `json:"name" form:"name" query:"name" validate:"required"` Email string `json:"email" form:"email" query:"email" validate:"required"` Location string `json:"location" form:"location" query:"location" validate:"required"` Message string `json:"message" form:"message" query:"message" validate:"required"` HoneyPotName string `json:"honey_pot_name" query:"honey_pot_name"` HoneyPotEmail string `json:"honey_pot_email" query:"honey_pot_email"` }
type SearchSettings ¶
type SearchSettings struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.