Documentation ¶
Index ¶
- Variables
- func GetProviderCount(db *database.DB) (int, error)
- func GetProviderNameById(id int64, db *database.DB) string
- type EntryLawRow
- type EntryProblemRow
- type InsertEntryFormData
- type InsertEntryFormDataRaw
- type Law
- type LoginData
- type NewPasswordFormData
- type Problem
- type Provider
- type RegisterData
- type SearchFilterData
- type SettingsNewPasswordFormData
Constants ¶
This section is empty.
Variables ¶
View Source
var Problems = []*Problem{
{Slug: "erzi", De: "Erziehung", En: "Upbringing"},
{Slug: "schw", De: "Schwangerschaft, Geburt", En: "Prenancy, birth"},
{Slug: "frej", De: "Freizeit (Jugend)", En: "Leisure activities (youth)"},
{Slug: "kita", De: "KiTa, Betreuung, Spielen", En: "Kindergarten, care, playing"},
{Slug: "schu", De: "Schule", En: "School"},
{Slug: "medi", De: "Medien(-nutzung)", En: "Media (use)"},
{Slug: "arbs", De: "Arbeitsschutz (Jugend)", En: "Labour protection (youth)"},
{Slug: "arbl", De: "Arbeitslosigkeit", En: "Unemployment"},
{Slug: "ausb", De: "Ausbildung, Studium, Praktika, Berufsvorbereitung", En: "Apprenticeships, studies, internships, job preparation"},
{Slug: "wohl", De: "Wohnungslosigkeit", En: "Homelessness"},
{Slug: "wohs", De: "Wohnraumsicherung", En: "Securing housing"},
{Slug: "bewo", De: "Betreutes Wohnen", En: "Assisted living"},
{Slug: "akle", De: "Ausstattung, Kleidung, Lebensmittel", En: "Furnishings, clothing, groceries"},
{Slug: "inte", De: "Integration", En: "Integration"},
{Slug: "spra", De: "Sprache", En: "Language"},
{Slug: "aufe", De: "Aufenthaltsgenehmigung, Asyl", En: "Residence permit, asylum"},
{Slug: "form", De: "Formulare, Anträge, Schriftverkehr", En: "Forms, applications, correspondence"},
{Slug: "pfle", De: "Pflege (Senioren)", En: "Care (seniors)"},
{Slug: "frea", De: "Freizeit (Senioren)", En: "Leisure activities (seniors)"},
{Slug: "kges", De: "Körperliche Gesundheit", En: "Physical health"},
{Slug: "mges", De: "Geistige Gesundheit", En: "Mental health"},
{Slug: "sexv", De: "Sex, Verhütung, Geschlechtskrankheiten", En: "Sex, birth control, STDs"},
{Slug: "drog", De: "Drogen, Sucht", En: "Drugs, addiction"},
{Slug: "behi", De: "Behinderung (körperlich, geistig)", En: "Disability (physical, mental)"},
{Slug: "krim", De: "Kiminalität, Strafverfahren", En: "Crime, criminal proceedings"},
{Slug: "inso", De: "Schulden, Insolvenz", En: "Debts, insolvency"},
{Slug: "gewa", De: "Gewalt (körperlich, sexualisiert, psychisch)", En: "Violence (physical, sexualised, psychological)"},
{Slug: "extr", De: "Extremismus, Exit", En: "Extremism, Exit"},
{Slug: "kris", De: "Krisenintervention (\"Nichts geht mehr.\")", En: "Crisis intervention (\"Nothing goes.\")"},
}
Functions ¶
Types ¶
type EntryLawRow ¶
type EntryProblemRow ¶
type InsertEntryFormData ¶
type InsertEntryFormDataRaw ¶
type NewPasswordFormData ¶
type Problem ¶
func GetProblemBySlug ¶
func GetProblemList ¶
func GetProblemList() []*Problem
type Provider ¶
type Provider struct { ID string `db:"provider_id"` Name string `db:"name"` Description sql.NullString `db:"description"` Url sql.NullString `db:"url"` Logo sql.NullString `db:"logo"` EmailDomain string `db:"email_domain"` Created time.Time `db:"created"` LastUpdate time.Time `db:"last_update"` }
type RegisterData ¶
type SearchFilterData ¶
Click to show internal directories.
Click to hide internal directories.