numerus/pkg
jordi fita mas c84f3f9e80 Allow guest access to user_profile with an empty profile
I want this so that the Go application does not need to know the exact
details of the settings that the database sets when applying the cookie;
it just needs to select from the user_profile that already knows this.

Also, that way i can get the user’s language from its profile with a
single select, without having to check whether we are guest or
authenticated.

With that, i can skip the content negotiation if the user already told
us what language they want.
2023-01-23 01:18:47 +01:00
..
db.go Prefix with “Must” all functions that panic 2023-01-22 20:37:43 +01:00
locale.go Allow guest access to user_profile with an empty profile 2023-01-23 01:18:47 +01:00
logger.go Move source file to the root of pkg 2023-01-17 10:40:22 +01:00
login.go Allow guest access to user_profile with an empty profile 2023-01-23 01:18:47 +01:00
profile.go Allow guest access to user_profile with an empty profile 2023-01-23 01:18:47 +01:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Use “layouts” for the common HTML between pages 2023-01-22 21:41:50 +01:00
template.go Use “layouts” for the common HTML between pages 2023-01-22 21:41:50 +01:00