This commit is contained in:
Eden Kirin
2024-02-05 22:30:11 +01:00
commit c0f161abe1
26 changed files with 2480 additions and 0 deletions

21
app/templates/types.go Normal file
View File

@ -0,0 +1,21 @@
package templates
import "fiber-sessions/app/types"
type PageContext struct {
Title string
ActivePage string
User *types.User
}
type ValidateFormContent struct {
Validated bool
StrValue string
HasStrValueError bool
StrValueError string
NumValue string
HasNumValueError bool
NumValueError string
}