gitlab.com/evatix-go/core@v1.3.55/coredata/stringslice/SafeRangeItemsPtr.go (about) 1 package stringslice 2 3 func SafeRangeItemsPtr( 4 slice *[]string, 5 start, end int, 6 ) *[]string { 7 if slice == nil || *slice == nil { 8 return &[]string{} 9 } 10 11 results := SafeRangeItems(*slice, start, end) 12 13 return &results 14 }