2022-12-25 20:27:37 +01:00

14 lines
298 B
Go

package objecttree
type DescriptionParser interface {
ParseChange(*Change) ([]string, error)
}
var NoOpDescriptionParser = noopDescriptionParser{}
type noopDescriptionParser struct{}
func (n noopDescriptionParser) ParseChange(change *Change) ([]string, error) {
return []string{"DOC"}, nil
}