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.
 
 
 

29 lines
397 B

package main
import (
"log"
"PersonalWebsite/Database"
"PersonalWebsite/Variables"
"PersonalWebsite/Webserver"
)
func main() {
var e error
log.Println("Initialising database connection...")
Database.InitDatabaseConn()
if e != nil {
log.Fatal(e)
}
log.Printf(
"Starting webserver on %s\n",
Variables.WebserverHost,
)
e = Webserver.Start()
if e != nil {
log.Fatal(e)
}
}