7 lines
121 B
Go
7 lines
121 B
Go
package forms
|
|
|
|
// Form is an interface for forms that can validate themselves.
|
|
type Form interface {
|
|
Validate() error
|
|
}
|