2020-10-22 21:19:26 +01:00
|
|
|
package main
|
|
|
|
|
2020-10-23 10:24:20 +01:00
|
|
|
import (
|
|
|
|
"fmt"
|
2020-10-23 20:07:15 +01:00
|
|
|
"mbpl3p/config"
|
2020-10-23 10:24:20 +01:00
|
|
|
)
|
2020-10-22 21:19:26 +01:00
|
|
|
|
|
|
|
func main() {
|
2020-10-23 20:07:15 +01:00
|
|
|
c, err := config.LoadConfig("config.ini")
|
2020-10-23 10:24:20 +01:00
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
|
2020-10-23 20:07:15 +01:00
|
|
|
fmt.Printf("%+v\n", c)
|
2020-10-22 21:19:26 +01:00
|
|
|
}
|