Documentation
¶
Index ¶
- func ReplaceSection(in, replace, section string) (string, error)
- func ReplaceSections(in string, sections map[string]string) (string, error)
- func ReplaceSectionsInFile(path string, sections map[string]string) error
- func WrapWithNewLines(in string) string
- func WrapWithSegment(in, segment string) string
- func WrapWithYAMLSegment(in string) string
- type Column
- type ColumnAlign
- type Columns
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceSection ¶
func ReplaceSectionsInFile ¶
func WrapWithNewLines ¶
func WrapWithSegment ¶
func WrapWithYAMLSegment ¶
Types ¶
type Column ¶
type Column interface { Name() string Align() ColumnAlign ID() string }
func NewColumn ¶
func NewColumn(name string, align ColumnAlign) Column
type ColumnAlign ¶
type ColumnAlign int
const ( ColumnRightAlign ColumnAlign = iota ColumnCenterAlign ColumnLeftAlign )
Click to show internal directories.
Click to hide internal directories.