blog/core/forms/forms.go

7 lines
121 B
Go

package forms
// Form is an interface for forms that can validate themselves.
type Form interface {
Validate() error
}