mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +01:00
format comment
This commit is contained in:
parent
145e3537ab
commit
867911e96e
@ -100,7 +100,7 @@ func InitDB() {
|
|||||||
|
|
||||||
var globalOrm orm.Ormer
|
var globalOrm orm.Ormer
|
||||||
|
|
||||||
//orm singleton
|
// GetOrmer :set ormer singleton
|
||||||
func GetOrmer() orm.Ormer {
|
func GetOrmer() orm.Ormer {
|
||||||
if globalOrm == nil {
|
if globalOrm == nil {
|
||||||
globalOrm = orm.NewOrm()
|
globalOrm = orm.NewOrm()
|
||||||
|
Loading…
Reference in New Issue
Block a user