the new ListType type takes the of []any

This commit is contained in:
2024-05-01 21:47:27 +02:00
parent 2d0d03b975
commit 49904f9097
3 changed files with 57 additions and 32 deletions
+15
View File
@@ -0,0 +1,15 @@
// Copyright (c) 2024 Celestino Amoroso (celestino.amoroso@gmail.com).
// All rights reserved.
// formatter.go
package expr
type FmtOpt uint16
const (
tty FmtOpt = 1 << iota
)
type Formatter interface {
ToString(options FmtOpt) string
}