1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00
Files
incus/cmd/incus-agent
JUN JIE NAN 71454862c1 incus-agent: Simplify code by using modern constructs
Using more modern features of Go, such as:
- conditional assignment -> built-in min or max in go1.21,
- sort.Slice -> slices.Sort in go1.21,
- loop assign map -> maps.Copy in go1.21,
- []byte(fmt.Sprintf...) -> fmt.Appendf(nil,...) in go1.19,
- strings.HasPrefix / strings.TrimPrefix -> strings.CutPrefix in go1.20

Signed-off-by: JUN JIE NAN <nanjunjie@gmail.com>
2025-05-17 12:24:01 -04:00
..
2024-04-05 11:11:11 -04:00
2024-04-05 11:11:11 -04:00
2024-04-05 11:11:11 -04:00
2024-04-05 11:11:11 -04:00
2024-04-05 11:11:11 -04:00
2025-04-28 00:05:10 -04:00
2025-04-28 00:05:09 -04:00
2025-04-24 00:49:56 -04:00