mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
*
This commit is contained in:
parent
94084e0e41
commit
9de982bae3
3
main.go
3
main.go
@ -10,6 +10,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
fmt.Println(os.Args[0])
|
||||||
commands.RegisterDataBase()
|
commands.RegisterDataBase()
|
||||||
commands.RegisterModel()
|
commands.RegisterModel()
|
||||||
commands.RegisterLogger()
|
commands.RegisterLogger()
|
||||||
@ -19,6 +20,6 @@ func main() {
|
|||||||
beego.SetStaticPath("uploads","uploads")
|
beego.SetStaticPath("uploads","uploads")
|
||||||
|
|
||||||
|
|
||||||
fmt.Printf("%+v",os.Args)
|
|
||||||
beego.Run()
|
beego.Run()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user