Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evilsocket/pwngrid
/ Update
Function
Update
models/setup.go:32–34 ·
view source on GitHub ↗
(v interface{})
Source
from the content-addressed store, hash-verified
30
}
31
32
func
Update(v
interface
{}) *gorm.DB {
33
return
db.Model(v).Update(v)
34
}
35
36
func
UpdateFields(v
interface
{}, fields
map
[string]
interface
{}) *gorm.DB {
37
return
db.Model(v).Updates(fields)
Callers
1
unitReport
Method · 0.92
Calls
1
Update
Method · 0.80
Tested by
no test coverage detected