move config
This commit is contained in:
@@ -2,10 +2,11 @@ package models
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"oc-workflow/conf"
|
||||
)
|
||||
|
||||
func init() {
|
||||
c := GetConfig()
|
||||
c := conf.GetConfig()
|
||||
// configure storage
|
||||
fmt.Println(c.MongoUrl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user