MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / replaceCommentNewline

Function replaceCommentNewline

pkg/sql2code/parser/parser.go:415–422  ·  view source on GitHub ↗
(comment string)

Source from the content-addressed store, hash-verified

413}
414
415func replaceCommentNewline(comment string) string {
416 for _, r := range newlineIdentifier {
417 if strings.Contains(comment, r.old) {
418 comment = strings.ReplaceAll(comment, r.old, r.new)
419 }
420 }
421 return comment
422}
423
424type codeText struct {
425 importPaths []string

Callers 1

makeCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…