MCPcopy Index your code
hub / github.com/devspace-sh/devspace / formatInt

Function formatInt

pkg/util/log/stream_logger.go:167–173  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

165}
166
167func formatInt(i int) string {
168 formatted := strconv.Itoa(i)
169 if len(formatted) == 1 {
170 formatted = "0" + formatted
171 }
172 return formatted
173}
174
175func (s *StreamLogger) GetFormat() Format {
176 s.m.Lock()

Callers 1

writeMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected