You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
482 B

package main
import (
"log"
"git.tovijaeschke.xyz/tovi/personal_website/database"
"git.tovijaeschke.xyz/tovi/personal_website/variables"
"git.tovijaeschke.xyz/tovi/personal_website/webserver"
)
func main() {
log.Println("Initialising database connection...")
err := database.InitDatabaseConn()
if err != nil {
log.Fatal(err)
}
log.Printf(
"Starting webserver on %s\n",
variables.WebserverHost,
)
err = webserver.Start()
if err != nil {
log.Fatal(err)
}
}