Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ RootUserExists
Function
RootUserExists
model/user.go:823–830 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
821
}
822
823
func
RootUserExists() bool {
824
var
user User
825
err := DB.Where(
"role = ?"
, common.RoleRootUser).First(&user).Error
826
if
err != nil {
827
return
false
828
}
829
return
true
830
}
Callers
3
GetSetup
Function · 0.92
PostSetup
Function · 0.92
CheckSetup
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected