18 lines
222 B
Go
18 lines
222 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
"lux/conf"
|
|
)
|
|
|
|
var config *conf.LuxConfig = &conf.LuxConfig{}
|
|
|
|
func main() {
|
|
err := config.ParseConfig("run/etc/lux.conf")
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
fmt.Println(config)
|
|
}
|