mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-03 04:50:14 +08:00
20 lines
377 B
Go
20 lines
377 B
Go
package main
|
|
|
|
import (
|
|
. "github.com/mickael-kerjean/nuage/server/common"
|
|
"github.com/mickael-kerjean/nuage/server/router"
|
|
"strconv"
|
|
)
|
|
|
|
var APP_URL string
|
|
|
|
func main() {
|
|
app := App{}
|
|
app.Config = NewConfig()
|
|
app.Helpers = NewHelpers(app.Config)
|
|
router.Init(&app)
|
|
|
|
APP_URL = "http://" + app.Config.General.Host + ":" + strconv.Itoa(app.Config.General.Port)
|
|
select {}
|
|
}
|