Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ NewCredit
Function
NewCredit
models/credit.go:81–83 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
79
}
80
81
func
NewCredit() *Credit {
82
return
&Credit{}
83
}
84
85
// Insert 给用户新增积分
86
func
(m *Credit) Insert(uid int, ruleIdentify string) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected