You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
279 B

package formatter
import "gitoa.ru/go-4devs/console/output/style"
func None() *Formatter {
return New(
WithStyle(func(name string) (style.Style, error) {
if _, err := style.Find(name); err != nil {
return style.Empty(), err
}
return style.Empty(), nil
}))
}