gitlab.com/evatix-go/core@v1.3.55/simplewrap/WrapWithStartEnd.go (about) 1 package simplewrap 2 3 // WithStartEnd wrapper + source + wrapper 4 func WithStartEnd(wrapper, source string) string { 5 return wrapper + source + wrapper 6 } 7 8 // WithStartEndPtr wrapper + source + wrapper 9 func WithStartEndPtr(wrapper, source *string) *string { 10 final := *wrapper + *source + *wrapper 11 12 return &final 13 }