Documentation
¶
Index ¶
- Variables
- type BaseRange
- type MinMaxByte
- func (receiver *MinMaxByte) CreateMinMaxInt() *MinMaxInt
- func (receiver *MinMaxByte) CreateRangeInt(rawString, separator string) *RangeInt
- func (receiver *MinMaxByte) CreateRangeInt16(rawString, separator string) *RangeInt16
- func (receiver *MinMaxByte) CreateRangeInt8(rawString, separator string) *RangeInt8
- func (receiver *MinMaxByte) Difference() byte
- func (receiver *MinMaxByte) DifferenceAbsolute() byte
- func (receiver *MinMaxByte) IsInvalidValue(value byte) bool
- func (receiver *MinMaxByte) IsWithinRange(value byte) bool
- func (receiver *MinMaxByte) RangeLength() byte
- func (receiver *MinMaxByte) Ranges() *[]byte
- func (receiver *MinMaxByte) RangesInt() *[]byte
- type MinMaxInt
- func (receiver *MinMaxInt) CreateRangeInt(rawString, separator string) *RangeInt
- func (receiver *MinMaxInt) Difference() int
- func (receiver *MinMaxInt) DifferenceAbsolute() int
- func (receiver *MinMaxInt) IsInvalidValue(value int) bool
- func (receiver *MinMaxInt) IsWithinRange(value int) bool
- func (receiver *MinMaxInt) RangeLength() int
- func (receiver *MinMaxInt) Ranges() *[]int
- func (receiver *MinMaxInt) RangesInt() *[]int
- type MinMaxInt16
- func (receiver *MinMaxInt16) CreateMinMaxInt() *MinMaxInt
- func (receiver *MinMaxInt16) CreateRangeInt(rawString, separator string) *RangeInt
- func (receiver *MinMaxInt16) CreateRangeInt16(rawString, separator string) *RangeInt16
- func (receiver *MinMaxInt16) CreateRangeInt8(rawString, separator string) *RangeInt8
- func (receiver *MinMaxInt16) Difference() int16
- func (receiver *MinMaxInt16) DifferenceAbsolute() int16
- func (receiver *MinMaxInt16) IsInvalidValue(value int16) bool
- func (receiver *MinMaxInt16) IsWithinRange(value int16) bool
- func (receiver *MinMaxInt16) RangeLength() int16
- func (receiver *MinMaxInt16) Ranges() *[]int16
- func (receiver *MinMaxInt16) RangesInt() *[]int16
- type MinMaxInt8
- func (receiver *MinMaxInt8) CreateMinMaxInt() *MinMaxInt
- func (receiver *MinMaxInt8) CreateRangeInt(rawString, separator string) *RangeInt
- func (receiver *MinMaxInt8) CreateRangeInt16(rawString, separator string) *RangeInt16
- func (receiver *MinMaxInt8) CreateRangeInt8(rawString, separator string) *RangeInt8
- func (receiver *MinMaxInt8) Difference() int8
- func (receiver *MinMaxInt8) DifferenceAbsolute() int8
- func (receiver *MinMaxInt8) IsInvalidValue(value int8) bool
- func (receiver *MinMaxInt8) IsWithinRange(value int8) bool
- func (receiver *MinMaxInt8) RangeLength() int8
- func (receiver *MinMaxInt8) Ranges() *[]int8
- func (receiver *MinMaxInt8) RangesInt() *[]int8
- type RangeAny
- func (r *RangeAny) CreateRangeInt() *RangeInt
- func (r *RangeAny) CreateRangeIntMinMax(minMax *MinMaxInt) *RangeInt
- func (r *RangeAny) CreateRangeString() *RangeString
- func (r *RangeAny) CreateStartEndString() *StartEndString
- func (r *RangeAny) EndString() string
- func (r *RangeAny) RawInputString() string
- func (r *RangeAny) StartString() string
- func (r *RangeAny) String() string
- type RangeByte
- func (r *RangeByte) Difference() byte
- func (r *RangeByte) DifferenceAbsolute() byte
- func (r *RangeByte) IsInvalidValue(value byte) bool
- func (r *RangeByte) IsValidPlusWithinRange(value byte) bool
- func (r *RangeByte) IsWithinRange(value byte) bool
- func (r *RangeByte) RangeLength() byte
- func (r *RangeByte) Ranges() *[]byte
- func (r *RangeByte) RangesInt() *[]byte
- func (r *RangeByte) String() string
- type RangeInt
- func (r *RangeInt) CreateRangeByte() *RangeByte
- func (r *RangeInt) CreateRangeInt16() *RangeInt16
- func (r *RangeInt) CreateRangeInt8() *RangeInt8
- func (r *RangeInt) Difference() int
- func (r *RangeInt) DifferenceAbsolute() int
- func (r *RangeInt) IsInvalidValue(value int) bool
- func (r *RangeInt) IsValidPlusWithinRange(value int) bool
- func (r *RangeInt) IsWithinRange(value int) bool
- func (r *RangeInt) RangeLength() int
- func (r *RangeInt) Ranges() *[]int
- func (r *RangeInt) RangesInt() *[]int
- func (r *RangeInt) ShallowCreateRangeByte() *RangeByte
- func (r *RangeInt) ShallowCreateRangeInt16() *RangeInt16
- func (r *RangeInt) ShallowCreateRangeInt8() *RangeInt8
- func (r *RangeInt) String() string
- type RangeInt16
- func (r *RangeInt16) Difference() int16
- func (r *RangeInt16) DifferenceAbsolute() int16
- func (r *RangeInt16) IsInvalidValue(value int16) bool
- func (r *RangeInt16) IsValidPlusWithinRange(value int16) bool
- func (r *RangeInt16) IsWithinRange(value int16) bool
- func (r *RangeInt16) RangeLength() int16
- func (r *RangeInt16) Ranges() *[]int16
- func (r *RangeInt16) RangesInt16() *[]int16
- func (r *RangeInt16) String() string
- type RangeInt8
- func (r *RangeInt8) Difference() int8
- func (r *RangeInt8) DifferenceAbsolute() int8
- func (r *RangeInt8) IsInvalidValue(value int8) bool
- func (r *RangeInt8) IsValidPlusWithinRange(value int8) bool
- func (r *RangeInt8) IsWithinRange(value int8) bool
- func (r *RangeInt8) RangeLength() int8
- func (r *RangeInt8) Ranges() *[]int8
- func (r *RangeInt8) RangesInt8() *[]int8
- func (r *RangeInt8) String() string
- type RangeString
- type StartEndInt
- func (it *StartEndInt) HasEnd() bool
- func (it *StartEndInt) HasStart() bool
- func (it *StartEndInt) IsEndGraterThan(val int) bool
- func (it *StartEndInt) IsInvalidAnyStartEnd() bool
- func (it *StartEndInt) IsInvalidEnd() bool
- func (it *StartEndInt) IsInvalidStart() bool
- func (it *StartEndInt) IsInvalidStartEndBoth() bool
- func (it *StartEndInt) IsStartEndBothDefined() bool
- func (it *StartEndInt) IsStartGraterThan(val int) bool
- func (it *StartEndInt) RangeInt(minMax *MinMaxInt) *RangeInt
- func (it *StartEndInt) RangeInt16(minMax *MinMaxInt16) *RangeInt16
- func (it *StartEndInt) RangeInt8(minMax *MinMaxInt8) *RangeInt8
- func (it *StartEndInt) StringColon() string
- func (it *StartEndInt) StringHyphen() string
- func (it *StartEndInt) StringSpace() string
- func (it *StartEndInt) StringUsingFormat(format string) string
- type StartEndSimpleString
- func (it *StartEndSimpleString) EndValidValue() *corestr.ValidValue
- func (it *StartEndSimpleString) HasEnd() bool
- func (it *StartEndSimpleString) HasStart() bool
- func (it *StartEndSimpleString) IsInvalidAnyStartEnd() bool
- func (it *StartEndSimpleString) IsInvalidEnd() bool
- func (it *StartEndSimpleString) IsInvalidStart() bool
- func (it *StartEndSimpleString) IsInvalidStartEndBoth() bool
- func (it *StartEndSimpleString) IsStartEndBothDefined() bool
- func (it *StartEndSimpleString) RangeInt(minMax *MinMaxInt) *RangeInt
- func (it *StartEndSimpleString) RangeInt16(minMax *MinMaxInt16) *RangeInt16
- func (it *StartEndSimpleString) RangeInt8(minMax *MinMaxInt8) *RangeInt8
- func (it *StartEndSimpleString) StartEndString() *StartEndString
- func (it *StartEndSimpleString) StartValidValue() *corestr.ValidValue
- func (it *StartEndSimpleString) StringColon() string
- func (it *StartEndSimpleString) StringHyphen() string
- func (it *StartEndSimpleString) StringSpace() string
- func (it *StartEndSimpleString) StringUsingFormat(format string) string
- type StartEndString
Constants ¶
This section is empty.
Variables ¶
var (
Within = &within{}
)
Functions ¶
This section is empty.
Types ¶
type MinMaxByte ¶
type MinMaxByte struct {
Min, Max byte
}
func (*MinMaxByte) CreateMinMaxInt ¶
func (receiver *MinMaxByte) CreateMinMaxInt() *MinMaxInt
func (*MinMaxByte) CreateRangeInt ¶
func (receiver *MinMaxByte) CreateRangeInt(rawString, separator string) *RangeInt
func (*MinMaxByte) CreateRangeInt16 ¶
func (receiver *MinMaxByte) CreateRangeInt16(rawString, separator string) *RangeInt16
func (*MinMaxByte) CreateRangeInt8 ¶
func (receiver *MinMaxByte) CreateRangeInt8(rawString, separator string) *RangeInt8
func (*MinMaxByte) Difference ¶
func (receiver *MinMaxByte) Difference() byte
func (*MinMaxByte) DifferenceAbsolute ¶
func (receiver *MinMaxByte) DifferenceAbsolute() byte
func (*MinMaxByte) IsInvalidValue ¶
func (receiver *MinMaxByte) IsInvalidValue(value byte) bool
IsInvalidValue !r.IsWithinRange(value)
func (*MinMaxByte) IsWithinRange ¶
func (receiver *MinMaxByte) IsWithinRange(value byte) bool
IsWithinRange r.Min >= value && value <= r.Max
func (*MinMaxByte) RangeLength ¶
func (receiver *MinMaxByte) RangeLength() byte
RangeLength (5 - 3 = 2) + 1
func (*MinMaxByte) Ranges ¶
func (receiver *MinMaxByte) Ranges() *[]byte
Ranges returns empty ints if IsInvalid return range int values
func (*MinMaxByte) RangesInt ¶
func (receiver *MinMaxByte) RangesInt() *[]byte
RangesInt returns empty ints if IsInvalid return range int values
type MinMaxInt ¶
type MinMaxInt struct {
Min, Max int
}
func (*MinMaxInt) CreateRangeInt ¶
func (*MinMaxInt) Difference ¶
func (*MinMaxInt) DifferenceAbsolute ¶
func (*MinMaxInt) IsInvalidValue ¶
IsInvalidValue !r.IsWithinRange(value)
func (*MinMaxInt) IsWithinRange ¶
IsWithinRange r.Min >= value && value <= r.Max
func (*MinMaxInt) RangeLength ¶
RangeLength (5 - 3 = 2) + 1
type MinMaxInt16 ¶
type MinMaxInt16 struct {
Min, Max int16
}
func (*MinMaxInt16) CreateMinMaxInt ¶
func (receiver *MinMaxInt16) CreateMinMaxInt() *MinMaxInt
func (*MinMaxInt16) CreateRangeInt ¶
func (receiver *MinMaxInt16) CreateRangeInt(rawString, separator string) *RangeInt
func (*MinMaxInt16) CreateRangeInt16 ¶
func (receiver *MinMaxInt16) CreateRangeInt16(rawString, separator string) *RangeInt16
func (*MinMaxInt16) CreateRangeInt8 ¶
func (receiver *MinMaxInt16) CreateRangeInt8(rawString, separator string) *RangeInt8
func (*MinMaxInt16) Difference ¶
func (receiver *MinMaxInt16) Difference() int16
func (*MinMaxInt16) DifferenceAbsolute ¶
func (receiver *MinMaxInt16) DifferenceAbsolute() int16
func (*MinMaxInt16) IsInvalidValue ¶
func (receiver *MinMaxInt16) IsInvalidValue(value int16) bool
IsInvalidValue !r.IsWithinRange(value)
func (*MinMaxInt16) IsWithinRange ¶
func (receiver *MinMaxInt16) IsWithinRange(value int16) bool
IsWithinRange r.Min >= value && value <= r.Max
func (*MinMaxInt16) RangeLength ¶
func (receiver *MinMaxInt16) RangeLength() int16
RangeLength (5 - 3 = 2) + 1
func (*MinMaxInt16) Ranges ¶
func (receiver *MinMaxInt16) Ranges() *[]int16
Ranges returns empty ints if IsInvalid return range int values
func (*MinMaxInt16) RangesInt ¶
func (receiver *MinMaxInt16) RangesInt() *[]int16
RangesInt returns empty ints if IsInvalid return range int values
type MinMaxInt8 ¶
type MinMaxInt8 struct {
Min, Max int8
}
func (*MinMaxInt8) CreateMinMaxInt ¶
func (receiver *MinMaxInt8) CreateMinMaxInt() *MinMaxInt
func (*MinMaxInt8) CreateRangeInt ¶
func (receiver *MinMaxInt8) CreateRangeInt(rawString, separator string) *RangeInt
func (*MinMaxInt8) CreateRangeInt16 ¶
func (receiver *MinMaxInt8) CreateRangeInt16(rawString, separator string) *RangeInt16
func (*MinMaxInt8) CreateRangeInt8 ¶
func (receiver *MinMaxInt8) CreateRangeInt8(rawString, separator string) *RangeInt8
func (*MinMaxInt8) Difference ¶
func (receiver *MinMaxInt8) Difference() int8
func (*MinMaxInt8) DifferenceAbsolute ¶
func (receiver *MinMaxInt8) DifferenceAbsolute() int8
func (*MinMaxInt8) IsInvalidValue ¶
func (receiver *MinMaxInt8) IsInvalidValue(value int8) bool
IsInvalidValue !r.IsWithinRange(value)
func (*MinMaxInt8) IsWithinRange ¶
func (receiver *MinMaxInt8) IsWithinRange(value int8) bool
IsWithinRange r.Min >= value && value <= r.Max
func (*MinMaxInt8) RangeLength ¶
func (receiver *MinMaxInt8) RangeLength() int8
RangeLength (5 - 3 = 2) + 1
func (*MinMaxInt8) Ranges ¶
func (receiver *MinMaxInt8) Ranges() *[]int8
Ranges returns empty ints if IsInvalid return range int values
func (*MinMaxInt8) RangesInt ¶
func (receiver *MinMaxInt8) RangesInt() *[]int8
RangesInt returns empty ints if IsInvalid return range int values
type RangeAny ¶
type RangeAny struct { *BaseRange RawInput interface{} Start, End interface{} }
func (*RangeAny) CreateRangeInt ¶
func (*RangeAny) CreateRangeIntMinMax ¶
func (*RangeAny) CreateRangeString ¶
func (r *RangeAny) CreateRangeString() *RangeString
func (*RangeAny) CreateStartEndString ¶
func (r *RangeAny) CreateStartEndString() *StartEndString
func (*RangeAny) RawInputString ¶
func (*RangeAny) StartString ¶
type RangeByte ¶
func NewRangeByte ¶
func NewRangeByte( rawString, separator string, minMax *MinMaxByte, ) *RangeByte
func NewRangeByteMinMax ¶
func (*RangeByte) Difference ¶
func (*RangeByte) DifferenceAbsolute ¶
func (*RangeByte) IsInvalidValue ¶
IsInvalidValue !r.IsValid || !r.IsWithinRange(value)
func (*RangeByte) IsValidPlusWithinRange ¶
IsValidPlusWithinRange r.IsValid && r.IsWithinRange(value)
func (*RangeByte) IsWithinRange ¶
IsWithinRange r.Start >= value && value <= r.End
type RangeInt ¶
func NewRangeInt ¶
NewRangeInt : MinMaxInt represent no validation on start and end range.
func NewRangeIntMinMax ¶
func NewRangeIntUsingValues ¶ added in v0.6.8
func (*RangeInt) CreateRangeByte ¶
func (*RangeInt) CreateRangeInt16 ¶
func (r *RangeInt) CreateRangeInt16() *RangeInt16
func (*RangeInt) CreateRangeInt8 ¶
func (*RangeInt) Difference ¶
func (*RangeInt) DifferenceAbsolute ¶
func (*RangeInt) IsInvalidValue ¶
IsInvalidValue !r.IsValid || !r.IsWithinRange(value)
func (*RangeInt) IsValidPlusWithinRange ¶
IsValidPlusWithinRange r.IsValid && r.IsWithinRange(value)
func (*RangeInt) IsWithinRange ¶
IsWithinRange r.Start >= value && value <= r.End
func (*RangeInt) ShallowCreateRangeByte ¶
func (*RangeInt) ShallowCreateRangeInt16 ¶
func (r *RangeInt) ShallowCreateRangeInt16() *RangeInt16
func (*RangeInt) ShallowCreateRangeInt8 ¶
type RangeInt16 ¶
func NewRangeInt16 ¶
func NewRangeInt16( rawString, separator string, minMaxInt16 *MinMaxInt16, ) *RangeInt16
func NewRangeInt16MinMax ¶
func NewRangeInt16MinMax( rawString, separator string, min, max int16, ) *RangeInt16
func (*RangeInt16) Difference ¶
func (r *RangeInt16) Difference() int16
func (*RangeInt16) DifferenceAbsolute ¶
func (r *RangeInt16) DifferenceAbsolute() int16
func (*RangeInt16) IsInvalidValue ¶
func (r *RangeInt16) IsInvalidValue(value int16) bool
IsInvalidValue !r.IsValid || !r.IsWithinRange(value)
func (*RangeInt16) IsValidPlusWithinRange ¶
func (r *RangeInt16) IsValidPlusWithinRange(value int16) bool
IsValidPlusWithinRange r.IsValid && r.IsWithinRange(value)
func (*RangeInt16) IsWithinRange ¶
func (r *RangeInt16) IsWithinRange(value int16) bool
IsWithinRange r.Start >= value && value <= r.End
func (*RangeInt16) RangeLength ¶
func (r *RangeInt16) RangeLength() int16
RangeLength (5 - 3 = 2) + 1
func (*RangeInt16) Ranges ¶
func (r *RangeInt16) Ranges() *[]int16
Ranges returns empty ints if IsInvalid return range int values
func (*RangeInt16) RangesInt16 ¶
func (r *RangeInt16) RangesInt16() *[]int16
RangesInt16 returns empty ints if IsInvalid return range int values
func (*RangeInt16) String ¶
func (r *RangeInt16) String() string
type RangeInt8 ¶
func NewRangeInt8 ¶
func NewRangeInt8( rawString, separator string, minMaxInt8 *MinMaxInt8, ) *RangeInt8
func NewRangeInt8MinMax ¶
func (*RangeInt8) Difference ¶
func (*RangeInt8) DifferenceAbsolute ¶
func (*RangeInt8) IsInvalidValue ¶
IsInvalidValue !r.IsValid || !r.IsWithinRange(value)
func (*RangeInt8) IsValidPlusWithinRange ¶
IsValidPlusWithinRange r.IsValid && r.IsWithinRange(value)
func (*RangeInt8) IsWithinRange ¶
IsWithinRange r.Start >= value && value <= r.End
func (*RangeInt8) RangesInt8 ¶
RangesInt8 returns empty ints if IsInvalid return range int values
type RangeString ¶
type RangeString struct {
*StartEndString
}
func NewRangeString ¶
func NewRangeString(raw, sep string) *RangeString
func (*RangeString) String ¶
func (r *RangeString) String() string
type StartEndInt ¶ added in v0.6.8
func (*StartEndInt) HasEnd ¶ added in v0.6.8
func (it *StartEndInt) HasEnd() bool
func (*StartEndInt) HasStart ¶ added in v0.6.8
func (it *StartEndInt) HasStart() bool
func (*StartEndInt) IsEndGraterThan ¶ added in v0.6.8
func (it *StartEndInt) IsEndGraterThan(val int) bool
func (*StartEndInt) IsInvalidAnyStartEnd ¶ added in v0.6.8
func (it *StartEndInt) IsInvalidAnyStartEnd() bool
func (*StartEndInt) IsInvalidEnd ¶ added in v0.6.8
func (it *StartEndInt) IsInvalidEnd() bool
func (*StartEndInt) IsInvalidStart ¶ added in v0.6.8
func (it *StartEndInt) IsInvalidStart() bool
func (*StartEndInt) IsInvalidStartEndBoth ¶ added in v0.6.8
func (it *StartEndInt) IsInvalidStartEndBoth() bool
func (*StartEndInt) IsStartEndBothDefined ¶ added in v0.6.8
func (it *StartEndInt) IsStartEndBothDefined() bool
func (*StartEndInt) IsStartGraterThan ¶ added in v0.6.8
func (it *StartEndInt) IsStartGraterThan(val int) bool
func (*StartEndInt) RangeInt ¶ added in v0.6.8
func (it *StartEndInt) RangeInt(minMax *MinMaxInt) *RangeInt
func (*StartEndInt) RangeInt16 ¶ added in v0.6.8
func (it *StartEndInt) RangeInt16(minMax *MinMaxInt16) *RangeInt16
func (*StartEndInt) RangeInt8 ¶ added in v0.6.8
func (it *StartEndInt) RangeInt8(minMax *MinMaxInt8) *RangeInt8
func (*StartEndInt) StringColon ¶ added in v0.6.8
func (it *StartEndInt) StringColon() string
func (*StartEndInt) StringHyphen ¶ added in v0.6.8
func (it *StartEndInt) StringHyphen() string
func (*StartEndInt) StringSpace ¶ added in v0.6.8
func (it *StartEndInt) StringSpace() string
func (*StartEndInt) StringUsingFormat ¶ added in v0.6.8
func (it *StartEndInt) StringUsingFormat(format string) string
type StartEndSimpleString ¶ added in v0.6.8
func (*StartEndSimpleString) EndValidValue ¶ added in v0.6.8
func (it *StartEndSimpleString) EndValidValue() *corestr.ValidValue
func (*StartEndSimpleString) HasEnd ¶ added in v0.6.8
func (it *StartEndSimpleString) HasEnd() bool
func (*StartEndSimpleString) HasStart ¶ added in v0.6.8
func (it *StartEndSimpleString) HasStart() bool
func (*StartEndSimpleString) IsInvalidAnyStartEnd ¶ added in v0.6.8
func (it *StartEndSimpleString) IsInvalidAnyStartEnd() bool
func (*StartEndSimpleString) IsInvalidEnd ¶ added in v0.6.8
func (it *StartEndSimpleString) IsInvalidEnd() bool
func (*StartEndSimpleString) IsInvalidStart ¶ added in v0.6.8
func (it *StartEndSimpleString) IsInvalidStart() bool
func (*StartEndSimpleString) IsInvalidStartEndBoth ¶ added in v0.6.8
func (it *StartEndSimpleString) IsInvalidStartEndBoth() bool
func (*StartEndSimpleString) IsStartEndBothDefined ¶ added in v0.6.8
func (it *StartEndSimpleString) IsStartEndBothDefined() bool
func (*StartEndSimpleString) RangeInt ¶ added in v0.6.8
func (it *StartEndSimpleString) RangeInt(minMax *MinMaxInt) *RangeInt
func (*StartEndSimpleString) RangeInt16 ¶ added in v0.6.8
func (it *StartEndSimpleString) RangeInt16(minMax *MinMaxInt16) *RangeInt16
func (*StartEndSimpleString) RangeInt8 ¶ added in v0.6.8
func (it *StartEndSimpleString) RangeInt8(minMax *MinMaxInt8) *RangeInt8
func (*StartEndSimpleString) StartEndString ¶ added in v0.6.8
func (it *StartEndSimpleString) StartEndString() *StartEndString
func (*StartEndSimpleString) StartValidValue ¶ added in v0.6.8
func (it *StartEndSimpleString) StartValidValue() *corestr.ValidValue
func (*StartEndSimpleString) StringColon ¶ added in v0.6.8
func (it *StartEndSimpleString) StringColon() string
func (*StartEndSimpleString) StringHyphen ¶ added in v0.6.8
func (it *StartEndSimpleString) StringHyphen() string
func (*StartEndSimpleString) StringSpace ¶ added in v0.6.8
func (it *StartEndSimpleString) StringSpace() string
func (*StartEndSimpleString) StringUsingFormat ¶ added in v0.6.8
func (it *StartEndSimpleString) StringUsingFormat(format string) string
type StartEndString ¶
func NewStartEndString ¶
func NewStartEndString(raw, sep string) *StartEndString
func NewStartEndStringUsingLines ¶ added in v0.5.2
func NewStartEndStringUsingLines(lines []string) *StartEndString
NewStartEndStringUsingLines using first, last index
func (*StartEndString) CreateRangeString ¶
func (r *StartEndString) CreateRangeString() *RangeString
func (*StartEndString) String ¶
func (r *StartEndString) String() string