1
0
Fork 0
miniflux/internal/googlereader
jvoisin 1f5c8ce353 Don't mix up capacity and length
- `make([]a, b)` create a slice of `b` elements `a`
- `make([]a, b, c)` create a slice of `0` elements `a`, but reserve space for `c` of them

When using `append` on the former, it will result on a slice with `b` leading
elements, which is unlikely to be what we want. This commit replaces the two
instances where this happens with the latter construct.
2024-02-28 19:57:30 -08:00
..
handler.go Don't mix up capacity and length 2024-02-28 19:57:30 -08:00
middleware.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
response.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00