redesign structure, add get endpoint

This commit is contained in:
katefort 2025-04-21 18:28:55 -05:00
parent 3dacf06005
commit a216cc14dd
14 changed files with 176 additions and 77 deletions

13
internal/utils/logger.go Normal file
View file

@ -0,0 +1,13 @@
package utils
import (
"github.com/sirupsen/logrus"
)
func InitializeLogger() *logrus.Logger {
log := logrus.New()
log.SetFormatter(&logrus.TextFormatter{
FullTimestamp: true, // Include the full timestamp (with date and time)
})
return log
}