Files
go-htmx-templ/app/templates/types.go
2024-01-21 21:06:26 +01:00

22 lines
342 B
Go

package templates
import "templ-tests/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
}