Files
SaveAny-Bot/pkg/rule/rule.go
2025-08-23 16:14:12 +08:00

14 lines
217 B
Go

package rule
type RuleClass[InputType any] interface {
Type() RuleType
Match(input InputType) (bool, error)
StorageName() string
StoragePath() string
}
type storInfo struct {
storName string
storPath string
}