import (
"database/sql"
"net/http"
+ "strconv"
)
// ============================================================================
http.HandleFunc("/", handler)
- http.ListenAndServe(":8001", nil)
+ config := GetConfig()
+ http.ListenAndServe(":" + strconv.Itoa(config.port), nil)
}