Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ Insert
Method
Insert
models/reg_limit.go:60–67 ·
view source on GitHub ↗
(ip string)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(rl *RegLimit) Insert(ip string) (err error) {
61
rl.Ip = ip
62
rl.CreatedAt = time.Now()
63
if
_, err = orm.NewOrm().Insert(rl); err != nil {
64
beego.Error(err)
65
}
66
return
67
}
Callers
1
Register
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected