MCPcopy Create free account
hub / github.com/bracesdev/errtrace / indent

Function indent

cmd/errtrace/main_test.go:851–853  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

849}
850
851func indent(s string) string {
852 return "\t" + strings.ReplaceAll(s, "\n", "\n\t")
853}
854
855type logLine struct {
856 Line int

Callers 3

testGoldenContentsFunction · 0.85
TestFormatAutoFunction · 0.85
TestListFlagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected