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

Method SetValue

ent/setting_create.go:74–77  ·  view source on GitHub ↗

SetValue sets the "value" field.

(s string)

Source from the content-addressed store, hash-verified

72
73// SetValue sets the "value" field.
74func (sc *SettingCreate) SetValue(s string) *SettingCreate {
75 sc.mutation.SetValue(s)
76 return sc
77}
78
79// SetNillableValue sets the "value" field if the given value is not nil.
80func (sc *SettingCreate) SetNillableValue(s *string) *SettingCreate {

Callers 1

SetNillableValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected