MCPcopy Index your code
hub / github.com/coder/slog / quoteKey

Function quoteKey

internal/entryhuman/entry.go:422–425  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

420}
421
422func quoteKey(key string) string {
423 // Replace spaces in the map keys with underscores.
424 return quote(strings.ReplaceAll(key, " ", "_"))
425}

Callers 1

FmtMethod · 0.85

Calls 1

quoteFunction · 0.85

Tested by

no test coverage detected