Files
beszel-ipv6/beszel
Chuangbo Li 19b4477a75 fix: json.Unmarshal not resetting struct fields (#345)
The json.Unmarshal function was not properly resetting the Stats struct fields between iterations in the loop. This caused incorrect values to be retained from previous iterations, leading to unexpected behavior.

This commit fixes the issue by zero the struct in each loop iteration, ensures that each unmarshaling operation starts with a clean struct, preventing value carryover.
2024-12-28 17:06:37 -05:00
..
2024-12-27 11:11:05 -05:00
2024-08-11 13:57:09 -04:00
2024-09-01 18:25:40 -04:00
2024-09-01 18:25:40 -04:00
2024-12-17 17:25:01 -05:00
2024-12-17 17:25:01 -05:00
2024-12-16 13:48:17 -05:00
2024-12-17 18:55:02 -05:00