gitlab.com/evatix-go/core@v1.3.55/simplewrap/WrapWith.go (about)

     1  package simplewrap
     2  
     3  func With(start, end, source string) string {
     4  	return start + source + end
     5  }
     6  
     7  func WithPtr(start, end, source *string) *string {
     8  	final := *start + *source + *end
     9  
    10  	return &final
    11  }