Commit Graph

6 Commits

Author SHA1 Message Date
Alexis Couvreur
8844a36e4a refactor(logging): use slog instead of logrus (#501)
Everything uses slog now and the logger is part of every struct
2025-02-02 23:01:51 -05:00
Alexis Couvreur
8b113a3c76 fix: changing module to github.com/sablierapp/sablier 2024-10-20 23:54:53 -04:00
Alexis Couvreur
80f2304375 fix(storage): initialize file to an empty JSON
It will avoir error message like `time="2022-11-14T01:40:49Z" level=error msg="error loading sessionsEOF"`
2022-11-14 15:15:39 +00:00
Alexis Couvreur
fc9e1fa8d2 fix(storage): close file after initialization 2022-11-14 14:57:06 +00:00
Alexis Couvreur
29b81f9de3 fix(storage): add O_TRUNC flag to Writer
Overriding the file in order to remove garbage if writing less than the previous content
2022-11-02 23:15:06 -04:00
Alexis Couvreur
04c55c2f49 stabilization 2022-11-02 23:15:06 -04:00