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