Documentation
¶
Index ¶
- type StringList
- func (sl *StringList) Add(row string)
- func (sl *StringList) AddFrom(list Strings)
- func (sl *StringList) AddRange(rn ...string)
- func (sl *StringList) AddRows(rows []string)
- func (sl *StringList) FmtAdd(row string, a ...interface{})
- func (sl *StringList) Join(sep string) string
- func (sl *StringList) Len() int
- func (sl *StringList) ReplaceAt(index int, row string) error
- func (sl *StringList) RowAt(index int) (string, error)
- func (sl *StringList) Rows() []string
- func (sl *StringList) SetLineSep(sep string)
- func (sl *StringList) Text() string
- type Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringList ¶
type StringList struct {
// contains filtered or unexported fields
}
StringList is set of string methods for slice
func New ¶
func New(capacity int) *StringList
func (*StringList) Add ¶
func (sl *StringList) Add(row string)
func (*StringList) AddFrom ¶
func (sl *StringList) AddFrom(list Strings)
func (*StringList) AddRange ¶
func (sl *StringList) AddRange(rn ...string)
func (*StringList) AddRows ¶
func (sl *StringList) AddRows(rows []string)
func (*StringList) FmtAdd ¶
func (sl *StringList) FmtAdd(row string, a ...interface{})
func (*StringList) Join ¶
func (sl *StringList) Join(sep string) string
func (*StringList) Len ¶
func (sl *StringList) Len() int
func (*StringList) Rows ¶
func (sl *StringList) Rows() []string
func (*StringList) SetLineSep ¶
func (sl *StringList) SetLineSep(sep string)
func (*StringList) Text ¶
func (sl *StringList) Text() string
Click to show internal directories.
Click to hide internal directories.