gitlab.com/evatix-go/core@v1.3.55/coredata/corerange/RangeString.go (about)

     1  package corerange
     2  
     3  type RangeString struct {
     4  	*StartEndString
     5  }
     6  
     7  func NewRangeString(raw, sep string) *RangeString {
     8  	return &RangeString{
     9  		StartEndString: NewStartEndString(raw, sep),
    10  	}
    11  }
    12  
    13  func (r *RangeString) String() string {
    14  	return r.BaseRange.String(r.Start, r.End)
    15  }