MCPcopy Index your code
hub / github.com/TruthHun/BookStack / FindByNickname

Method FindByNickname

models/member.go:240–243  ·  view source on GitHub ↗
(nickname string, cols ...string)

Source from the content-addressed store, hash-verified

238}
239
240func (m *Member) FindByNickname(nickname string, cols ...string) (user Member) {
241 orm.NewOrm().QueryTable(m).Filter("nickname", nickname).One(&user, cols...)
242 return
243}
244
245func (m *Member) ResolveRoleName() {
246 switch m.Role {

Callers 1

IndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected