MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetNick

Method SetNick

ent/user_create.go:84–87  ·  view source on GitHub ↗

SetNick sets the "nick" field.

(s string)

Source from the content-addressed store, hash-verified

82
83// SetNick sets the "nick" field.
84func (uc *UserCreate) SetNick(s string) *UserCreate {
85 uc.mutation.SetNick(s)
86 return uc
87}
88
89// SetPassword sets the "password" field.
90func (uc *UserCreate) SetPassword(s string) *UserCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected