2023-01-11 19:18:04 +01:00

14 lines
323 B
Go

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