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

     1  package stringslice
     2  
     3  import "gitlab.com/evatix-go/core/constants"
     4  
     5  func MakeDefaultPtr(capacity int) *[]string {
     6  	slice := make([]string, constants.Zero, capacity)
     7  
     8  	return &slice
     9  }