Documentation
¶
Index ¶
Constants ¶
View Source
const ( PlainText = "text/plain" MarkdownText = "text/markdown" Stdout = "application/vnd.jupyter.stdout" // Custom mime-type for stream output to stdout. Stderr = "application/vnd.jupyter.stderr" // Custom mime-type for stream output to stderr. )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultilineString ¶
type MultilineString []string
MultilineString stores multi-line text as strings or string arrays in the raw JSON. TODO(optimization): check if we can scan into [][]byte directly
func (MultilineString) Text ¶
func (s MultilineString) Text() (txt []byte)
Text concatenates all lines in a multiline string into a single byte slice.
func (*MultilineString) UnmarshalJSON ¶
func (s *MultilineString) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.