changed logger
parent
c209fd61e7
commit
c5565114bf
3
main.go
3
main.go
|
@ -15,7 +15,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"clickandjoin.app/storageserver/modules/config"
|
"clickandjoin.app/storageserver/modules/config"
|
||||||
|
@ -49,7 +48,7 @@ func main() {
|
||||||
router.SetupRoutes(app)
|
router.SetupRoutes(app)
|
||||||
|
|
||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 {
|
||||||
log.Fatalln("Please specify port")
|
gocnjhelper.LogFatal("Please specify port")
|
||||||
}
|
}
|
||||||
|
|
||||||
app.Listen("127.0.0.1:" + os.Args[1])
|
app.Listen("127.0.0.1:" + os.Args[1])
|
||||||
|
|
Loading…
Reference in New Issue