style: linker

This commit is contained in:
songzhibin97
2021-12-06 12:44:26 +08:00
parent 2b9365da17
commit 0fe4750991
95 changed files with 208 additions and 235 deletions
+2 -3
View File
@@ -17,8 +17,7 @@ import (
//@param: auth model.SysAuthority
//@return: err error, authority model.SysAuthority
type AuthorityService struct {
}
type AuthorityService struct{}
var AuthorityServiceApp = new(AuthorityService)
@@ -100,7 +99,7 @@ func (authorityService *AuthorityService) DeleteAuthority(auth *system.SysAuthor
if err != nil {
return
}
//err = db.Association("SysBaseMenus").Delete(&auth)
// err = db.Association("SysBaseMenus").Delete(&auth)
} else {
err = db.Error
if err != nil {