text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (_Dospayment *DospaymentTransactorSession) NodeClaim(to common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.NodeClaim(&_Dospayment.TransactOpts, to)
} | [
-0.425258070230484,
0.9572663307189941,
0.5720916390419006,
-1.0308760404586792,
-0.3904348909854889,
-0.4274964928627014,
-0.15947368741035461,
-0.6768290996551514,
1.0614564418792725,
0.35703045129776,
-0.007003758102655411,
0.47252944111824036,
0.2883976399898529,
-0.6504517793655396,
... |
func (_Dospayment *DospaymentTransactor) RecordServiceFee(opts *bind.TransactOpts, requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "recordServiceFee", requestID, submitter, workers)
} | [
-0.7818188071250916,
0.9265156984329224,
0.2595735490322113,
0.003923226613551378,
0.35182783007621765,
-0.03400168940424919,
-0.4222817122936249,
-0.9378170967102051,
-0.6160834431648254,
0.047795265913009644,
-0.20300687849521637,
0.8205536007881165,
-0.8627910614013672,
0.77716517448425... |
func (_Dospayment *DospaymentSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.RecordServiceFee(&_Dospayment.TransactOpts, requestID, submitter, workers)
} | [
-0.5424258708953857,
0.9602633118629456,
0.2701960504055023,
-0.15224900841712952,
0.42921632528305054,
-0.2720290720462799,
-0.45040398836135864,
-1.1288872957229614,
-0.5565265417098999,
0.1474488079547882,
-0.2920432388782501,
0.6057550311088562,
-0.8559998869895935,
0.7424762845039368,... |
func (_Dospayment *DospaymentTransactorSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.RecordServiceFee(&_Dospayment.TransactOpts, requestID, submitter, workers)
} | [
-0.49776920676231384,
0.9643028378486633,
0.2937239706516266,
-0.1627185195684433,
0.4252520799636841,
-0.2567649185657501,
-0.4089229702949524,
-1.1419422626495361,
-0.5937597155570984,
0.14069730043411255,
-0.31027963757514954,
0.5473276376724243,
-0.7568742632865906,
0.676717221736908,
... |
func (_Dospayment *DospaymentTransactor) RefundServiceFee(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "refundServiceFee", requestID)
} | [
-0.4662112593650818,
0.6753048896789551,
0.06906557828187943,
0.19285549223423004,
0.0111249890178442,
-0.227402925491333,
0.09196767210960388,
-1.3827708959579468,
-0.13578514754772186,
-0.267265647649765,
0.0567747987806797,
0.1419692486524582,
-0.988887369632721,
0.6631224751472473,
-... |
func (_Dospayment *DospaymentSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.RefundServiceFee(&_Dospayment.TransactOpts, requestID)
} | [
-0.4134231507778168,
0.672749400138855,
0.2107565551996231,
0.08710455894470215,
0.05278642475605011,
-0.5366094708442688,
0.15248391032218933,
-1.7101994752883911,
0.0860564336180687,
-0.21096892654895782,
-0.09595178812742233,
-0.010354960337281227,
-0.952936053276062,
0.6404808163642883... |
func (_Dospayment *DospaymentTransactorSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.RefundServiceFee(&_Dospayment.TransactOpts, requestID)
} | [
-0.3930765986442566,
0.6477315425872803,
0.230290487408638,
0.08740576356649399,
0.07885833829641342,
-0.4977225959300995,
0.16628801822662354,
-1.7705339193344116,
0.08669769763946533,
-0.21491996943950653,
-0.1289178729057312,
-0.012612531892955303,
-0.9175914525985718,
0.544216394424438... |
func (_Dospayment *DospaymentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "renounceOwnership")
} | [
-0.5842432379722595,
0.6112298965454102,
0.11944982409477234,
0.8529945015907288,
0.24280154705047607,
-0.42026928067207336,
0.10013251006603241,
-1.3113657236099243,
0.4766123294830322,
0.28042808175086975,
0.38263699412345886,
-0.46896255016326904,
-0.3852580487728119,
-0.707258343696594... |
func (_Dospayment *DospaymentSession) RenounceOwnership() (*types.Transaction, error) {
return _Dospayment.Contract.RenounceOwnership(&_Dospayment.TransactOpts)
} | [
-0.14766989648342133,
0.7517260909080505,
0.2869430184364319,
0.5416821837425232,
0.241361603140831,
-0.8516404032707214,
0.18939529359340668,
-1.258124589920044,
0.7073842883110046,
0.11697493493556976,
0.5117603540420532,
-0.6887437105178833,
-0.014724704436957836,
-0.6243597865104675,
... |
func (_Dospayment *DospaymentTransactorSession) RenounceOwnership() (*types.Transaction, error) {
return _Dospayment.Contract.RenounceOwnership(&_Dospayment.TransactOpts)
} | [
-0.18962030112743378,
0.7753506302833557,
0.23617878556251526,
0.5916670560836792,
0.2802973985671997,
-0.7650281190872192,
0.21493469178676605,
-1.3608205318450928,
0.6369622945785522,
0.12005995213985443,
0.4718952178955078,
-0.7465476989746094,
-0.019062485545873642,
-0.7032411098480225... |
func (_Dospayment *DospaymentTransactor) SetFeeDividend(opts *bind.TransactOpts, tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "setFeeDividend", tokenAddr, submitterCut)
} | [
0.05542468652129173,
0.7552930116653442,
0.39558959007263184,
-0.450684130191803,
0.3342970013618469,
-0.2562579810619354,
-0.26915377378463745,
-0.3425551950931549,
-0.6103559136390686,
-0.507502555847168,
-0.508059561252594,
0.4841294288635254,
-0.2942393720149994,
1.0095536708831787,
... |
func (_Dospayment *DospaymentSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetFeeDividend(&_Dospayment.TransactOpts, tokenAddr, submitterCut)
} | [
0.20639558136463165,
0.6366400718688965,
0.4761595129966736,
-0.2721624970436096,
0.2915734052658081,
-0.40194830298423767,
-0.3956861197948456,
-0.5143638253211975,
-0.5714257955551147,
-0.4945773184299469,
-0.6499205231666565,
0.4796335995197296,
-0.369439035654068,
0.9219538569450378,
... |
func (_Dospayment *DospaymentTransactorSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetFeeDividend(&_Dospayment.TransactOpts, tokenAddr, submitterCut)
} | [
0.2625255286693573,
0.632723331451416,
0.49393051862716675,
-0.3266140818595886,
0.3224219083786011,
-0.36818331480026245,
-0.3533101975917816,
-0.5536900758743286,
-0.6266334652900696,
-0.4003995358943939,
-0.6419375538825989,
0.3841998875141144,
-0.2915154993534088,
0.8189067244529724,
... |
func (_Dospayment *DospaymentTransactor) SetGuardianFee(opts *bind.TransactOpts, tokenAddr common.Address, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "setGuardianFee", tokenAddr, fee)
} | [
0.41560670733451843,
0.9096599817276001,
0.1752052903175354,
-0.423610121011734,
0.3841106593608856,
-0.2316053956747055,
-0.1414477825164795,
-0.17290093004703522,
-0.43609508872032166,
0.1322547048330307,
-0.36950919032096863,
0.3716117739677429,
-0.5923725962638855,
-0.1252807080745697,... |
func (_Dospayment *DospaymentSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetGuardianFee(&_Dospayment.TransactOpts, tokenAddr, fee)
} | [
0.41534972190856934,
0.818185567855835,
0.276256263256073,
-0.3160952925682068,
0.39599037170410156,
-0.34732359647750854,
-0.15589335560798645,
-0.43904104828834534,
-0.5187984704971313,
0.22475601732730865,
-0.5706148743629456,
0.38495802879333496,
-0.5822023153305054,
-0.284480571746826... |
func (_Dospayment *DospaymentTransactorSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetGuardianFee(&_Dospayment.TransactOpts, tokenAddr, fee)
} | [
0.4672772288322449,
0.8069735169410706,
0.28062233328819275,
-0.32232263684272766,
0.3956123888492584,
-0.31413695216178894,
-0.12578091025352478,
-0.39292627573013306,
-0.5642840266227722,
0.27062076330184937,
-0.517061710357666,
0.30337271094322205,
-0.5266641974449158,
-0.35938155651092... |
func (_Dospayment *DospaymentTransactor) SetGuardianFunds(opts *bind.TransactOpts, fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "setGuardianFunds", fundsAddr, tokenAddr)
} | [
0.2720712423324585,
0.5951380133628845,
0.33594533801078796,
-0.8782327175140381,
0.3769826292991638,
-0.2549590766429901,
-0.17970064282417297,
-0.8869306445121765,
0.3138890266418457,
-0.24205656349658966,
-0.6818714737892151,
0.08547001332044601,
-0.26258817315101624,
-0.233014762401580... |
func (_Dospayment *DospaymentSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.SetGuardianFunds(&_Dospayment.TransactOpts, fundsAddr, tokenAddr)
} | [
0.27667033672332764,
0.4513894021511078,
0.36425909399986267,
-0.7033156156539917,
0.48261114954948425,
-0.3464718759059906,
-0.06455428898334503,
-0.9733615517616272,
0.40754976868629456,
-0.26341262459754944,
-0.6717153787612915,
0.16640286147594452,
-0.22454038262367249,
-0.308850437402... |
func (_Dospayment *DospaymentTransactorSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.SetGuardianFunds(&_Dospayment.TransactOpts, fundsAddr, tokenAddr)
} | [
0.3022325038909912,
0.42777737975120544,
0.36485156416893005,
-0.7250189781188965,
0.5055871605873108,
-0.2804279923439026,
-0.07436315715312958,
-0.9161064624786377,
0.3705610930919647,
-0.21525608003139496,
-0.6467955112457275,
0.06945691257715225,
-0.17765411734580994,
-0.35588061809539... |
func (_Dospayment *DospaymentTransactor) SetPaymentMethod(opts *bind.TransactOpts, payer common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "setPaymentMethod", payer, tokenAddr)
} | [
0.39966052770614624,
0.36047065258026123,
0.16176319122314453,
-0.9594309329986572,
0.2042018622159958,
-0.680379331111908,
0.27980905771255493,
-0.8388149738311768,
0.0038229634519666433,
0.4144568145275116,
0.36453089118003845,
-0.5341786742210388,
0.6787717938423157,
0.22590863704681396... |
func (_Dospayment *DospaymentSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.SetPaymentMethod(&_Dospayment.TransactOpts, payer, tokenAddr)
} | [
0.3647006154060364,
0.2753882110118866,
0.21346980333328247,
-0.8247065544128418,
0.2004336267709732,
-0.7475690245628357,
0.3589392304420471,
-0.9220251441001892,
0.005264959763735533,
0.698655903339386,
0.2418557107448578,
-0.4667952060699463,
0.8348960280418396,
0.09550124406814575,
-... |
func (_Dospayment *DospaymentTransactorSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.SetPaymentMethod(&_Dospayment.TransactOpts, payer, tokenAddr)
} | [
0.3926882743835449,
0.3008408546447754,
0.20004062354564667,
-0.8448021411895752,
0.2987203598022461,
-0.7190280556678772,
0.363464891910553,
-0.8603624105453491,
-0.06006230041384697,
0.7715949416160583,
0.23998378217220306,
-0.5736111402511597,
0.8360058069229126,
0.04501129314303398,
... |
func (_Dospayment *DospaymentTransactor) SetServiceFee(opts *bind.TransactOpts, tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "setServiceFee", tokenAddr, serviceType, fee)
} | [
0.008350245654582977,
0.904962420463562,
0.007528767921030521,
-0.38899683952331543,
0.03271881863474846,
-0.8999614715576172,
-0.10693537443876266,
-0.652315616607666,
-0.3272099494934082,
0.25946804881095886,
-0.2343723624944687,
0.5388374328613281,
-0.9086863398551941,
0.683386921882629... |
func (_Dospayment *DospaymentSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetServiceFee(&_Dospayment.TransactOpts, tokenAddr, serviceType, fee)
} | [
0.18502940237522125,
0.8447496294975281,
0.0978621169924736,
-0.2529875934123993,
-0.010742252692580223,
-1.127700686454773,
-0.08756045252084732,
-0.6914057731628418,
-0.4266911447048187,
0.37875211238861084,
-0.2794519364833832,
0.4826250970363617,
-0.8933114409446716,
0.4848783910274505... |
func (_Dospayment *DospaymentTransactorSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error) {
return _Dospayment.Contract.SetServiceFee(&_Dospayment.TransactOpts, tokenAddr, serviceType, fee)
} | [
0.21944083273410797,
0.8501389622688293,
0.10073094815015793,
-0.2884111702442169,
0.03568434715270996,
-1.0858453512191772,
-0.045626647770404816,
-0.6471673250198364,
-0.4936421513557434,
0.420660138130188,
-0.25100988149642944,
0.37407469749450684,
-0.8179218769073486,
0.432988047599792... |
func (_Dospayment *DospaymentTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
return _Dospayment.contract.Transact(opts, "transferOwnership", newOwner)
} | [
-0.024121621623635292,
0.17833389341831207,
0.28040292859077454,
0.9164946675300598,
-0.2611536383628845,
-0.40027809143066406,
0.45318353176116943,
-0.9266143441200256,
0.41740697622299194,
0.8300350904464722,
0.2550525665283203,
-0.079658143222332,
-0.0037386761978268623,
-0.559443831443... |
func (_Dospayment *DospaymentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.TransferOwnership(&_Dospayment.TransactOpts, newOwner)
} | [
-0.04726318642497063,
0.2838442325592041,
0.45817244052886963,
0.8584396243095398,
-0.041230376809835434,
-0.7094438076019287,
0.5565377473831177,
-1.0398006439208984,
0.7428403496742249,
0.7023663520812988,
0.23071187734603882,
-0.1816631704568863,
0.19023096561431885,
-0.4228196144104004... |
func (_Dospayment *DospaymentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
return _Dospayment.Contract.TransferOwnership(&_Dospayment.TransactOpts, newOwner)
} | [
-0.030605729669332504,
0.24958010017871857,
0.4193544089794159,
0.8169038891792297,
0.0012109362287446856,
-0.7052903771400452,
0.5336458683013916,
-0.9875369668006897,
0.6050187349319458,
0.7412070631980896,
0.24278762936592102,
-0.3176902234554291,
0.20032960176467896,
-0.463281154632568... |
func (it *DospaymentLogChargeServiceFeeIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.782261073589325,
0.32688456773757935,
0.18047146499156952,
-0.15523749589920044,
-0.7407505512237549,
0.3759690821170807,
-0.5264335870742798,
-0.9828303456306458,
-0.7125793099403381,
-0.9233070015907288,
0.8404049873352051,
0.14902447164058685,
-0.7797511219978333,
1.1848523616790771,
... |
func (_Dospayment *DospaymentFilterer) FilterLogChargeServiceFee(opts *bind.FilterOpts) (*DospaymentLogChargeServiceFeeIterator, error) {
logs, sub, err := _Dospayment.contract.FilterLogs(opts, "LogChargeServiceFee")
if err != nil {
return nil, err
}
return &DospaymentLogChargeServiceFeeIterator{contract: _Dospa... | [
0.4885285198688507,
0.4398362934589386,
0.3171063959598541,
-0.27314451336860657,
-0.3702395260334015,
-0.5215096473693848,
-0.8968991041183472,
-0.588833212852478,
-0.20208868384361267,
0.03689206391572952,
0.4702698588371277,
0.8479822874069214,
-0.7526828050613403,
0.15718810260295868,
... |
func (_Dospayment *DospaymentFilterer) WatchLogChargeServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogChargeServiceFee) (event.Subscription, error) {
logs, sub, err := _Dospayment.contract.WatchLogs(opts, "LogChargeServiceFee")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-... | [
0.6201177835464478,
0.17051000893115997,
0.6108304858207703,
-0.6299378275871277,
-0.13103072345256805,
-0.7894179224967957,
-0.2523903548717499,
-0.8383325338363647,
-0.34726864099502563,
-0.4354187250137329,
0.02591913752257824,
1.006414532661438,
-0.05308777093887329,
0.2748025357723236... |
func (it *DospaymentLogClaimGuardianFeeIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8737078309059143,
0.20975682139396667,
0.16120865941047668,
0.08948881924152374,
-0.6348194479942322,
0.8068925142288208,
-0.19812873005867004,
-0.8080901503562927,
-0.3436439335346222,
-0.823877215385437,
0.786242663860321,
0.6379466652870178,
-0.2794472575187683,
1.1052217483520508,
... |
func (_Dospayment *DospaymentFilterer) FilterLogClaimGuardianFee(opts *bind.FilterOpts) (*DospaymentLogClaimGuardianFeeIterator, error) {
logs, sub, err := _Dospayment.contract.FilterLogs(opts, "LogClaimGuardianFee")
if err != nil {
return nil, err
}
return &DospaymentLogClaimGuardianFeeIterator{contract: _Dospa... | [
1.300461769104004,
0.00637456588447094,
0.3012464940547943,
0.05355760455131531,
-0.11450573801994324,
0.34167593717575073,
-0.34804239869117737,
-0.263831228017807,
0.15415418148040771,
0.29722270369529724,
0.6483842134475708,
0.9836804270744324,
-0.23918141424655914,
-0.18199364840984344... |
func (_Dospayment *DospaymentFilterer) WatchLogClaimGuardianFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogClaimGuardianFee) (event.Subscription, error) {
logs, sub, err := _Dospayment.contract.WatchLogs(opts, "LogClaimGuardianFee")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-... | [
1.3489103317260742,
-0.3221146762371063,
0.46894168853759766,
-0.5675841569900513,
-0.05139891803264618,
-0.20320309698581696,
0.005597067065536976,
-0.5406056046485901,
-0.14096230268478394,
-0.2815667688846588,
0.043283671140670776,
1.361070990562439,
0.3857443630695343,
-0.0685539245605... |
func (it *DospaymentLogRecordServiceFeeIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.7899872660636902,
0.41139650344848633,
0.09082221239805222,
-0.3292560279369354,
-0.8161702156066895,
0.5538952946662903,
-0.1686972975730896,
-1.0698603391647339,
-0.6239638924598694,
-0.7461459040641785,
0.797045111656189,
0.3665456473827362,
-0.8671947717666626,
1.4596723318099976,
... |
func (_Dospayment *DospaymentFilterer) FilterLogRecordServiceFee(opts *bind.FilterOpts) (*DospaymentLogRecordServiceFeeIterator, error) {
logs, sub, err := _Dospayment.contract.FilterLogs(opts, "LogRecordServiceFee")
if err != nil {
return nil, err
}
return &DospaymentLogRecordServiceFeeIterator{contract: _Dospa... | [
0.6421726942062378,
0.3018554449081421,
0.25867992639541626,
-0.3681182563304901,
-0.4868553876876831,
0.04118131473660469,
-0.3023277521133423,
-0.7132005095481873,
-0.09795519709587097,
0.26230597496032715,
0.47848525643348694,
0.8912904858589172,
-0.9333987832069397,
0.4013347923755646,... |
func (_Dospayment *DospaymentFilterer) WatchLogRecordServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRecordServiceFee) (event.Subscription, error) {
logs, sub, err := _Dospayment.contract.WatchLogs(opts, "LogRecordServiceFee")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-... | [
0.7386294007301331,
0.07986046373844147,
0.49081072211265564,
-0.7620200514793396,
-0.16057969629764557,
-0.3667186200618744,
0.2560327649116516,
-0.8197043538093567,
-0.3841496407985687,
-0.07377396523952484,
-0.021486403420567513,
1.1314616203308105,
-0.15057744085788727,
0.4236377477645... |
func (it *DospaymentLogRefundServiceFeeIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8052785992622375,
0.13046835362911224,
0.08813705295324326,
-0.36574167013168335,
-0.5924565196037292,
0.5005437135696411,
-0.07398635149002075,
-1.107539415359497,
-0.39645615220069885,
-0.9721429944038391,
0.7606193423271179,
0.5716158151626587,
-0.7502068281173706,
1.2823814153671265,... |
func (_Dospayment *DospaymentFilterer) FilterLogRefundServiceFee(opts *bind.FilterOpts) (*DospaymentLogRefundServiceFeeIterator, error) {
logs, sub, err := _Dospayment.contract.FilterLogs(opts, "LogRefundServiceFee")
if err != nil {
return nil, err
}
return &DospaymentLogRefundServiceFeeIterator{contract: _Dospa... | [
0.713651716709137,
0.13277484476566315,
0.25167810916900635,
-0.399044394493103,
-0.19503973424434662,
-0.37244105339050293,
-0.14179779589176178,
-0.32133883237838745,
0.17967182397842407,
-0.18332529067993164,
0.6327158808708191,
1.1754446029663086,
-0.31123700737953186,
0.14216937124729... |
func (_Dospayment *DospaymentFilterer) WatchLogRefundServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRefundServiceFee) (event.Subscription, error) {
logs, sub, err := _Dospayment.contract.WatchLogs(opts, "LogRefundServiceFee")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-... | [
0.7851876020431519,
-0.09039232134819031,
0.4590425193309784,
-0.7815924882888794,
0.06695591658353806,
-0.6678460836410522,
0.2984129786491394,
-0.5820800065994263,
-0.15580929815769196,
-0.5902978181838989,
0.21612274646759033,
1.4026026725769043,
0.19377422332763672,
0.22827228903770447... |
func (it *DospaymentOwnershipRenouncedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.40549254417419434,
0.48717138171195984,
0.2235739678144455,
-0.10848858207464218,
-1.0848767757415771,
0.5890375375747681,
-0.436501145362854,
-0.4067491590976715,
-0.25162675976753235,
-0.23337019979953766,
0.7561701536178589,
1.0838056802749634,
-0.33923956751823425,
1.0513217449188232... |
func (_Dospayment *DospaymentFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*DospaymentOwnershipRenouncedIterator, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previousOwnerRule = append(previousOwnerRule, previousOwnerIt... | [
0.16501106321811676,
0.436845600605011,
0.7828570008277893,
0.6662237644195557,
-0.3412020206451416,
-0.7940905690193176,
0.3221516013145447,
0.3646774888038635,
-0.03489558771252632,
0.7448447942733765,
0.531363308429718,
1.2139908075332642,
-0.3505503535270691,
0.5593662261962891,
-0.0... |
func (_Dospayment *DospaymentFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previousOwnerRule = append(previousOwne... | [
0.6682720184326172,
0.1058167964220047,
0.9789912700653076,
0.28250259160995483,
-0.036498721688985825,
-0.7558469176292419,
0.6266418695449829,
-0.21619105339050293,
-0.1629505157470703,
-0.17037643492221832,
0.1150917038321495,
1.4046000242233276,
0.29642024636268616,
0.49103012681007385... |
func (it *DospaymentOwnershipTransferredIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.5226284265518188,
0.3885222375392914,
0.29489484429359436,
-0.3150758445262909,
-0.9068078398704529,
0.958608865737915,
0.015824098140001297,
-1.101503610610962,
-0.35785651206970215,
-0.009807238355278969,
0.8219233155250549,
0.6287464499473572,
-0.2444334775209427,
0.8185398578643799,
... |
func (_Dospayment *DospaymentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DospaymentOwnershipTransferredIterator, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previousOwnerRule = append(pre... | [
0.6384851336479187,
-0.15824012458324432,
0.8249674439430237,
0.8126513361930847,
-0.3316250741481781,
-0.26560646295547485,
0.24624678492546082,
-0.4717363715171814,
-0.09079372137784958,
0.6419711709022522,
0.4187362790107727,
1.0020356178283691,
-0.16192255914211273,
0.07960384339094162... |
func (_Dospayment *DospaymentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previous... | [
1.1456421613693237,
-0.11641762405633926,
0.8493195176124573,
0.2500113248825073,
-0.08422878384590149,
-0.2550029754638672,
0.6782903671264648,
-0.8770175576210022,
-0.030924059450626373,
-0.20456795394420624,
-0.0033917489927262068,
1.0525519847869873,
0.42776215076446533,
0.311278373003... |
func NewTransitGatewayConnect(ctx *pulumi.Context,
name string, args *TransitGatewayConnectArgs, opts ...pulumi.ResourceOption) (*TransitGatewayConnect, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.Options == nil {
return nil, errors.New("invalid value fo... | [
-0.3288629651069641,
-0.07493491470813751,
0.35744333267211914,
-0.7843825221061707,
-1.2056279182434082,
0.21659842133522034,
-0.4726461172103882,
-0.3648037910461426,
-1.0183765888214111,
1.1269596815109253,
-0.23796023428440094,
-0.3907344341278076,
-0.3617788851261139,
0.05269859731197... |
func GetTransitGatewayConnect(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *TransitGatewayConnectState, opts ...pulumi.ResourceOption) (*TransitGatewayConnect, error) {
var resource TransitGatewayConnect
err := ctx.ReadResource("aws-native:ec2:TransitGatewayConnect", name, id, state, &resource, opts...... | [
0.18987184762954712,
-0.46291258931159973,
0.4335465133190155,
-0.9887241721153259,
-0.9987253546714783,
-0.20559154450893402,
-0.5952669978141785,
-0.4056837558746338,
-0.10606847703456879,
1.3272522687911987,
-0.1591462939977646,
0.35107943415641785,
-0.1889481246471405,
-0.7777603268623... |
func (o TransitGatewayConnectOutput) Options() TransitGatewayConnectOptionsOutput {
return o.ApplyT(func(v *TransitGatewayConnect) TransitGatewayConnectOptionsOutput { return v.Options }).(TransitGatewayConnectOptionsOutput)
} | [
0.2978651225566864,
-0.6266152858734131,
0.5201623439788818,
-1.0958811044692993,
0.18329069018363953,
-0.036275140941143036,
0.09602303057909012,
-1.0804967880249023,
0.07940938323736191,
1.2433013916015625,
-0.1436014473438263,
-0.3809930682182312,
0.4178013801574707,
-0.6853463649749756... |
func (o TransitGatewayConnectOutput) State() pulumi.StringOutput {
return o.ApplyT(func(v *TransitGatewayConnect) pulumi.StringOutput { return v.State }).(pulumi.StringOutput)
} | [
0.35204923152923584,
-0.7509401440620422,
0.32476556301116943,
-1.2700798511505127,
-0.6245236992835999,
0.581481397151947,
-0.30065247416496277,
-0.2398197054862976,
-0.10368125140666962,
1.3185181617736816,
0.02709040232002735,
-0.28588563203811646,
0.03021971508860588,
-1.00714612007141... |
func (o TransitGatewayConnectOutput) Tags() TransitGatewayConnectTagArrayOutput {
return o.ApplyT(func(v *TransitGatewayConnect) TransitGatewayConnectTagArrayOutput { return v.Tags }).(TransitGatewayConnectTagArrayOutput)
} | [
-0.03878769651055336,
-0.2293512225151062,
0.6257883906364441,
-0.634127676486969,
0.5236950516700745,
0.2650400400161743,
-0.6826366782188416,
-0.9579477906227112,
-0.3626526892185211,
1.1848562955856323,
-0.6923296451568604,
-0.5442762970924377,
0.06402276456356049,
-0.03119482658803463,... |
func (o TransitGatewayConnectOutput) TransitGatewayAttachmentId() pulumi.StringOutput {
return o.ApplyT(func(v *TransitGatewayConnect) pulumi.StringOutput { return v.TransitGatewayAttachmentId }).(pulumi.StringOutput)
} | [
0.12670780718326569,
-1.086169719696045,
0.28966861963272095,
-0.8185740113258362,
-0.9318415522575378,
1.5884504318237305,
0.2019561380147934,
-0.19655658304691315,
0.46219533681869507,
1.3146284818649292,
0.32042932510375977,
0.6366426944732666,
-0.316235214471817,
-0.4794020354747772,
... |
func (o TransitGatewayConnectOutput) TransitGatewayId() pulumi.StringOutput {
return o.ApplyT(func(v *TransitGatewayConnect) pulumi.StringOutput { return v.TransitGatewayId }).(pulumi.StringOutput)
} | [
0.7433927059173584,
-0.33034899830818176,
0.10694878548383713,
-0.7479588985443115,
-0.4316171407699585,
0.6278226375579834,
-0.11027688533067703,
0.3064940571784973,
0.09055005013942719,
1.2689533233642578,
-0.2922908365726471,
0.30396002531051636,
-0.4816378057003021,
-0.1319083571434021... |
func (o TransitGatewayConnectOutput) TransportTransitGatewayAttachmentId() pulumi.StringOutput {
return o.ApplyT(func(v *TransitGatewayConnect) pulumi.StringOutput { return v.TransportTransitGatewayAttachmentId }).(pulumi.StringOutput)
} | [
0.036785226315259933,
-0.8456981182098389,
0.34397128224372864,
-0.9382258653640747,
-0.7994648814201355,
1.5148932933807373,
0.3451420068740845,
-0.2140927016735077,
0.38253164291381836,
1.4097013473510742,
-0.17946548759937286,
0.4976212978363037,
-0.35238227248191833,
-0.634147763252258... |
func CreateNewOrderService(db *sql.DB) NewOrderService {
return &NewOrderServiceImpl{
db: db,
d: dao.CreateDistrictDao(db),
c: dao.CreateCustomerDao(db),
s: dao.CreateStockDao(db),
o: dao.CreateOrderDao(db),
ol: dao.CreateOrderLineDao(db),
cip: dao.CreateCustomerItemsPairDao(db),
}
} | [
-0.2152671217918396,
-0.2995546758174896,
0.15868248045444489,
-0.10271871089935303,
0.18458281457424164,
0.36808139085769653,
0.10005399584770203,
-0.8165839314460754,
0.14220283925533295,
0.11245038360357285,
-0.24785111844539642,
-0.31696265935897827,
-0.32711365818977356,
1.47421956062... |
func (nos *NewOrderServiceImpl) ProcessTransaction(req *models.NewOrder) (*models.NewOrderOutput, error) {
log.Printf("Starting the New Order Transaction for row: c=%d w=%d d=%d n=%d", req.CustomerID, req.WarehouseID, req.DistrictID, req.UniqueItems)
result, err := nos.execute(req)
if err != nil {
return nil, fmt... | [
-0.8238741755485535,
-0.0449407696723938,
0.6665854454040527,
0.009534466080367565,
0.6781481504440308,
-0.969366729259491,
0.5697670578956604,
-0.8526599407196045,
0.04824823886156082,
0.6679645776748657,
-0.02998543716967106,
-0.877339780330658,
-0.12826183438301086,
0.8409226536750793,
... |
func (nos *NewOrderServiceImpl) Print(o *models.NewOrderOutput) {
var newOrderString strings.Builder
newOrderString.WriteString(fmt.Sprintf("Customer Identifier => W_ID = %d, D_ID = %d, C_ID = %d \n", o.Customer.WarehouseID, o.Customer.DistrictID, o.Customer.CustomerID))
newOrderString.WriteString(fmt.Sprintf("Cust... | [
0.23237593472003937,
-0.9699429869651794,
1.0449309349060059,
-0.4670011103153229,
0.07432485371828079,
-0.21811622381210327,
-0.2545177936553955,
-1.0161160230636597,
-0.5810614228248596,
-0.5341265797615051,
-0.2112371176481247,
-0.048914194107055664,
0.2561851441860199,
0.25748181343078... |
func NewConfig() Config {
return Config{
BindAddress: DefaultBindAddress,
Database: DefaultDatabase,
Protocol: DefaultProtocol,
NamePosition: DefaultNamePosition,
NameSeparator: DefaultNameSeparator,
ConsistencyLevel: DefaultConsistencyLevel,
}
} | [
0.4347597062587738,
-0.38029325008392334,
0.2531280815601349,
-0.37075984477996826,
0.07699555158615112,
0.09198223799467087,
-0.054658737033605576,
0.49791863560676575,
-0.2849823534488678,
-0.14689482748508453,
-0.7945043444633484,
-0.34734225273132324,
-0.5542262196540833,
0.96283310651... |
func (c *Config) LastEnabled() bool {
return c.NamePosition == strings.ToLower("last")
} | [
-0.22288869321346283,
-0.33179354667663574,
0.5424163341522217,
-0.5878214836120605,
-0.029392234981060028,
-0.11744014173746109,
-0.9369297623634338,
0.06691232323646545,
0.13798025250434875,
1.2360527515411377,
-1.3175806999206543,
-0.9365321397781372,
-1.3378697633743286,
-0.08657141774... |
func NewEmailAction(contentTemplate string, subjectTemplate string, to []string, ) *EmailAction {
this := EmailAction{}
this.ContentTemplate = contentTemplate
this.SubjectTemplate = subjectTemplate
this.To = to
return &this
} | [
-0.6595276594161987,
-0.8199224472045898,
0.4271537661552429,
-0.2915912866592407,
-0.2418167144060135,
-0.14817290008068085,
0.36496156454086304,
-0.16946008801460266,
-0.3661688268184662,
0.9101524353027344,
-1.1512317657470703,
0.6940407156944275,
-0.22626245021820068,
-0.07626180350780... |
func NewEmailActionWithDefaults() *EmailAction {
this := EmailAction{}
return &this
} | [
-0.5055510401725769,
-0.27372199296951294,
0.09699691087007523,
0.20566192269325256,
0.4242842495441437,
-0.6062591671943665,
0.24421101808547974,
-0.6321146488189697,
0.5593806505203247,
0.3428380489349365,
-1.404139518737793,
-0.6425040364265442,
-0.4969480335712433,
0.4062492549419403,
... |
func (o *EmailAction) GetCc() []string {
if o == nil || o.Cc == nil {
var ret []string
return ret
}
return *o.Cc
} | [
0.8208010792732239,
0.03223695233464241,
0.5963936448097229,
1.2894411087036133,
0.39907893538475037,
0.0065027279779314995,
1.2050727605819702,
-0.11756566911935806,
0.9413065910339355,
-0.4282740354537964,
-0.022399848327040672,
-0.4462278485298157,
0.05991390720009804,
0.797474026679992... |
func (o *EmailAction) GetCcOk() (*[]string, bool) {
if o == nil || o.Cc == nil {
return nil, false
}
return o.Cc, true
} | [
0.15745031833648682,
0.23982401192188263,
0.42180871963500977,
1.2204499244689941,
0.9311298727989197,
-0.20590487122535706,
1.2703113555908203,
0.8491448760032654,
0.4743502736091614,
0.1231120303273201,
-0.6201171875,
-0.0036475928500294685,
0.2259882092475891,
0.41590896248817444,
0.7... |
func (o *EmailAction) HasCc() bool {
if o != nil && o.Cc != nil {
return true
}
return false
} | [
1.545423984527588,
0.15082761645317078,
0.39920467138290405,
0.837350070476532,
0.8786764740943909,
-0.4933711588382721,
0.6288535594940186,
0.8947651386260986,
0.5089722871780396,
-0.6211471557617188,
-0.08396115154027939,
-0.6212769746780396,
0.6890477538108826,
0.4783744215965271,
0.2... |
func (o *EmailAction) SetCc(v []string) {
o.Cc = &v
} | [
0.9510602951049805,
-0.6353868246078491,
0.20362815260887146,
0.5473775863647461,
-0.08966030180454254,
0.14511045813560486,
0.04452913999557495,
-0.8891242742538452,
0.4590846002101898,
0.13667677342891693,
0.4434959292411804,
0.9544660449028015,
0.27002832293510437,
0.008079326711595058,... |
func (o *EmailAction) GetCci() []string {
if o == nil || o.Cci == nil {
var ret []string
return ret
}
return *o.Cci
} | [
0.6407544016838074,
0.1549045294523239,
0.3593302071094513,
1.587064266204834,
0.4229249656200409,
-0.33010005950927734,
1.0063306093215942,
-0.18259437382221222,
0.3618185222148895,
-0.13879989087581635,
-0.42412829399108887,
-0.9074961543083191,
-0.19643640518188477,
0.7390404939651489,
... |
func (o *EmailAction) GetCciOk() (*[]string, bool) {
if o == nil || o.Cci == nil {
return nil, false
}
return o.Cci, true
} | [
0.1869116872549057,
-0.2111058384180069,
0.14398059248924255,
0.9242396950721741,
0.5120669007301331,
0.34741178154945374,
1.0222537517547607,
0.8927887082099915,
-0.12415837496519089,
0.6969676613807678,
-1.006628155708313,
-0.4712010324001312,
-0.3462587296962738,
0.529476523399353,
0.... |
func (o *EmailAction) HasCci() bool {
if o != nil && o.Cci != nil {
return true
}
return false
} | [
1.160517930984497,
0.3743396997451782,
0.14498288929462433,
1.169609546661377,
0.8868551254272461,
-0.8434280157089233,
0.5515609979629517,
0.6640081405639648,
-0.31093811988830566,
-0.23043349385261536,
-0.8124371767044067,
-1.0822173357009888,
0.38457244634628296,
0.236861452460289,
0.... |
func (o *EmailAction) SetCci(v []string) {
o.Cci = &v
} | [
0.712691605091095,
-0.6334406137466431,
-0.03983740136027336,
0.7804985046386719,
-0.06239831820130348,
0.012476371601223946,
-0.06010100990533829,
-0.9118828773498535,
-0.13956521451473236,
0.6512194871902466,
-0.2725074291229248,
0.3450051248073578,
-0.019543007016181946,
-0.190025776624... |
func (o *EmailAction) GetContentTemplate() string {
if o == nil {
var ret string
return ret
}
return o.ContentTemplate
} | [
0.37978434562683105,
-0.49108076095581055,
0.05698799341917038,
0.1921815127134323,
-0.3641596734523773,
0.310615211725235,
0.7550426125526428,
-0.23465639352798462,
0.07611498981714249,
-0.1270032525062561,
-0.5860069990158081,
-1.1604844331741333,
-1.2368626594543457,
-0.6735960841178894... |
func (o *EmailAction) GetContentTemplateOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ContentTemplate, true
} | [
-0.059651028364896774,
-0.2945670485496521,
0.3272339105606079,
0.12833477556705475,
-0.8201818466186523,
0.0203629732131958,
0.9688754677772522,
0.6796822547912598,
-0.7123075127601624,
0.7178874611854553,
-1.619347095489502,
-1.426007866859436,
-0.15766377747058868,
0.27310386300086975,
... |
func (o *EmailAction) SetContentTemplate(v string) {
o.ContentTemplate = v
} | [
0.06045842915773392,
-1.0668821334838867,
-0.18653413653373718,
-0.7571544051170349,
-0.8326680660247803,
-0.18889924883842468,
0.7583593726158142,
-0.5039560198783875,
-0.2559680640697479,
0.765211284160614,
-0.8427746295928955,
-0.3451337218284607,
-1.4100944995880127,
-0.671977460384368... |
func (o *EmailAction) GetSubjectTemplate() string {
if o == nil {
var ret string
return ret
}
return o.SubjectTemplate
} | [
1.0238226652145386,
-0.16203367710113525,
0.13435135781764984,
0.4200694262981415,
-0.9357501864433289,
0.6316868662834167,
0.38285988569259644,
-0.1862587034702301,
0.3209186792373657,
-0.0015861615538597107,
-1.062059760093689,
-0.7114402055740356,
-0.9164783358573914,
-0.314685642719268... |
func (o *EmailAction) GetSubjectTemplateOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SubjectTemplate, true
} | [
0.5337367057800293,
0.09273755550384521,
0.4978440999984741,
0.38128662109375,
-1.0794618129730225,
0.43611836433410645,
0.6622863411903381,
0.4737951159477234,
0.0036933100782334805,
1.393330454826355,
-1.9387481212615967,
-0.9601632952690125,
0.3343062102794647,
0.4522389769554138,
-0.... |
func (o *EmailAction) SetSubjectTemplate(v string) {
o.SubjectTemplate = v
} | [
0.7308048605918884,
-0.7070046067237854,
-0.20354735851287842,
-0.30789420008659363,
-1.5523749589920044,
0.2206348478794098,
0.20076724886894226,
-0.5878410935401917,
0.08615565299987793,
0.9162511825561523,
-1.1485666036605835,
-0.11723260581493378,
-0.7304825186729431,
-0.22033536434173... |
func (o *EmailAction) GetTo() []string {
if o == nil {
var ret []string
return ret
}
return o.To
} | [
-0.17638549208641052,
0.2835672199726105,
0.41059064865112305,
0.26147767901420593,
1.3761379718780518,
-0.48213455080986023,
0.6210220456123352,
-0.24777232110500336,
0.46495741605758667,
-0.47771766781806946,
-0.8967887759208679,
0.7423636317253113,
0.2034769356250763,
-0.325352072715759... |
func (o *EmailAction) GetToOk() (*[]string, bool) {
if o == nil {
return nil, false
}
return &o.To, true
} | [
-0.4038159251213074,
0.7298912405967712,
0.747542679309845,
0.3820829689502716,
0.7277945876121521,
-0.19722595810890198,
0.8190969228744507,
0.31440505385398865,
0.07917752116918564,
0.8522107005119324,
-1.1210684776306152,
-0.0693020224571228,
0.6482760906219482,
-0.5413496494293213,
0... |
func (o *EmailAction) SetTo(v []string) {
o.To = v
} | [
-1.0455752611160278,
-0.27033811807632446,
0.13263192772865295,
-0.6477274894714355,
0.9907563924789429,
-0.2268274426460266,
-0.01182081364095211,
-0.09778615832328796,
0.16360126435756683,
0.39225372672080994,
-1.3430602550506592,
1.2169040441513062,
0.5606536269187927,
-0.55770480632781... |
func (dc *DepartmentCreate) SetName(s string) *DepartmentCreate {
dc.mutation.SetName(s)
return dc
} | [
-0.9016962051391602,
0.8483942151069641,
0.20602549612522125,
1.1466193199157715,
-0.40949341654777527,
0.44342440366744995,
0.27898266911506653,
0.3478763699531555,
0.5805280804634094,
-0.11731128394603729,
-1.0499606132507324,
-0.5202814340591431,
0.786364734172821,
0.6476560831069946,
... |
func (dc *DepartmentCreate) AddDetailIDs(ids ...int) *DepartmentCreate {
dc.mutation.AddDetailIDs(ids...)
return dc
} | [
-1.1071206331253052,
0.9248973727226257,
0.3122086524963379,
0.4277975857257843,
0.7391948103904724,
0.419325590133667,
0.025761567056179047,
0.7617537975311279,
0.6994732022285461,
-0.5490196347236633,
-1.380571722984314,
0.45850351452827454,
0.41737180948257446,
0.6877009272575378,
-0.... |
func (dc *DepartmentCreate) AddDetails(d ...*Detail) *DepartmentCreate {
ids := make([]int, len(d))
for i := range d {
ids[i] = d[i].ID
}
return dc.AddDetailIDs(ids...)
} | [
-0.6813499331474304,
1.1741265058517456,
0.3499620258808136,
0.6525930166244507,
1.2695587873458862,
0.7924709320068359,
-0.6794120669364929,
0.04613972827792168,
0.28731775283813477,
-1.3527629375457764,
0.023609358817338943,
0.04245547205209732,
0.4130229949951172,
1.3985004425048828,
... |
func (dc *DepartmentCreate) AddOfficeIDs(ids ...int) *DepartmentCreate {
dc.mutation.AddOfficeIDs(ids...)
return dc
} | [
-1.492969036102295,
0.370290070772171,
0.1556425541639328,
0.14883941411972046,
0.09031490236520767,
0.5411825180053711,
-0.4609909951686859,
0.15201206505298615,
0.9189649224281311,
0.6107697486877441,
-0.09352399408817291,
-0.11552738398313522,
-0.3928171992301941,
0.874557375907898,
-... |
func (dc *DepartmentCreate) AddOffices(o ...*Office) *DepartmentCreate {
ids := make([]int, len(o))
for i := range o {
ids[i] = o[i].ID
}
return dc.AddOfficeIDs(ids...)
} | [
-0.801393985748291,
0.8301502466201782,
0.444962739944458,
0.37369436025619507,
0.2731567919254303,
0.4490378499031067,
-0.23643067479133606,
-0.05722297728061676,
0.598962128162384,
-0.06690225750207901,
0.566122829914093,
-0.8406566381454468,
0.021485773846507072,
0.9672900438308716,
-... |
func (dc *DepartmentCreate) AddScheduleIDs(ids ...int) *DepartmentCreate {
dc.mutation.AddScheduleIDs(ids...)
return dc
} | [
-1.5780704021453857,
0.48288601636886597,
0.22748911380767822,
0.7229476571083069,
-0.20622266829013824,
0.8288014531135559,
-1.085754632949829,
0.16108353435993195,
0.8722132444381714,
-0.11008564382791519,
-0.7526030540466309,
0.703152060508728,
-0.0034239888191223145,
0.0718939825892448... |
func (dc *DepartmentCreate) AddSchedules(s ...*Schedule) *DepartmentCreate {
ids := make([]int, len(s))
for i := range s {
ids[i] = s[i].ID
}
return dc.AddScheduleIDs(ids...)
} | [
-0.6091464161872864,
0.8940829634666443,
0.26048848032951355,
0.8241531848907471,
0.1826322227716446,
0.44245612621307373,
-0.5064259171485901,
-0.57709801197052,
0.7949545383453369,
-0.8431409001350403,
0.5997859835624695,
-0.3243861496448517,
-0.23494240641593933,
0.5875887274742126,
-... |
func (dc *DepartmentCreate) AddTrainingIDs(ids ...int) *DepartmentCreate {
dc.mutation.AddTrainingIDs(ids...)
return dc
} | [
-1.9023722410202026,
0.9694139361381531,
0.24745777249336243,
0.6551345586776733,
-0.30602723360061646,
0.7397858500480652,
0.24226605892181396,
0.47525858879089355,
-0.28723543882369995,
0.1435139924287796,
-0.9655990600585938,
-0.3044949471950531,
0.0734730213880539,
0.32562288641929626,... |
func (dc *DepartmentCreate) AddTrainings(t ...*Training) *DepartmentCreate {
ids := make([]int, len(t))
for i := range t {
ids[i] = t[i].ID
}
return dc.AddTrainingIDs(ids...)
} | [
-1.392347812652588,
1.4935197830200195,
0.40986958146095276,
0.6310160756111145,
0.744604766368866,
0.5452873110771179,
0.1602236032485962,
-0.08701004832983017,
-0.2434007078409195,
-0.1774412989616394,
-0.288362979888916,
-1.0486854314804077,
0.16287992894649506,
0.7006267309188843,
-1... |
func (dc *DepartmentCreate) AddSpecialdoctorIDs(ids ...int) *DepartmentCreate {
dc.mutation.AddSpecialdoctorIDs(ids...)
return dc
} | [
-1.3341174125671387,
0.575160026550293,
0.1114858016371727,
0.4825682044029236,
-0.3811609447002411,
-0.6330305337905884,
-0.6283852458000183,
0.8546231985092163,
1.1767315864562988,
-0.20921705663204193,
-0.5046429634094238,
0.8173719644546509,
0.47887706756591797,
1.0003899335861206,
-... |
func (dc *DepartmentCreate) AddSpecialdoctors(s ...*Specialdoctor) *DepartmentCreate {
ids := make([]int, len(s))
for i := range s {
ids[i] = s[i].ID
}
return dc.AddSpecialdoctorIDs(ids...)
} | [
-0.7678081393241882,
0.7010626792907715,
0.14867569506168365,
0.8692659139633179,
0.3740619719028473,
-0.4839482307434082,
-0.39518117904663086,
0.35558998584747314,
1.127045750617981,
-0.767542839050293,
0.016145164147019386,
0.7793156504631042,
0.10891958326101303,
1.136618733406067,
-... |
func (dc *DepartmentCreate) Mutation() *DepartmentMutation {
return dc.mutation
} | [
-1.1083437204360962,
0.08330055326223373,
0.13557648658752441,
0.33560681343078613,
0.35809454321861267,
0.7273356318473816,
0.39292407035827637,
-0.3449210524559021,
1.6859582662582397,
-0.6673485040664673,
0.2468671053647995,
-0.27673396468162537,
0.5663397908210754,
0.4295296370983124,
... |
func (dc *DepartmentCreate) Save(ctx context.Context) (*Department, error) {
if _, ok := dc.mutation.Name(); !ok {
return nil, &ValidationError{Name: "Name", err: errors.New("ent: missing required field \"Name\"")}
}
if v, ok := dc.mutation.Name(); ok {
if err := department.NameValidator(v); err != nil {
retu... | [
-0.8253697156906128,
0.20172320306301117,
0.6791374087333679,
-0.12539111077785492,
0.4080291986465454,
-0.10976660251617432,
0.6209449768066406,
-0.772572934627533,
0.008784412406384945,
0.19421125948429108,
-0.07694587111473083,
0.004398055840283632,
-0.01137042697519064,
0.5195609331130... |
func (dc *DepartmentCreate) SaveX(ctx context.Context) *Department {
v, err := dc.Save(ctx)
if err != nil {
panic(err)
}
return v
} | [
-0.6213163137435913,
0.9943610429763794,
0.30407971143722534,
0.606480062007904,
-0.2239716500043869,
1.484189748764038,
-0.8094240427017212,
-0.1695396453142166,
1.5609110593795776,
-0.3420882523059845,
-0.9042143225669861,
-0.09846007078886032,
-0.03051898255944252,
0.5419456958770752,
... |
func Mount(client *client.Client, mountpoint string, stop <-chan bool, stopped chan<- bool) {
c, err := fuse.Mount(mountpoint)
if err != nil {
log.Fatal(err)
}
defer c.Close()
log.Printf("Mounting read-only filesystem on %v\nCtrl+C to unmount.", mountpoint)
cs := make(chan os.Signal, 1)
signal.Notify(cs, os.I... | [
0.7318915724754333,
-0.6764184236526489,
0.6943759322166443,
-0.3342452347278595,
0.06524224579334259,
-0.5365058779716492,
-0.2082042545080185,
-0.11697506159543991,
-0.577196478843689,
-0.1714865267276764,
0.40766146779060364,
0.30041763186454773,
-0.6439977884292603,
0.337591290473938,
... |
func NewFS(client *client.Client) (fs *FS) {
// Override supported time format
now.TimeFormats = []string{"2006-1-2T15:4:5", "2006-1-2T15:4", "2006-1-2T15", "2006-1-2", "2006-1", "2006"}
fs = &FS{Client: client}
return
} | [
-0.6491832137107849,
-0.35185322165489197,
0.6990376710891724,
-0.2874491214752197,
-1.236008882522583,
-0.6101072430610657,
0.08931687474250793,
-0.995217502117157,
0.2515909671783447,
-0.33027413487434387,
0.7127751708030701,
-0.16507862508296967,
-0.4814756214618683,
0.01759881898760795... |
func (m *VolumeEfficiencyPolicy) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateLinks(formats); err != nil {
res = append(res, err)
}
if err := m.validateQosPolicy(formats); err != nil {
res = append(res, err)
}
if err := m.validateSchedule(formats); err != nil {
res = appe... | [
0.30494922399520874,
-0.5045658349990845,
0.20497745275497437,
-0.7585383653640747,
0.9119001626968384,
0.031589068472385406,
-0.03799407184123993,
-0.13352349400520325,
0.4441262185573578,
0.32513266801834106,
0.4930817484855652,
0.15219663083553314,
-0.5588782429695129,
0.220486596226692... |
func (m *VolumeEfficiencyPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
var res []error
if err := m.contextValidateLinks(ctx, formats); err != nil {
res = append(res, err)
}
if err := m.contextValidateSchedule(ctx, formats); err != nil {
res = append(res, err)
}
if err := m.c... | [
0.1395541876554489,
-0.5583370327949524,
0.3614724278450012,
-0.7015443444252014,
0.5727145671844482,
0.1320153921842575,
-0.5221955180168152,
-0.12247978895902634,
1.3573722839355469,
0.5292668342590332,
0.8500893115997314,
0.42299047112464905,
-0.8413351774215698,
-0.08465230464935303,
... |
func (m *VolumeEfficiencyPolicyInlineLinks) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateSelf(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
0.050757549703121185,
-1.0909357070922852,
0.17132210731506348,
-0.786412239074707,
1.106818675994873,
-0.22426128387451172,
-0.2532493472099304,
0.9403223395347595,
-0.10819339752197266,
0.017576126381754875,
0.20970867574214935,
0.17454861104488373,
-1.582560658454895,
-0.370513647794723... |
func (m *VolumeEfficiencyPolicyInlineLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
var res []error
if err := m.contextValidateSelf(ctx, formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
0.16215801239013672,
-1.1595022678375244,
0.31314364075660706,
-0.6808063387870789,
0.6777017116546631,
0.07291736453771591,
-0.5893014669418335,
0.5866376757621765,
0.6966709494590759,
0.014558914117515087,
0.39186879992485046,
0.7232030034065247,
-1.5517945289611816,
-0.5507676005363464,... |
func (m *VolumeEfficiencyPolicyInlineSchedule) Validate(formats strfmt.Registry) error {
return nil
} | [
0.22220712900161743,
-0.9762446284294128,
0.326732873916626,
-0.7200934290885925,
0.8906358480453491,
0.2045508325099945,
-0.5435322523117065,
1.2652047872543335,
0.12199025601148605,
0.24057753384113312,
0.2548355460166931,
-0.19889521598815918,
-0.869227945804596,
-0.4434703290462494,
... |
func (m *VolumeEfficiencyPolicyInlineSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
} | [
0.33339881896972656,
-1.1230872869491577,
0.444638729095459,
-0.6765017509460449,
0.304302453994751,
0.40961191058158875,
-0.7951154708862305,
0.9610506296157837,
0.8072466254234314,
0.42966872453689575,
0.3533322811126709,
0.4359261095523834,
-0.9898134469985962,
-0.6610252261161804,
-0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.