large changes

This commit is contained in:
2025-12-26 10:06:23 -05:00
parent 9d7dbc31ca
commit e4eb7d62e4
15 changed files with 119 additions and 90 deletions

22
modules/config/config.go Normal file
View File

@@ -0,0 +1,22 @@
package config
import (
"embed"
"errors"
)
var Lib embed.FS
var Doc string
var Port *int
var Color *bool
var Static *bool
type AppConfig struct {
App struct {
Name string `toml:"name"`
Version string `toml:"version"`
Authors []string `toml:"authors"`
} `toml:"app"`
}
var ErrRouteMiss = errors.New("not found")