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

Method SetKey

backend/ent/mutation.go:406–408  ·  view source on GitHub ↗

SetKey sets the "key" field.

(s string)

Source from the content-addressed store, hash-verified

404
405// SetKey sets the "key" field.
406func (m *APIKeyMutation) SetKey(s string) {
407 m.key = &s
408}
409
410// Key returns the value of the "key" field in the mutation.
411func (m *APIKeyMutation) Key() (r string, exists bool) {

Calls

no outgoing calls