19 lines
302 B
Go
19 lines
302 B
Go
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
|
|
|
|
package resource
|
|
|
|
import (
|
|
)
|
|
|
|
type FilterTerm string
|
|
|
|
type FilterDefinition struct {
|
|
FilterTerms []FilterTerm `yaml:"term" json:"term"`
|
|
}
|
|
|
|
func NewFilterDefinition() *FilterDefinition {
|
|
return &FilterDefinition{}
|
|
}
|
|
|
|
|