MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / SetNillableUpdated

Method SetNillableUpdated

ent/dbpackage_create.go:124–129  ·  view source on GitHub ↗

SetNillableUpdated sets the "updated" field if the given value is not nil.

(v *time.Time)

Source from the content-addressed store, hash-verified

122
123// SetNillableUpdated sets the "updated" field if the given value is not nil.
124func (_c *DBPackageCreate) SetNillableUpdated(v *time.Time) *DBPackageCreate {
125 if v != nil {
126 _c.SetUpdated(*v)
127 }
128 return _c
129}
130
131// SetLto sets the "lto" field.
132func (_c *DBPackageCreate) SetLto(v dbpackage.Lto) *DBPackageCreate {

Callers

nothing calls this directly

Calls 1

SetUpdatedMethod · 0.95

Tested by

no test coverage detected