type patterns … func (ps *patterns) add(pattern pattern) { … } func (ps *patterns) size() int { … } func (ps patterns) match(path string, isDir bool) bool { … }
type patterns … func (ps *patterns) add(pattern pattern) { … } func (ps *patterns) size() int { … } func (ps patterns) match(path string, isDir bool) bool { … }