Sketch
This commit is contained in:
17
src/internal/config/interface.go
Normal file
17
src/internal/config/interface.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package config
|
||||
|
||||
import "log/slog"
|
||||
|
||||
type LoggingConfig struct {
|
||||
Instance *slog.Logger
|
||||
Level string
|
||||
ShowCanDump bool
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Timezone string
|
||||
ServiceURL string
|
||||
|
||||
LoggingConfig
|
||||
DatabaseConfig
|
||||
}
|
||||
Reference in New Issue
Block a user