using internal

This commit is contained in:
2025-07-31 17:24:57 -03:00
parent 625fe7c05b
commit ca90f929d7
3 changed files with 79 additions and 44 deletions

View File

@@ -6,6 +6,8 @@ import (
"net/http"
"os"
"packets/internal"
"github.com/BurntSushi/toml"
)
@@ -17,6 +19,8 @@ type ConfigTOML struct {
}
func main() {
internal.PacketsPackageDir()
var cfg ConfigTOML
toml.Decode("opt/packets/packets/config.toml", &cfg)