MCPcopy
hub / github.com/golang/tools / Text

Struct Text

present/parse.go:205–209  ·  view source on GitHub ↗

Text represents an optionally preformatted paragraph.

Source from the content-addressed store, hash-verified

203
204// Text represents an optionally preformatted paragraph.
205type Text struct {
206 Lines []string
207 Pre bool
208 Raw string // original text, for Pre==true
209}
210
211func (t Text) TemplateName() string { return "text" }
212

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected