notebook

package
v0.0.0-...-692c41c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Type  string
	Value []byte
}

func (Content) Format

func (c Content) Format() ([]Content, error)

type Formatter

type Formatter interface {
	Format() ([]Content, error)
}

type JSONFormat

type JSONFormat struct {
	Value interface{}
}

func (JSONFormat) Format

func (o JSONFormat) Format() ([]Content, error)

type MarkdownFormat

type MarkdownFormat struct {
	Language string
	Value    interface{}
}

func (MarkdownFormat) Format

func (o MarkdownFormat) Format() ([]Content, error)

type MultiFormat

type MultiFormat []Formatter

func (MultiFormat) Format

func (o MultiFormat) Format() ([]Content, error)

type SQLFormat

type SQLFormat struct {
	Rows *sql.Rows
}

func (SQLFormat) Format

func (o SQLFormat) Format() ([]Content, error)

type SpewFormat

type SpewFormat struct {
	Value interface{}
}

func (SpewFormat) Format

func (o SpewFormat) Format() ([]Content, error)

type XMLFormat

type XMLFormat struct {
	Value interface{}
}

func (XMLFormat) Format

func (o XMLFormat) Format() ([]Content, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL