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

Function nVars

cmd/errtrace/main.go:1204–1210  ·  view source on GitHub ↗
(prefix string, n int)

Source from the content-addressed store, hash-verified

1202}
1203
1204func nVars(prefix string, n int) []string {
1205 vars := make([]string, n)
1206 for i := 0; i < n; i++ {
1207 vars[i] = fmt.Sprintf("%s%d", prefix, i+1)
1208 }
1209 return vars
1210}
1211
1212func logln(w io.Writer, s string) {
1213 // logging writes are best-effort

Callers 1

rewriteFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected