feat: added logging and some routes with fmt

This commit is contained in:
Cereska
2026-02-18 12:40:10 -05:00
parent 150f95ee0b
commit 9a0e8d46c8
21 changed files with 204 additions and 123 deletions

View File

@@ -1,19 +1,19 @@
package config
import (
"github.com/charmbracelet/log"
"blog/internal/config/env"
"github.com/charmbracelet/log"
)
type ServerConfig struct {
Host string
Port int
Host string
Port int
StrapiEndpoint string
RedisHost string
RedisPort int
StrapiToken string
CacheTTL int
EchoMode string
RedisHost string
RedisPort int
StrapiToken string
CacheTTL int
EchoMode string
}
func NewServerConfig() *ServerConfig {