MCPcopy
hub / github.com/Wei-Shaw/sub2api / SetUsername

Method SetUsername

backend/ent/mutation.go:39748–39750  ·  view source on GitHub ↗

SetUsername sets the "username" field.

(s string)

Source from the content-addressed store, hash-verified

39746
39747// SetUsername sets the "username" field.
39748func (m *UserMutation) SetUsername(s string) {
39749 m.username = &s
39750}
39751
39752// Username returns the value of the "username" field in the mutation.
39753func (m *UserMutation) Username() (r string, exists bool) {

Calls

no outgoing calls