Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CreateUser
Function
CreateUser
internal/db/user.go:44–46 ·
view source on GitHub ↗
(u *model.User)
Source
from the content-addressed store, hash-verified
42
}
43
44
func
CreateUser(u *model.User) error {
45
return
errors.WithStack(db.Create(u).Error)
46
}
47
48
func
UpdateUser(u *model.User) error {
49
return
errors.WithStack(db.Save(u).Error)
Callers
4
CreateUser
Function · 0.92
initDevData
Function · 0.92
initUser
Function · 0.92
autoRegister
Function · 0.92
Calls
1
Create
Method · 0.65
Tested by
no test coverage detected