update main
This commit is contained in:
parent
6ddc5c025c
commit
b9781eb545
5
main.go
5
main.go
|
@ -3,9 +3,8 @@ package main
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
_ "expvar"
|
_ "expvar"
|
||||||
"infini.sh/framework/core/elastic"
|
|
||||||
|
|
||||||
"infini.sh/framework"
|
"infini.sh/framework"
|
||||||
|
"infini.sh/framework/core/elastic"
|
||||||
"infini.sh/framework/core/env"
|
"infini.sh/framework/core/env"
|
||||||
"infini.sh/framework/core/module"
|
"infini.sh/framework/core/module"
|
||||||
"infini.sh/framework/core/orm"
|
"infini.sh/framework/core/orm"
|
||||||
|
@ -37,7 +36,7 @@ func main() {
|
||||||
terminalFooter += ("©2020 INFINI.LTD, All Rights Reserved.\n")
|
terminalFooter += ("©2020 INFINI.LTD, All Rights Reserved.\n")
|
||||||
|
|
||||||
app := framework.NewApp("search-center", "the easiest way to operate your own search center.",
|
app := framework.NewApp("search-center", "the easiest way to operate your own search center.",
|
||||||
config.Version, config.LastCommitLog, config.BuildDate, terminalHeader, terminalFooter)
|
config.Version, config.LastCommitLog, config.BuildDate,config.EOLDate, terminalHeader, terminalFooter)
|
||||||
|
|
||||||
app.Init(nil)
|
app.Init(nil)
|
||||||
defer app.Shutdown()
|
defer app.Shutdown()
|
||||||
|
|
Loading…
Reference in New Issue