alpha p1
This commit is contained in:
14
src/config/config.go
Normal file
14
src/config/config.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import "embed"
|
||||
|
||||
var Core embed.FS
|
||||
var Port *int
|
||||
|
||||
type MyConfig struct {
|
||||
App struct {
|
||||
Name string `toml:"name"`
|
||||
Version string `toml:"version"`
|
||||
Authors []string `toml:"authors"`
|
||||
} `toml:"app"`
|
||||
}
|
||||
Reference in New Issue
Block a user