feat(aa): add initial profile validation structure.
This commit is contained in:
parent
2dd6046697
commit
92641e7e28
20 changed files with 222 additions and 2 deletions
|
|
@ -16,6 +16,10 @@ type Hat struct {
|
|||
Rules Rules
|
||||
}
|
||||
|
||||
func (r *Hat) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *Hat) Less(other any) bool {
|
||||
o, _ := other.(*Hat)
|
||||
return p.Name < o.Name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue