gitlab.com/evatix-go/core@v1.3.55/coredata/stringslice/IndexValuesDetail.go (about)

     1  package stringslice
     2  
     3  type IndexValuesDetail struct {
     4  	Values         []string
     5  	MissingIndexes []int
     6  	IsAnyMissing   bool
     7  	IsValid        bool // represent all missing or not found any
     8  }
     9  
    10  func InvalidIndexValuesDetail() *IndexValuesDetail {
    11  	return &IndexValuesDetail{
    12  		Values:         []string{},
    13  		MissingIndexes: []int{},
    14  		IsAnyMissing:   true,
    15  		IsValid:        false,
    16  	}
    17  }