2024-02-22 10:18:59 +01:00
|
|
|
package main
|
|
|
|
|
2024-02-22 20:52:37 +01:00
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
|
|
|
|
"git.jmbit.de/jmb/goipam/db"
|
|
|
|
"git.jmbit.de/jmb/goipam/web"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
readConfig()
|
|
|
|
db.SetupDB()
|
|
|
|
db.ConnectDB()
|
|
|
|
err := web.Run()
|
|
|
|
if err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
}
|
2024-02-22 10:18:59 +01:00
|
|
|
}
|