Documentation
¶
Index ¶
- Constants
- func CreateWriter(ctx context.Context, args ...object.Object) object.Object
- func Module() *object.Module
- func Render(ctx context.Context, args ...object.Object) object.Object
- type Writer
- func (w *Writer) Cost() int
- func (w *Writer) Equals(other object.Object) object.Object
- func (w *Writer) GetAttr(name string) (object.Object, bool)
- func (w *Writer) Inspect() string
- func (w *Writer) Interface() interface{}
- func (w *Writer) IsTruthy() bool
- func (w *Writer) Render()
- func (w *Writer) RunOperation(opType op.BinaryOpType, right object.Object) object.Object
- func (w *Writer) SetAttr(name string, value object.Object) error
- func (w *Writer) Type() object.Type
- func (w *Writer) Value() *tablewriter.Table
Constants ¶
View Source
const WRITER object.Type = "tablewriter.writer"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter(v *tablewriter.Table) *Writer
func (*Writer) RunOperation ¶
func (*Writer) Value ¶
func (w *Writer) Value() *tablewriter.Table
Click to show internal directories.
Click to hide internal directories.