text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (p *Pair) KeyIsValid() bool { if strings.Contains(p.Key, "\n") { return false } if strings.Contains(p.Key, ":") { return false } return true }
[ -0.5986358523368835, -0.5962029695510864, 0.42658913135528564, -0.19994452595710754, -0.8686525821685791, 0.9915435910224915, -1.5690522193908691, 0.7988498210906982, -0.5240198373794556, 0.6369262933731079, 0.5342516899108887, 0.08648226410150528, -0.5595915913581848, -0.07246194779872894...
func (p *Pair) ValueIsValid() bool { if strings.Contains(p.Value, "\n") { return false } // No format means that anything is valid as long as there are no // invalid characters. if len(p.Format) == 0 { return true } // Value does not match format. if components := strings.SplitN(p.Value, ",", len(p.Format...
[ -0.5376607775688171, -0.34109991788864136, 0.5858228206634521, 0.23879897594451904, -0.22636115550994873, 0.18615122139453888, -0.38174763321876526, -0.17232482135295868, 0.2717483639717102, 0.2737083435058594, 0.7615624070167542, 0.7459107041358948, -0.11649036407470703, 0.057914964854717...
func (p *Pair) Get(fkey string) string { var ( idx int = -1 ) if len(p.Format) == 0 { return "" } for i, formatKey := range p.Format { if formatKey == fkey { idx = i break } } if idx == -1 { return "" } components := strings.SplitN(p.Value, ",", len(p.Format)) if idx >= len(components) { ...
[ -1.3409866094589233, -0.23531277477741241, 0.8252730369567871, -0.5981475710868835, -0.5434473752975464, -0.6797342300415039, -0.7224787473678589, -0.45516085624694824, 0.08581080287694931, 0.8658027648925781, 1.1337236166000366, -0.043816275894641876, -0.5969032049179077, -0.2142449766397...
func (p *Pair) Set(fkey, fvalue string) bool { var ( idx int = -1 ) components := strings.SplitN(p.Value, ",", len(p.Format)) if len(p.Format) == 0 { return false } if len(components) != len(p.Format) { return false } for i, formatKey := range p.Format { if formatKey == fkey { idx = i break }...
[ -1.4732837677001953, -0.2338041514158249, 0.7497822642326355, -0.7171612977981567, -0.8540937304496765, -0.06491657346487045, -0.6747691035270691, 0.023948313668370247, -0.5251665115356445, 0.5217000842094421, 0.4009411036968231, -0.45060592889785767, -0.4597434997558594, 0.239042431116104...
func NewFromPath(path string) (Format, error) { name := strings.TrimPrefix(filepath.Ext(path), ".") if synonym, ok := synonyms[name]; ok { name = synonym } return New(strings.ToLower(name)) }
[ 1.120973825454712, -1.4968671798706055, 0.5326452255249023, -0.31073522567749023, -1.331160545349121, -0.2852209806442261, -0.38885602355003357, -0.688928484916687, 0.5547628998756409, -0.34599560499191284, 0.20206525921821594, 0.14028985798358917, 0.19140364229679108, -0.21225500106811523...
func New(name string) (Format, error) { if name == "" { return nil, NewErrFormatNameIsEmpty() } if synonym, ok := synonyms[name]; ok { name = synonym } switch name { case JSON: return NewJSON(), nil case YAML: return NewYAML(), nil case TOML: return NewTOML(), nil case HEX: return NewHEX(), nil ...
[ -0.10792265832424164, -1.2899818420410156, 0.443325012922287, 0.020106684416532516, -1.4693068265914917, -1.2078088521957397, -0.7011181116104126, 0.01106711570173502, 0.35580360889434814, -0.6909915208816528, -0.25797760486602783, -0.1178567185997963, 0.6555745601654053, 0.962427318096160...
func plugin() *Plugin { if gPlugin == nil { panic("Trying to access the Interface Plugin but it is still not initialized") } return gPlugin }
[ 0.07959962636232376, -0.10687769949436188, 0.3750637471675873, 0.6390305757522583, -0.2647453248500824, 0.6199713945388794, 0.8899514079093933, -0.5689516067504883, 0.6410154700279236, -1.1049714088439941, 0.3947380781173706, 0.9266130328178406, -0.9192153811454773, -0.4247033894062042, ...
func (plugin *Plugin) Init() error { plugin.Log.Debug("Initializing interface plugin") plugin.fixNilPointers() plugin.ifStateNotifications = plugin.Deps.IfStatePub config, err := plugin.retrieveDPConfig() if err != nil { return err } if config != nil { plugin.ifMtu = config.Mtu plugin.Log.Infof("Mtu read...
[ 0.17260725796222687, -0.15438595414161682, 0.5210875868797302, -0.3428173363208771, 0.22801300883293152, -0.2099679559469223, 0.5931069850921631, -0.06606656312942505, -0.1572256088256836, -0.34663456678390503, -0.3411705195903778, 0.8334823846817017, -0.11268553137779236, 0.50755739212036...
func (plugin *Plugin) fixNilPointers() { if plugin.Deps.Publish == nil { plugin.Deps.Publish = noopWriter plugin.Log.Debug("setting default noop writer for Publish dependency") } if plugin.Deps.PublishStatistics == nil { plugin.Deps.PublishStatistics = noopWriter plugin.Log.Debug("setting default noop writer...
[ -0.3365209698677063, -0.9575244784355164, 0.2963913679122925, -0.31933435797691345, 0.8979520201683044, -0.695999801158905, 0.37504103779792786, 0.13765889406204224, 0.18425561487674713, 0.6392112970352173, -0.3753371238708496, 0.6079299449920654, -1.0025606155395508, 0.886554479598999, ...
func (plugin *Plugin) AfterInit() error { plugin.Log.Debug("vpp plugins AfterInit begin") err := plugin.ifStateUpdater.AfterInit() if err != nil { return err } plugin.Log.Debug("vpp plugins AfterInit finished successfully") return nil }
[ 0.2667194902896881, -1.8654507398605347, 0.20746523141860962, -0.2896508276462555, 0.12014956027269363, 0.9556208252906799, 0.16354337334632874, 0.03083234280347824, 0.7080174684524536, 0.544363260269165, -1.1745206117630005, 0.08711358904838562, -0.9360938668251038, -0.4638633728027344, ...
func (plugin *Plugin) Close() error { plugin.cancel() plugin.wg.Wait() _, err := safeclose.CloseAll(plugin.watchStatusReg, plugin.watchConfigReg, plugin.changeChan, plugin.resyncStatusChan, plugin.resyncConfigChan, plugin.ifConfigurator, plugin.ifStateUpdater, plugin.ifVppNotifChan, plugin.errorChannel, plugi...
[ 0.36349934339523315, -0.31584247946739197, 0.41528311371803284, 0.41699615120887756, 0.028644338250160217, -0.26687338948249817, 0.427977979183197, 0.1760072261095047, -0.007304346654564142, -0.25815442204475403, -0.503437876701355, 0.13350287079811096, -1.1874103546142578, 0.6511783003807...
func newAreaMutation(c config, op Op, opts ...areaOption) *AreaMutation { m := &AreaMutation{ config: c, op: op, typ: TypeArea, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -0.8717213273048401, -0.6647881269454956, 0.5547502636909485, 0.6265829801559448, -1.0350743532180786, -0.2001962512731552, 0.6846405267715454, 0.47708532214164734, 1.4045066833496094, 0.8758547306060791, -0.12937167286872864, -0.35568755865097046, 0.05797743424773216, 0.05050036311149597,...
func withAreaID(id int) areaOption { return func(m *AreaMutation) { var ( err error once sync.Once value *Area ) m.oldValue = func(ctx context.Context) (*Area, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed") } else { valu...
[ 0.20230139791965485, -0.87544184923172, 0.6263891458511353, -0.8703740239143372, -0.5224186778068542, 0.6008005738258362, -0.03299180790781975, -0.9991686940193176, 1.5515267848968506, 0.1360836625099182, 0.4701470136642456, 0.18743181228637695, 0.4283753037452698, 1.055899739265442, -0....
func withArea(node *Area) areaOption { return func(m *AreaMutation) { m.oldValue = func(context.Context) (*Area, error) { return node, nil } m.id = &node.ID } }
[ -0.4126584231853485, -0.42044797539711, 0.5085300207138062, -0.32362571358680725, -0.045270565897226334, -0.6037812232971191, 1.0766412019729614, -0.09019342809915543, 1.2068275213241577, -0.12428628653287888, 0.49497371912002563, -0.02302144281566143, 1.2321211099624634, 0.372207581996917...
func (m AreaMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ -0.21316729485988617, -0.5528843998908997, 0.08055458217859268, 0.22597822546958923, -0.7161566615104675, 0.12259910255670547, 1.1747682094573975, -0.24371719360351562, 0.7233932018280029, -0.21999868750572205, -0.3429246246814728, 0.2981957197189331, 0.29662826657295227, -0.40290170907974...
func (m AreaMutation) Tx() (*Tx, error) { if _, ok := m.driver.(*txDriver); !ok { return nil, fmt.Errorf("ent: mutation is not running in a transaction") } tx := &Tx{config: m.config} tx.init() return tx, nil }
[ -0.02730587124824524, 0.16488692164421082, 0.4651695489883423, 0.3754221796989441, 0.01278234738856554, -0.24241334199905396, 0.21691381931304932, 0.23484234511852264, 0.9677034616470337, 0.36827054619789124, -0.121682308614254, -0.5464041233062744, 0.08313553035259247, -0.4781166911125183...
func (m *AreaMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.5727314949035645, -0.4675614535808563, 0.5300304293632507, 0.38599392771720886, -0.011752449907362461, 0.22769121825695038, 0.6015709042549133, 0.16650544106960297, 1.4994512796401978, 0.5648455619812012, -0.3264583647251129, -0.8970054984092712, -0.5397197604179382, 0.6887848973274231,...
func (m *AreaMutation) SetAreaName(s string) { m._AreaName = &s }
[ -1.03541100025177, 0.0732867643237114, 0.1118956133723259, 0.3190045654773712, -1.7836953401565552, -0.3745303750038147, 0.6162165999412537, 0.556428074836731, 0.5872766971588135, 0.21084430813789368, -0.4513431787490845, -0.5337677597999573, -0.03455108031630516, 0.8300339579582214, -0....
func (m *AreaMutation) AreaName() (r string, exists bool) { v := m._AreaName if v == nil { return } return *v, true }
[ -1.456660270690918, 0.2754526734352112, 0.5811319947242737, 0.3977033793926239, -0.9706212878227234, -0.6144453287124634, 0.10652313381433487, 0.43362852931022644, 0.8345102071762085, 1.2175594568252563, 0.21692606806755066, -0.9063481092453003, -0.1686028689146042, -0.041006434708833694, ...
func (m *AreaMutation) OldAreaName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldAreaName is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldAreaName requires an ID field in the mutation") } oldValue, err...
[ -1.1766583919525146, -0.2968601882457733, 0.608054518699646, 0.09142884612083435, -1.030639410018921, -0.3155514895915985, 0.5030450224876404, -0.18116021156311035, 1.0573946237564087, 0.9452648758888245, 0.42892691493034363, -0.36427026987075806, 0.07853934913873672, 0.8558380007743835, ...
func (m *AreaMutation) ResetAreaName() { m._AreaName = nil }
[ -0.9088231921195984, -0.05285710096359253, 0.13734155893325806, 0.43860113620758057, -1.225456714630127, -0.6778968572616577, 0.8294357061386108, 0.2946661412715912, 0.4579654932022095, 0.388264536857605, 0.08050494641065598, 0.20831577479839325, -0.49998167157173157, 0.20390792191028595, ...
func (m *AreaMutation) SetDiseaseID(id int) { m.disease = &id }
[ -0.36319831013679504, -0.4969084858894348, 0.159316748380661, 0.02760874293744564, -0.9044398069381714, 0.3103567957878113, -0.20269259810447693, 0.7188937067985535, 1.1499680280685425, 0.38371938467025757, -0.3225919008255005, 0.12305883318185806, 0.5049940347671509, 1.136779546737671, ...
func (m *AreaMutation) ClearDisease() { m.cleareddisease = true }
[ 0.45688164234161377, -0.16692258417606354, 0.2529810070991516, 0.5085686445236206, -0.8173249363899231, 0.1198437511920929, -0.07519097626209259, 0.2107863873243332, 0.5226839184761047, -0.033335130661726, 0.5486299991607666, 0.15805751085281372, 0.6310206055641174, 0.565166711807251, 0....
func (m *AreaMutation) DiseaseCleared() bool { return m.cleareddisease }
[ -0.4665347635746002, -0.32016515731811523, 0.5404089689254761, -0.3996027708053589, -0.8887776732444763, 0.2597973644733429, -0.187967449426651, 0.0033815561328083277, 0.9084906578063965, -0.23261813819408417, 0.24098573625087738, 0.5700607299804688, 0.6074182391166687, -0.1308655291795730...
func (m *AreaMutation) DiseaseID() (id int, exists bool) { if m.disease != nil { return *m.disease, true } return }
[ -0.43289488554000854, -0.7274923920631409, 0.6957582235336304, -0.30887117981910706, -0.3824479579925537, 0.29211828112602234, 0.08524534851312637, 0.8228897452354431, 1.5195133686065674, 0.8283806443214417, 0.5088500380516052, -0.22562487423419952, -0.4080137312412262, 0.9384171962738037,...
func (m *AreaMutation) DiseaseIDs() (ids []int) { if id := m.disease; id != nil { ids = append(ids, *id) } return }
[ -1.1351433992385864, -0.7250279784202576, 0.23711524903774261, -0.40016546845436096, -0.41076675057411194, -0.47019773721694946, -0.29992926120758057, 0.4997329115867615, 1.36640465259552, 0.36250919103622437, 0.3323667049407959, 0.7494900822639465, -0.3596763610839844, 0.6533321142196655,...
func (m *AreaMutation) ResetDisease() { m.disease = nil m.cleareddisease = false }
[ 0.212008535861969, -0.2803976833820343, 0.19381019473075867, 0.439761221408844, -0.2606895864009857, -0.6315206289291382, 0.021597877144813538, 0.5418818593025208, 0.18969014286994934, -0.5228375792503357, 0.21055705845355988, 0.4515204429626465, -0.08465158194303513, 0.1820371299982071, ...
func (m *AreaMutation) SetStatisticID(id int) { m.statistic = &id }
[ 0.5174283981323242, 0.12675878405570984, 0.19003839790821075, 0.8470089435577393, -0.7941522598266602, 0.1496080756187439, 0.1945827305316925, -0.037790924310684204, 0.34608256816864014, 1.2378919124603271, -0.5104097127914429, -0.07353181391954422, 0.835867702960968, 0.06755659729242325, ...
func (m *AreaMutation) ClearStatistic() { m.clearedstatistic = true }
[ 0.7453253269195557, 0.7166721224784851, 0.23686620593070984, 1.636392593383789, -0.6673874258995056, 0.4840490221977234, 0.746828556060791, -0.7730937004089355, -0.14226552844047546, 1.1730719804763794, 0.4717327058315277, 0.3081079125404358, 1.493211030960083, -0.16309915482997894, -0.4...
func (m *AreaMutation) StatisticCleared() bool { return m.clearedstatistic }
[ 0.5769748091697693, 0.23192673921585083, 0.3176787793636322, 1.2075285911560059, -0.8435576558113098, 0.5016190409660339, 0.22813645005226135, -1.2329456806182861, 0.37533172965049744, 0.5818930268287659, 0.3609124422073364, 0.33232739567756653, 0.7506093978881836, -0.34073397517204285, ...
func (m *AreaMutation) StatisticID() (id int, exists bool) { if m.statistic != nil { return *m.statistic, true } return }
[ 0.461591899394989, 0.33588913083076477, 0.626815140247345, 0.8230090141296387, -0.14527563750743866, -0.03409833461046219, 0.41384968161582947, -0.2514827847480774, 0.7677102088928223, 1.9103418588638306, 0.1456666737794876, -0.8270626068115234, 0.45305532217025757, -0.08069358021020889, ...
func (m *AreaMutation) StatisticIDs() (ids []int) { if id := m.statistic; id != nil { ids = append(ids, *id) } return }
[ -0.041414711624383926, 0.18003585934638977, 0.1773443967103958, 0.8777328133583069, 0.166647806763649, -0.4095451831817627, -0.012578071095049381, -0.4643824100494385, 0.6283230185508728, 1.519702434539795, -0.12798424065113068, -0.07077140361070633, 0.37262335419654846, 0.0373121760785579...
func (m *AreaMutation) ResetStatistic() { m.statistic = nil m.clearedstatistic = false }
[ 0.6174163222312927, 0.6113904118537903, 0.1243671178817749, 1.6514909267425537, -0.2815653085708618, -0.3130761682987213, 1.2061620950698853, -0.5540794134140015, -0.8169915676116943, 0.6311947107315063, 0.38224416971206665, 0.8385215997695923, 0.8775394558906555, -0.42698708176612854, -...
func (m *AreaMutation) SetLevelID(id int) { m.level = &id }
[ 0.19629758596420288, -0.5605123043060303, 0.18997058272361755, 0.38021454215049744, -0.42392897605895996, 0.9584119915962219, 0.07893187552690506, 0.4557456970214844, 0.33732420206069946, 0.20545245707035065, -0.6750153303146362, -0.22904273867607117, -0.2774730622768402, 1.741344094276428...
func (m *AreaMutation) ClearLevel() { m.clearedlevel = true }
[ 0.08801759034395218, 0.29490146040916443, 0.12236764281988144, 0.39136210083961487, -0.4540814757347107, 1.076309084892273, 1.2113454341888428, -0.48890671133995056, 0.3305748999118805, 0.422429621219635, -0.22793051600456238, 0.22927525639533997, 0.5428237915039062, 0.8205994367599487, ...
func (m *AreaMutation) LevelCleared() bool { return m.clearedlevel }
[ 0.3784619867801666, -0.5583238005638123, 0.4315301179885864, -0.05295652896165848, -0.38281065225601196, 1.0768687725067139, -0.10883717983961105, -0.38313910365104675, -0.18131627142429352, -0.023630546405911446, -0.03523891046643257, -0.10583677142858505, -0.11906972527503967, 0.53491890...
func (m *AreaMutation) LevelID() (id int, exists bool) { if m.level != nil { return *m.level, true } return }
[ 0.19811975955963135, -0.26024577021598816, 0.5026935935020447, 0.3265024423599243, 0.07544826716184616, 0.547362744808197, 0.38420456647872925, 0.5061182379722595, 0.38654306530952454, 1.1408501863479614, -0.5243396759033203, -0.6030067801475525, -0.8537728786468506, 1.2869137525558472, ...
func (m *AreaMutation) LevelIDs() (ids []int) { if id := m.level; id != nil { ids = append(ids, *id) } return }
[ -0.34886541962623596, -0.4618073105812073, 0.22243213653564453, 0.5304542183876038, 0.25188833475112915, -0.2695882022380829, -0.385608971118927, 0.24528703093528748, 0.008329360745847225, 0.6254300475120544, -0.7601357102394104, 0.31558096408843994, -0.9877153038978577, 1.3613812923431396...
func (m *AreaMutation) ResetLevel() { m.level = nil m.clearedlevel = false }
[ -0.0870790034532547, 0.44931459426879883, 0.0820859894156456, 0.6122233867645264, 0.2566017210483551, 0.29549160599708557, 1.7601408958435059, 0.11070536077022552, 0.015924153849482536, -0.19578877091407776, -0.5245875716209412, 0.2350279688835144, -0.057299718260765076, 0.5138747692108154...
func (m *AreaMutation) SetEmployeeID(id int) { m.employee = &id }
[ -1.0042611360549927, -0.4307594299316406, 0.185882106423378, -0.0665682703256607, -0.5203763246536255, 1.0380979776382446, 0.4508294463157654, 1.10244619846344, 0.21578523516654968, 0.6210690140724182, -0.7466395497322083, -0.06656648218631744, -0.3795012831687927, 1.881354570388794, -0....
func (m *AreaMutation) ClearEmployee() { m.clearedemployee = true }
[ -0.10488919168710709, 0.07440905272960663, 0.16771037876605988, 0.41591572761535645, -1.015315055847168, 1.1846070289611816, 0.7127917408943176, 0.15388481318950653, -0.32886701822280884, 0.8197432160377502, -0.028738629072904587, -0.25919294357299805, -0.17046937346458435, 0.6828192472457...
func (m *AreaMutation) EmployeeCleared() bool { return m.clearedemployee }
[ -0.43014809489250183, -0.4698829650878906, 0.37823233008384705, -0.028310105204582214, -0.6526362299919128, 0.9537637829780579, -0.12231326848268509, 0.028073037043213844, 0.049347374588251114, 0.37187498807907104, -0.2284969985485077, 0.05009803548455238, -0.35122963786125183, -0.01502852...
func (m *AreaMutation) EmployeeID() (id int, exists bool) { if m.employee != nil { return *m.employee, true } return }
[ -0.6955393552780151, -0.5482521057128906, 0.5474918484687805, 0.11510881036520004, -0.3076460659503937, 1.0560370683670044, 0.32253023982048035, 0.5165377855300903, 0.9476506114006042, 1.270438551902771, 0.04985612630844116, -0.4833417236804962, -0.7565545439720154, 1.3441251516342163, -...
func (m *AreaMutation) EmployeeIDs() (ids []int) { if id := m.employee; id != nil { ids = append(ids, *id) } return }
[ -1.1700248718261719, -0.4741990268230438, 0.13298015296459198, 0.05574881285429001, -0.11606435477733612, 0.29315388202667236, -0.1941530406475067, 0.5226852893829346, 0.7119818925857544, 0.7828713655471802, -0.2195766419172287, 0.5115967988967896, -0.8582758903503418, 1.2229065895080566, ...
func (m *AreaMutation) ResetEmployee() { m.employee = nil m.clearedemployee = false }
[ -0.278699666261673, -0.05470748618245125, 0.1852893978357315, 0.36490464210510254, -0.21887537837028503, 0.24338506162166595, 1.0824146270751953, 0.921951413154602, -0.8571038246154785, 0.09647101163864136, -0.14531810581684113, -0.01697637140750885, -0.8496526479721069, 0.263637900352478,...
func (m *AreaMutation) Op() Op { return m.op }
[ -0.7411090731620789, -0.10408244282007217, 0.09580039232969284, 0.720141589641571, -0.6393860578536987, 0.8958837389945984, 1.2601796388626099, 0.19647657871246338, 0.9861652851104736, 0.6791613101959229, 0.3307596445083618, -0.9835473299026489, 0.601984441280365, -0.6025876402854919, 0....
func (m *AreaMutation) Type() string { return m.typ }
[ -0.19768278300762177, -0.7231506705284119, 0.020075883716344833, 0.35446637868881226, -0.06016172096133232, 0.3612121045589447, 1.0802372694015503, -1.1401606798171997, 1.414288878440857, 0.5878043174743652, 0.5771486759185791, -0.35495343804359436, -0.0018988847732543945, 0.50055915117263...
func (m *AreaMutation) Fields() []string { fields := make([]string, 0, 1) if m._AreaName != nil { fields = append(fields, area.FieldAreaName) } return fields }
[ -1.0317018032073975, -0.27814429998397827, 0.05956912785768509, -0.7410886287689209, -0.01237937156111002, 0.07417940348386765, -0.31759142875671387, -0.08245247602462769, 1.1506869792938232, 0.2276451140642166, -0.35747718811035156, -0.4736926555633545, -0.21001023054122925, 0.70354318618...
func (m *AreaMutation) Field(name string) (ent.Value, bool) { switch name { case area.FieldAreaName: return m.AreaName() } return nil, false }
[ -1.2202755212783813, -0.1266496181488037, 0.5777019262313843, -0.25316885113716125, -0.8808981776237488, 0.2391447126865387, -0.7068967223167419, -0.13579541444778442, 0.8716962933540344, 0.16832539439201355, -0.31697311997413635, -0.7440949082374573, 0.293742299079895, 0.9088653922080994,...
func (m *AreaMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case area.FieldAreaName: return m.OldAreaName(ctx) } return nil, fmt.Errorf("unknown Area field %s", name) }
[ -0.26344606280326843, 0.038689229637384415, 0.39507442712783813, -0.7172807455062866, -0.2099429816007614, 0.18867647647857666, 0.14807778596878052, -0.516263484954834, 0.8816283345222473, 0.03762365132570267, -0.17466282844543457, -0.08271003514528275, 0.2454521358013153, 0.50203335285186...
func (m *AreaMutation) SetField(name string, value ent.Value) error { switch name { case area.FieldAreaName: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetAreaName(v) return nil } return fmt.Errorf("unknown Area field %s", name) }
[ -0.9333351254463196, 0.12144333869218826, 0.45646077394485474, -0.20713238418102264, -0.7308209538459778, 0.6668285727500916, -0.34795981645584106, -0.19910772144794464, 0.4411538243293762, 0.26140233874320984, -0.3992219865322113, -0.32912304997444153, 0.4648008644580841, 1.08131670951843...
func (m *AreaMutation) AddedFields() []string { return nil }
[ -0.058074016124010086, 0.14111430943012238, 0.5268980860710144, -0.2556559145450592, 0.06032206863164902, 0.7753210663795471, 0.5204159021377563, -0.10273902118206024, 1.5476295948028564, -0.9240853786468506, -0.21110498905181885, -0.5049927830696106, -0.9417715668678284, 0.528567194938659...
func (m *AreaMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -1.1927534341812134, 0.3632704019546509, 0.7693167924880981, -0.34361568093299866, -0.48531249165534973, 1.0243029594421387, -0.10704299807548523, -0.056496020406484604, 0.979729175567627, -0.3180595338344574, -0.7398625016212463, -1.3083900213241577, -1.0881174802780151, 0.461727946996688...
func (m *AreaMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Area numeric field %s", name) }
[ -0.6133524179458618, 0.24737028777599335, 0.6244349479675293, 0.09529097378253937, -0.43971988558769226, 1.2850265502929688, -0.6835633516311646, -0.4170505702495575, 0.1974690705537796, -0.0025815563276410103, 0.02676226943731308, -1.07955002784729, 0.3948981761932373, 0.5976057052612305,...
func (m *AreaMutation) ClearedFields() []string { return nil }
[ -0.04101190343499184, 0.5776692628860474, 0.47743934392929077, -0.22487911581993103, -0.5972006916999817, 0.4933585226535797, 0.48063182830810547, -0.47216203808784485, 1.2989497184753418, 0.6624372005462646, -0.1279972642660141, -0.38254302740097046, -0.5553091168403625, -0.39270633459091...
func (m *AreaMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.537266194820404, 0.14532241225242615, 0.7666626572608948, -0.32009032368659973, -0.44092100858688354, 0.2255433350801468, -0.5614323019981384, -0.007596494629979134, 0.2410285472869873, -0.09142117202281952, -0.7722569704055786, -0.6039642095565796, 0.6798673868179321, -0.12080777436494...
func (m *AreaMutation) ClearField(name string) error { return fmt.Errorf("unknown Area nullable field %s", name) }
[ 0.11790560930967331, 0.5068766474723816, 0.5049525499343872, -0.3212945759296417, -0.7986264824867249, 0.5718482732772827, -0.31707730889320374, -0.47781774401664734, 0.6262620687484741, 1.043697476387024, -0.35897862911224365, -0.6541709303855896, 0.3902323544025421, 0.37182897329330444, ...
func (m *AreaMutation) ResetField(name string) error { switch name { case area.FieldAreaName: m.ResetAreaName() return nil } return fmt.Errorf("unknown Area field %s", name) }
[ -0.5839369893074036, 0.713196873664856, 0.37071603536605835, 0.014338820241391659, -0.022913895547389984, 0.00842659268528223, 0.4928542673587799, -0.13782943785190582, 0.625613808631897, 0.3841143250465393, -0.3342413008213043, -0.39781859517097473, -0.029119253158569336, 0.29478183388710...
func (m *AreaMutation) AddedEdges() []string { edges := make([]string, 0, 4) if m.disease != nil { edges = append(edges, area.EdgeDisease) } if m.statistic != nil { edges = append(edges, area.EdgeStatistic) } if m.level != nil { edges = append(edges, area.EdgeLevel) } if m.employee != nil { edges = appe...
[ -0.3296305239200592, -0.9184092283248901, 0.2046528160572052, -0.20603224635124207, 0.015183419920504093, 0.32019123435020447, -0.7628148794174194, -0.049451496452093124, 1.371102213859558, 0.19859321415424347, 0.9157082438468933, 0.17308174073696136, -0.4164295494556427, 0.923384368419647...
func (m *AreaMutation) AddedIDs(name string) []ent.Value { switch name { case area.EdgeDisease: if id := m.disease; id != nil { return []ent.Value{*id} } case area.EdgeStatistic: if id := m.statistic; id != nil { return []ent.Value{*id} } case area.EdgeLevel: if id := m.level; id != nil { return ...
[ -0.5318356156349182, -1.1195398569107056, 0.3294174075126648, -0.7835268378257751, -0.358763724565506, 0.32632994651794434, -0.6449465751647949, -0.21006423234939575, 1.1632661819458008, 0.35303324460983276, 0.41339626908302307, 0.2964700758457184, -0.09785329550504684, 0.9677255153656006,...
func (m *AreaMutation) RemovedEdges() []string { edges := make([]string, 0, 4) return edges }
[ -0.07440643012523651, -0.41110098361968994, 0.5040231347084045, -0.04871246591210365, -0.26124122738838196, -0.312768816947937, 0.04250623285770416, 0.14002518355846405, 1.2737319469451904, 0.10067054629325867, -0.4283420443534851, -0.5174791812896729, -1.0453165769577026, 0.13871224224567...
func (m *AreaMutation) RemovedIDs(name string) []ent.Value { switch name { } return nil }
[ -0.7169678211212158, -0.4279886782169342, 0.512601375579834, -0.6174852848052979, -0.3648742139339447, 0.06595110148191452, -0.11884099990129471, 0.3596216142177582, 0.9394055008888245, 0.24785612523555756, -1.3410069942474365, -0.5032718777656555, -0.6255512833595276, 0.709272563457489, ...
func (m *AreaMutation) ClearedEdges() []string { edges := make([]string, 0, 4) if m.cleareddisease { edges = append(edges, area.EdgeDisease) } if m.clearedstatistic { edges = append(edges, area.EdgeStatistic) } if m.clearedlevel { edges = append(edges, area.EdgeLevel) } if m.clearedemployee { edges = ap...
[ -0.7712215781211853, -0.4882138967514038, 0.3092420995235443, 0.11765386909246445, -0.9279691576957703, 0.04070931673049927, -0.43857449293136597, -0.6326270699501038, 0.9158763885498047, 1.3699580430984497, 0.7531747817993164, 0.6815610527992249, -0.12452883273363113, 0.1589583307504654, ...
func (m *AreaMutation) EdgeCleared(name string) bool { switch name { case area.EdgeDisease: return m.cleareddisease case area.EdgeStatistic: return m.clearedstatistic case area.EdgeLevel: return m.clearedlevel case area.EdgeEmployee: return m.clearedemployee } return false }
[ -0.9031614065170288, -0.5467917919158936, 0.6447726488113403, -0.47239816188812256, -0.8046106696128845, 0.18585774302482605, -0.24998290836811066, -0.31215035915374756, 0.5287287831306458, 0.691498339176178, 0.22262221574783325, 0.10008766502141953, -0.18142735958099365, 0.324178278446197...
func (m *AreaMutation) ClearEdge(name string) error { switch name { case area.EdgeDisease: m.ClearDisease() return nil case area.EdgeStatistic: m.ClearStatistic() return nil case area.EdgeLevel: m.ClearLevel() return nil case area.EdgeEmployee: m.ClearEmployee() return nil } return fmt.Errorf("un...
[ -0.949470043182373, 0.38989219069480896, 0.4356042444705963, 0.7954633831977844, -0.34335121512413025, -0.05019303411245346, 0.22303558886051178, 0.2964995503425598, 0.6424366235733032, 0.7404720187187195, 0.39019113779067993, -0.1371222734451294, 0.33899375796318054, 0.9477168917655945, ...
func (m *AreaMutation) ResetEdge(name string) error { switch name { case area.EdgeDisease: m.ResetDisease() return nil case area.EdgeStatistic: m.ResetStatistic() return nil case area.EdgeLevel: m.ResetLevel() return nil case area.EdgeEmployee: m.ResetEmployee() return nil } return fmt.Errorf("un...
[ -0.8991183042526245, -0.03372941538691521, 0.4033472239971161, 0.6911512613296509, 0.09578777104616165, -0.5809948444366455, 0.32113713026046753, 0.5412914752960205, 0.22823956608772278, 0.8601890802383423, 0.0544930025935173, 0.04278210550546646, -0.29963406920433044, 0.4859977960586548, ...
func newBloodtypeMutation(c config, op Op, opts ...bloodtypeOption) *BloodtypeMutation { m := &BloodtypeMutation{ config: c, op: op, typ: TypeBloodtype, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -0.7243247032165527, 0.4753945469856262, 0.27053844928741455, 0.9549325108528137, 0.13024911284446716, -0.5252431035041809, -0.014008235186338425, -0.6613351702690125, 0.5164940357208252, 1.1024941205978394, -0.7579004168510437, -0.1972159445285797, -1.0291390419006348, 0.32856377959251404...
func withBloodtypeID(id int) bloodtypeOption { return func(m *BloodtypeMutation) { var ( err error once sync.Once value *Bloodtype ) m.oldValue = func(ctx context.Context) (*Bloodtype, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed...
[ 0.26322218775749207, 0.11794057488441467, 0.4282313287258148, 0.6574425101280212, 0.3506805896759033, 0.12495002895593643, -0.5848733186721802, -1.351932406425476, 0.8889058828353882, 0.9497665166854858, -0.2741062641143799, 0.09342214465141296, -0.3130393326282501, 1.628820538520813, -0...
func withBloodtype(node *Bloodtype) bloodtypeOption { return func(m *BloodtypeMutation) { m.oldValue = func(context.Context) (*Bloodtype, error) { return node, nil } m.id = &node.ID } }
[ 0.3375130891799927, 0.3491328954696655, 0.5060580968856812, 0.2428480088710785, 0.619308590888977, -0.1287647783756256, -0.493055135011673, -0.9270591139793396, 0.7999321818351746, 0.42304107546806335, 0.1524360328912735, 0.11533153057098389, 0.34798869490623474, 1.2853749990463257, -0.4...
func (m BloodtypeMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ 0.12271272391080856, 0.04451289772987366, 0.12775467336177826, 0.41720229387283325, 0.2126186341047287, 0.2810421884059906, 0.6573519110679626, -0.6908243298530579, 0.5047279596328735, 0.02399703674018383, -0.7259001731872559, 0.7629543542861938, -0.5344727635383606, -0.11576630920171738, ...
func (m BloodtypeMutation) Tx() (*Tx, error) { if _, ok := m.driver.(*txDriver); !ok { return nil, fmt.Errorf("ent: mutation is not running in a transaction") } tx := &Tx{config: m.config} tx.init() return tx, nil }
[ 0.3113850951194763, 0.644083559513092, 0.470303475856781, 0.6410462856292725, 0.815314531326294, 0.08781356364488602, -0.12040608376264572, -0.03628169000148773, 0.5206505060195923, 0.4834863543510437, -0.17501872777938843, 0.12718190252780914, -0.7458674311637878, -0.11176026612520218, ...
func (m *BloodtypeMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.31054556369781494, 0.17525386810302734, 0.7310754656791687, 0.7455615997314453, 0.7538942098617554, 0.3037448823451996, 0.10138776153326035, -0.03203826770186424, 0.9694753885269165, 0.8185193538665771, -0.5720254778862, -0.6186535954475403, -1.450059413909912, 1.0433608293533325, -0....
func (m *BloodtypeMutation) SetBloodtypeName(s string) { m._BloodtypeName = &s }
[ -0.4224618673324585, 0.72225022315979, 0.5233823657035828, 0.945512056350708, 0.034209031611680984, -0.26461082696914673, 0.15679050981998444, -0.31209051609039307, -0.3538075089454651, 0.274361252784729, -0.7564590573310852, -0.44932425022125244, -0.7791222333908081, 1.174898624420166, ...
func (m *BloodtypeMutation) BloodtypeName() (r string, exists bool) { v := m._BloodtypeName if v == nil { return } return *v, true }
[ -0.8337255716323853, 1.2525410652160645, 0.7705053091049194, 0.6641944646835327, 0.10487182438373566, -0.49566662311553955, -0.28041133284568787, -0.24575507640838623, -0.18559472262859344, 1.2425278425216675, -0.8720449209213257, -0.9501749277114868, -0.8160794973373413, 0.503039240837097...
func (m *BloodtypeMutation) OldBloodtypeName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldBloodtypeName is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldBloodtypeName requires an ID field in the mutation...
[ -0.7230339050292969, 0.2400924563407898, 0.8017893433570862, 0.656012237071991, -0.20650538802146912, -0.3027494251728058, -0.008502394892275333, -0.7321839332580566, -0.1282825767993927, 0.8306940197944641, -0.08134099841117859, -0.5635940432548523, -0.5766546130180359, 1.0966105461120605...
func (m *BloodtypeMutation) ResetBloodtypeName() { m._BloodtypeName = nil }
[ 0.06285257637500763, 0.7359536290168762, 0.4822520911693573, 1.2135769128799438, 0.05278666317462921, -0.32759568095207214, 0.16367284953594208, -0.6089361906051636, -0.7625492215156555, 0.5369470119476318, -0.4021095633506775, 0.47156667709350586, -1.1884489059448242, 0.7601771950721741, ...
func (m *BloodtypeMutation) AddPatientIDs(ids ...int) { if m.patient == nil { m.patient = make(map[int]struct{}) } for i := range ids { m.patient[ids[i]] = struct{}{} } }
[ -1.407080054283142, 0.10951471328735352, 0.20426185429096222, -0.31345027685165405, 0.1311010867357254, 0.20270203053951263, -0.7806377410888672, 0.348598837852478, -0.1401849389076233, 0.4126091003417969, -0.02385278232395649, -0.193391814827919, -0.793171763420105, 0.2708377242088318, ...
func (m *BloodtypeMutation) RemovePatientIDs(ids ...int) { if m.removedpatient == nil { m.removedpatient = make(map[int]struct{}) } for i := range ids { m.removedpatient[ids[i]] = struct{}{} } }
[ -1.2872941493988037, -0.18064069747924805, 0.10984905064105988, -0.24950645864009857, -0.6924052238464355, -0.1471097767353058, -0.30380013585090637, 0.8761789202690125, -0.20269319415092468, 0.5951701402664185, -0.5878385305404663, -0.2276049107313156, -1.4454314708709717, 0.2882741987705...
func (m *BloodtypeMutation) RemovedPatientIDs() (ids []int) { for id := range m.removedpatient { ids = append(ids, id) } return }
[ -0.2778608500957489, -0.6329363584518433, 0.1861627846956253, -0.090285524725914, -0.5585619211196899, -0.06507042795419693, -0.3524104952812195, 0.6251609921455383, 0.40000560879707336, 0.2980000972747803, -0.6219392418861389, 1.1639313697814941, -1.451745867729187, 0.8435958623886108, ...
func (m *BloodtypeMutation) PatientIDs() (ids []int) { for id := range m.patient { ids = append(ids, id) } return }
[ -0.8197230100631714, -0.4414796233177185, 0.07478587329387665, 0.5197539329528809, 0.3027329742908478, 0.07228008657693863, -0.40624305605888367, 0.2993701696395874, 0.2941510081291199, 0.7487635612487793, 0.1028507873415947, 1.1027798652648926, -1.0362008810043335, 0.3762906789779663, -...
func (m *BloodtypeMutation) ResetPatient() { m.patient = nil m.removedpatient = nil }
[ -0.2136063128709793, 0.566633939743042, 0.2237185388803482, 0.41784313321113586, 0.47730565071105957, -0.07896532118320465, 0.41006922721862793, 0.2061944603919983, -0.3413749635219574, -0.2679074704647064, 0.245792418718338, 0.7559508085250854, -1.1445348262786865, -0.41560351848602295, ...
func (m *BloodtypeMutation) Op() Op { return m.op }
[ -0.4577883183956146, 0.3558203876018524, 0.2762115001678467, 1.1428234577178955, 0.34914615750312805, 0.8688684701919556, 0.6441481709480286, 0.17191193997859955, 0.38408899307250977, 1.0041218996047974, 0.2725791335105896, -0.23736682534217834, -0.5799645781517029, -0.1371740847826004, ...
func (m *BloodtypeMutation) Type() string { return m.typ }
[ 0.16866083443164825, -0.13346128165721893, 0.24922475218772888, 0.8740094900131226, 0.9976003766059875, 0.6213192939758301, 0.2599620521068573, -1.2673313617706299, 0.7065947651863098, 0.6758588552474976, 0.45541343092918396, 0.19506479799747467, -1.2126493453979492, 0.8766087293624878, ...
func (m *BloodtypeMutation) Fields() []string { fields := make([]string, 0, 1) if m._BloodtypeName != nil { fields = append(fields, bloodtype.FieldBloodtypeName) } return fields }
[ -0.539607048034668, 0.47036483883857727, 0.3514108955860138, -0.19016972184181213, 1.1082844734191895, 0.3578147888183594, -0.7009860873222351, -0.6712400317192078, 0.4850476086139679, 0.5972179770469666, -0.3858272433280945, -0.3029196858406067, -1.1274192333221436, 0.8109689354896545, ...
func (m *BloodtypeMutation) Field(name string) (ent.Value, bool) { switch name { case bloodtype.FieldBloodtypeName: return m.BloodtypeName() } return nil, false }
[ -0.8352356553077698, 0.6249178051948547, 0.6627731323242188, 0.018029948696494102, 0.2976594865322113, 0.6737910509109497, -1.2004539966583252, -0.5944376587867737, 0.19772857427597046, 0.5675209164619446, -0.32305416464805603, -0.5226107835769653, -0.7379097938537598, 1.0250688791275024, ...
func (m *BloodtypeMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case bloodtype.FieldBloodtypeName: return m.OldBloodtypeName(ctx) } return nil, fmt.Errorf("unknown Bloodtype field %s", name) }
[ -0.021387020125985146, 0.6209682822227478, 0.4133831858634949, -0.2439429610967636, 0.591220498085022, 0.42913827300071716, -0.4516485631465912, -1.039160966873169, 0.24322976171970367, 0.44874900579452515, 0.019861914217472076, 0.018458541482686996, -0.7357968688011169, 0.6901026964187622...
func (m *BloodtypeMutation) SetField(name string, value ent.Value) error { switch name { case bloodtype.FieldBloodtypeName: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetBloodtypeName(v) return nil } return fmt.Errorf("unknown Bloodtype field ...
[ -0.5994139313697815, 0.8126984238624573, 0.5204411149024963, 0.25596609711647034, 0.2048337161540985, 0.9916017651557922, -0.8455138206481934, -0.7594240307807922, -0.17065487802028656, 0.571590781211853, -0.14480425417423248, -0.32887640595436096, -0.6019307374954224, 1.2782384157180786, ...
func (m *BloodtypeMutation) AddedFields() []string { return nil }
[ 0.31416118144989014, 0.6813095211982727, 0.5471093654632568, 0.21475857496261597, 0.8414865136146545, 0.9122793078422546, -0.0006087530637159944, -0.2938796281814575, 0.8009090423583984, -0.5968098640441895, -0.4798440933227539, -0.12801383435726166, -1.744228720664978, 0.7038519382476807,...
func (m *BloodtypeMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -0.8771370649337769, 0.8005129098892212, 0.7721302509307861, -0.0868745893239975, 0.2275772988796234, 1.2420016527175903, -0.5398263335227966, -0.20599839091300964, 0.4535742998123169, -0.09927283227443695, -0.765760064125061, -0.979813277721405, -1.8114038705825806, 0.5694656372070312, ...
func (m *BloodtypeMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Bloodtype numeric field %s", name) }
[ -0.3562690019607544, 0.7694827318191528, 0.6356967687606812, 0.4450736343860626, 0.35395896434783936, 1.4854204654693604, -1.201473593711853, -0.7402651906013489, -0.279548704624176, 0.2587454915046692, 0.08673939853906631, -0.8946883082389832, -0.5754526853561401, 0.8219173550605774, 0....
func (m *BloodtypeMutation) ClearedFields() []string { return nil }
[ 0.25511160492897034, 0.9730382561683655, 0.456738144159317, 0.24887637794017792, 0.09148964285850525, 0.7299990653991699, -0.0074693127535283566, -0.7064660787582397, 0.6508568525314331, 0.8278630375862122, -0.33523431420326233, -0.08209843188524246, -1.4463682174682617, -0.287117928266525...
func (m *BloodtypeMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.49624696373939514, 0.4526989161968231, 0.7663552165031433, -0.04515436664223671, 0.04980800673365593, 0.4928111135959625, -0.8766087293624878, -0.13291144371032715, -0.11884573101997375, 0.0600738450884819, -0.9451034665107727, -0.4259761869907379, -0.02572082169353962, -0.0414268448948...
func (m *BloodtypeMutation) ClearField(name string) error { return fmt.Errorf("unknown Bloodtype nullable field %s", name) }
[ 0.29415640234947205, 1.048394799232483, 0.4778677225112915, 0.14960888028144836, -0.1039133295416832, 0.8575987219810486, -0.7195945382118225, -0.9403461813926697, 0.12330018728971481, 1.2046191692352295, -0.28966203331947327, -0.43149641156196594, -0.7365261912345886, 0.57341468334198, ...
func (m *BloodtypeMutation) ResetField(name string) error { switch name { case bloodtype.FieldBloodtypeName: m.ResetBloodtypeName() return nil } return fmt.Errorf("unknown Bloodtype field %s", name) }
[ -0.33570802211761475, 1.240273118019104, 0.36520862579345703, 0.4619481861591339, 0.737762987613678, 0.320574015378952, -0.12061967700719833, -0.5994956493377686, -0.10748737305402756, 0.7660195827484131, -0.22129157185554504, -0.06570811569690704, -1.1906929016113281, 0.4291486144065857, ...
func (m *BloodtypeMutation) AddedEdges() []string { edges := make([]string, 0, 1) if m.patient != nil { edges = append(edges, bloodtype.EdgePatient) } return edges }
[ -0.15325433015823364, -0.06504273414611816, 0.3793160617351532, 0.4489087462425232, 0.5568257570266724, 0.6405966281890869, -1.299554467201233, -0.024455305188894272, 1.0506775379180908, 0.6081364750862122, 0.7467815279960632, 0.4980369508266449, -1.2200102806091309, 0.9843506217002869, ...
func (m *BloodtypeMutation) AddedIDs(name string) []ent.Value { switch name { case bloodtype.EdgePatient: ids := make([]ent.Value, 0, len(m.patient)) for id := range m.patient { ids = append(ids, id) } return ids } return nil }
[ -0.5033908486366272, -0.29481592774391174, 0.4004451334476471, -0.4441196024417877, 0.4172380566596985, 0.7190852761268616, -1.1464341878890991, -0.14387783408164978, 0.5673841834068298, 0.4924970865249634, 0.40153396129608154, 0.6203937530517578, -1.006504774093628, 0.883578360080719, -...
func (m *BloodtypeMutation) RemovedEdges() []string { edges := make([]string, 0, 1) if m.removedpatient != nil { edges = append(edges, bloodtype.EdgePatient) } return edges }
[ 0.040011245757341385, -0.04181520268321037, 0.5360790491104126, 0.43077552318573, 0.17377303540706635, 0.004123304039239883, -0.62677001953125, 0.41099855303764343, 0.8969230055809021, 0.7288572788238525, -0.05933578684926033, 0.35737255215644836, -1.564394235610962, 0.6754602193832397, ...
func (m *BloodtypeMutation) RemovedIDs(name string) []ent.Value { switch name { case bloodtype.EdgePatient: ids := make([]ent.Value, 0, len(m.removedpatient)) for id := range m.removedpatient { ids = append(ids, id) } return ids } return nil }
[ -0.2972371280193329, -0.36704978346824646, 0.5528787970542908, -0.432721883058548, 0.2304714173078537, 0.18611299991607666, -0.9145380854606628, 0.3531222641468048, 0.4467617869377136, 0.7763229012489319, -0.5063331127166748, 0.43173155188560486, -1.3366395235061646, 0.6649205088615417, ...
func (m *BloodtypeMutation) ClearedEdges() []string { edges := make([]string, 0, 1) return edges }
[ -0.5286587476730347, -0.051800522953271866, 0.4671427011489868, 0.670910656452179, -0.3180646598339081, 0.25942257046699524, -0.8951823711395264, -0.8364169001579285, 0.6982783675193787, 1.7360609769821167, 0.3599068820476532, 0.7942713499069214, -1.2189397811889648, -0.0787111148238182, ...
func (m *BloodtypeMutation) EdgeCleared(name string) bool { switch name { } return false }
[ -0.806075394153595, 0.05949200317263603, 0.6548354625701904, -0.03979458287358284, -0.25225162506103516, 0.8046256899833679, -0.8906389474868774, -0.5817723274230957, -0.05061420425772667, 0.8534197211265564, -0.12702608108520508, -0.3746264576911926, -1.1343590021133423, 0.646119058132171...