gitlab.com/evatix-go/core@v1.3.55/coreutils/stringutil/ClonePtr.go (about) 1 package stringutil 2 3 func ClonePtr(strIn *string) (cloneOut *string) { 4 if strIn == nil { 5 return nil 6 } 7 8 var strNew string 9 10 strNew = *strIn 11 12 return &strNew 13 }