We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c5576b commit fde9044Copy full SHA for fde9044
log/format.go
@@ -340,7 +340,7 @@ func writeTimeTermFormat(buf *bytes.Buffer, t time.Time) {
340
341
// writePosIntWidth writes non-negative integer i to the buffer, padded on the left
342
// by zeroes to the given width. Use a width of 0 to omit padding.
343
-// Adapted from golang.org/x/exp/slog/internal/buffer/buffer.go
+// Adapted from pkg.go.dev/log/slog/internal/buffer
344
func writePosIntWidth(b *bytes.Buffer, i, width int) {
345
// Cheap integer to fixed-width decimal ASCII.
346
// Copied from log/log.go.
0 commit comments