first commit

This commit is contained in:
2020-10-25 10:00:59 +03:00
commit 0bd6f67397
80 changed files with 4741 additions and 0 deletions

14
output/formatter/none.go Normal file
View File

@@ -0,0 +1,14 @@
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
}))
}