text
stringlengths
11
6.3k
embedding
listlengths
768
768
func Getenv(key string) string
[ -0.1981711983680725, 0.2608364522457123, 0.07377388328313828, 0.7654863595962524, -0.3018092215061188, 0.30452263355255127, -0.2626030147075653, -0.25735342502593994, -1.0196746587753296, 1.1265850067138672, -0.07148204743862152, 0.8543775677680969, -0.02792949788272381, -0.433860778808593...
func Getgid() int
[ 1.1555733680725098, 1.0605192184448242, 0.4520091414451599, 0.2503030598163605, 0.744768500328064, 1.016350269317627, 0.820659339427948, 0.19073271751403809, -0.7426508069038391, 0.020424416288733482, 0.2729072570800781, 0.9518658518791199, -1.3350319862365723, 1.11826753616333, 1.219037...
func Getwd() (string, error)
[ -0.0979902371764183, 0.09261378645896912, 0.8253813982009888, 1.5064280033111572, -0.3690282702445984, 0.8021391034126282, 1.4661768674850464, -0.9564313292503357, 0.1983509510755539, -1.142468810081482, 0.5973625183105469, 1.7786146402359009, 0.6339128613471985, 0.17532919347286224, 0.3...
func Readlink(name string) (string, error)
[ -0.7393784523010254, -0.6443048715591431, 0.5364216566085815, 0.6795494556427002, -0.7966142892837524, -0.09752614796161652, -0.11078640818595886, -0.2872985005378723, -0.290579229593277, -0.4818926751613617, 0.036060232669115067, 0.4399595856666565, -0.3724427819252014, -0.704170525074005...
func Remove(name string) error
[ 0.16414222121238708, -0.23630771040916443, 0.19169273972511292, 0.5773271322250366, -1.5454285144805908, 0.19549418985843658, 0.1575825810432434, 0.6035540699958801, 0.4878230392932892, 0.7224098443984985, -1.0620074272155762, -0.10635124891996384, -1.0389256477355957, 0.3444460332393646, ...
func FileModeIsRegular(m os.FileMode,) bool
[ -0.13327261805534363, 0.04131774976849556, 0.5346249341964722, 0.6115384101867676, -0.5875529646873474, 0.32005223631858826, -0.012573778629302979, 0.7849941253662109, -0.6837331056594849, 0.10450804233551025, -0.1914551556110382, 0.5144710540771484, -0.2495393306016922, -0.410995304584503...
func Rename(oldpath, newpath string) error
[ 0.17695684731006622, -0.8704680800437927, 0.38113126158714294, 1.5792572498321533, -0.1819051057100296, -0.4657539427280426, -0.049332067370414734, 0.8553973436355591, -0.3031785488128662, 0.5166322588920593, 0.6202439069747925, 0.7487537860870361, -0.15969620645046234, -0.4341412186622619...
func Create(name string) (*os.File, error)
[ 0.6852903366088867, 0.008577108383178711, 0.48314160108566284, 0.7089682817459106, -0.4634030759334564, 0.5769650936126709, 0.12094483524560928, -1.0472725629806519, -1.9249533414840698, -0.52150958776474, 0.32816508412361145, -0.607525646686554, 0.560438334941864, 0.12735770642757416, -...
func Open(name string) (*os.File, error)
[ -0.408613920211792, 0.20883522927761078, 0.4486156105995178, 0.013484752736985683, -1.5391943454742432, 0.8246604204177856, 0.5985816717147827, 0.5021520853042603, -1.0805727243423462, -0.25028929114341736, -0.013005845248699188, -0.023036664351820946, 0.20281796157360077, -0.7950608730316...
func FileSetReadDeadline(f *os.File, t time.Time) error
[ 0.11354511231184006, -0.8101207613945007, 0.6093930602073669, -0.7392086386680603, -0.040721792727708817, 0.4246034622192383, -0.1281014233827591, -0.4348522424697876, -1.1535608768463135, 0.07530338317155838, 0.14218853414058685, 0.14384792745113373, 1.278989315032959, -0.2009457945823669...
func Stat(name string) (os.FileInfo, error)
[ 0.3885226249694824, -0.8852641582489014, 0.5098128914833069, -0.7523080110549927, -0.8598359823226929, 0.056847281754016876, 0.3701920509338379, -0.7322716116905212, -0.5268698334693909, -0.35867536067962646, -1.3074865341186523, -0.009366091340780258, 0.6210604310035706, 0.519377470016479...
func FileSetWriteDeadline(f *os.File, t time.Time) error
[ -0.7160221934318542, -1.1351398229599, 0.44339534640312195, -0.6415812969207764, 1.1550517082214355, 0.3866991400718689, -0.1184539720416069, 0.1890510618686676, -1.5051376819610596, -0.06485827267169952, 0.19736190140247345, -0.2573240399360657, 0.8843562602996826, -0.3476138412952423, ...
func FileModePerm(m os.FileMode,) os.FileMode
[ 0.3809736371040344, -0.5629771947860718, 0.4155217707157135, 0.8916322588920593, -1.112239122390747, 0.6181074976921082, 0.2643812894821167, 0.9632176160812378, -0.3998095393180847, -0.2878105044364929, 0.7448250651359558, -0.6517680883407593, -0.3902381658554077, -0.022683385759592056, ...
func ProcessStateUserTime(p *os.ProcessState,) time.Duration
[ 0.03220665454864502, -0.5922080874443054, 0.4233470857143402, 0.0019222795963287354, -0.6120814681053162, 0.2906433641910553, 0.44899988174438477, 0.17868946492671967, 0.21684327721595764, 0.9832649230957031, -0.2546437978744507, -0.08657483011484146, -0.036899346858263016, -0.452823251485...
func FileWriteAt(f *os.File, b []byte, off int64) (int, error)
[ -0.8175068497657776, -1.1983120441436768, 0.4869449734687805, -0.6633296608924866, -0.09071969985961914, 0.4883096516132355, -0.04037007316946983, 0.5172736048698425, -1.1697829961776733, 0.19794629514217377, 0.15448567271232605, -0.41484275460243225, 0.3502519428730011, -0.027615543454885...
func Lstat(name string) (os.FileInfo, error)
[ 0.9461150765419006, -0.13133199512958527, 0.531488835811615, -2.1216251850128174, -1.1408780813217163, 0.10742155462503433, -0.49976006150245667, -0.8288156390190125, -0.20402748882770538, 0.10273993760347366, -0.5229335427284241, -0.24208582937717438, 0.3262004256248474, 0.072646938264369...
func FindProcess(pid int) (*os.Process, error)
[ 0.9629551768302917, -0.4065379202365875, 0.367220938205719, 0.008143085986375809, 0.04031596705317497, 0.026196246966719627, 0.3097505569458008, -1.5111491680145264, 0.197174072265625, 0.16499672830104828, 0.20142114162445068, -0.3943617343902588, -0.5336067080497742, 0.2885441184043884, ...
func RemoveAll(path string) error
[ 0.693512499332428, -0.8189916014671326, 0.4536820650100708, 1.0099601745605469, -0.3348446190357208, 0.6888547539710999, 0.1627633273601532, 1.392648696899414, 0.07719212025403976, 0.12073082476854324, -0.3522709310054779, 0.43197503685951233, -0.18199263513088226, 0.3313405513763428, -0...
func Symlink(oldname, newname string) error
[ 0.8762115240097046, -0.294397234916687, 0.2525387704372406, 0.20592303574085236, -0.5683193206787109, -0.5798029899597168, 0.15593096613883972, 1.3104671239852905, 0.3035442531108856, 0.5179253816604614, -0.7997923493385315, 1.6334645748138428, 0.35599151253700256, -0.15754754841327667, ...
func FileName(f *os.File,) string
[ 0.4564516544342041, -0.5471621751785278, 0.3788958489894867, 0.46465355157852173, -0.4049887955188751, -0.02144797518849373, 0.2357500195503235, 1.2124414443969727, -1.4945940971374512, 0.29592064023017883, 0.4037524163722992, 0.3798832893371582, 1.4678518772125244, -0.3500494360923767, ...
func FileSyscallConn(f *os.File,) (syscall.RawConn, error)
[ -0.13094735145568848, -0.8652215600013733, 0.4766404330730438, 0.7451126575469971, -0.45861855149269104, -0.8617374300956726, -0.2567063271999359, 0.3358921706676483, -0.6711072325706482, -0.3741963505744934, -0.800166666507721, 0.14398185908794403, 1.5675861835479736, 0.5634655952453613, ...
func FileRead(f *os.File, b []byte) (int, error)
[ 0.5245791673660278, 0.14570268988609314, 0.4485141634941101, 0.21264508366584778, -0.27261680364608765, 1.2992430925369263, 0.3964206576347351, 0.9368747472763062, -1.1970429420471191, -0.2371121644973755, 0.7263507843017578, 0.262262761592865, 0.006191931199282408, -0.4047445058822632, ...
func FileSeek(f *os.File, offset int64, whence int) (int64, error)
[ -0.609966516494751, 0.44506850838661194, 0.3184010684490204, -0.1703442931175232, -0.44726988673210144, 0.29737356305122375, 0.7917142510414124, 0.20163659751415253, -1.0272302627563477, -0.7087025046348572, 0.20322854816913605, 0.15733690559864044, 0.40649136900901794, -0.0828126966953277...
func FileSetDeadline(f *os.File, t time.Time) error
[ -0.02885184995830059, -0.8304031491279602, 0.4280909597873688, -0.3094998300075531, 0.7851861119270325, 0.40355730056762695, -0.3756507635116577, 0.09637001156806946, -2.0089633464813232, 0.20201455056667328, -0.17418120801448822, 0.11297561228275299, 1.1021069288253784, -0.009360039606690...
func Chmod(name string, mode os.FileMode,) error
[ 1.0681381225585938, -1.0009465217590332, 0.39548197388648987, 0.19374699890613556, -0.7081142663955688, 1.2457258701324463, -0.46646299958229065, 0.46479570865631104, -0.8863512277603149, 1.1198441982269287, -0.14955735206604004, 0.6346012353897095, 0.05987359583377838, -0.0587127618491649...
func Chown(name string, uid, gid int) error
[ 0.6469573974609375, -0.7612485885620117, 0.11555949598550797, 0.7427896857261658, -0.6690958142280579, -0.9203248620033264, -0.043327897787094116, 0.4667234718799591, -0.4180799722671509, -0.04927069693803787, -0.5698199272155762, 1.4158791303634644, 0.7586017847061157, -0.5225850343704224...
func Lchown(name string, uid, gid int) error
[ 0.9529746770858765, -0.34437257051467896, 0.11631962656974792, -0.6716663241386414, -1.2267640829086304, 0.2964322865009308, -0.5443131923675537, 1.0646904706954956, -0.2787875235080719, -0.01805901899933815, -0.40219783782958984, 1.087058186531067, 0.5603482127189636, 0.2512500286102295, ...
func LookupEnv(key string) (string, bool)
[ -1.5409845113754272, 0.030163001269102097, 0.5266331434249878, -0.009885512292385101, -1.2186245918273926, 0.8810116052627563, -0.4988158941268921, -0.05582178384065628, -0.38133710622787476, 1.24553382396698, -0.8738632202148438, -0.29228442907333374, 0.1537807136774063, 0.279155671596527...
func UserConfigDir() (string, error)
[ -0.8152109980583191, -0.12456575036048889, 0.3144744336605072, 0.8260461688041687, -1.9414161443710327, -0.4254787862300873, 0.9078882336616516, 0.7763563394546509, -0.3861863613128662, 0.061643801629543304, -0.9072516560554504, -0.4355024993419647, 0.18445849418640137, 1.0183814764022827,...
func FileWrite(f *os.File, b []byte) (int, error)
[ -0.4831196069717407, 0.18260817229747772, 0.42170217633247375, 0.9519143104553223, 0.7089826464653015, 0.21981358528137207, 0.5866512060165405, 1.0451618432998657, -1.1216773986816406, 0.5107781887054443, 0.03949994593858719, -0.1930132806301117, 0.30085158348083496, 0.11842400580644608, ...
func FileModeString(m os.FileMode,) string
[ -0.19974173605442047, -1.1523747444152832, 0.3690151870250702, 0.08534912765026093, -1.0176832675933838, 0.23984193801879883, -0.8801584839820862, -0.2708972096443176, -0.7121450901031494, 0.24109576642513275, 0.6335734128952026, -0.6990185976028442, -0.06530983000993729, -0.29049181938171...
func ProcessStateExited(p *os.ProcessState,) bool
[ 0.11820562183856964, -0.468211829662323, 0.47010141611099243, -0.9695252180099487, -0.1024400144815445, 0.7889562845230103, -0.5045120120048523, -0.037530697882175446, 0.13267597556114197, -0.18876062333583832, -0.6630505323410034, -0.5935453176498413, -0.2109798640012741, -0.7435711026191...
func FileReaddir(f *os.File, n int) ([]os.FileInfo, error)
[ -0.7386341094970703, 0.12150481343269348, 0.5090793371200562, 0.08176279813051224, -0.3247433304786682, 0.29893457889556885, -0.5779355764389038, -0.14458201825618744, -0.7714195251464844, -0.7410406470298767, 0.24602319300174713, -0.08759398013353348, 1.0197103023529053, 0.513028621673584...
func FileModeIsDir(m os.FileMode,) bool
[ -0.09312062710523605, -0.47680091857910156, 0.4053105115890503, 0.8294686675071716, -0.6834101676940918, 0.7981085181236267, 0.18014377355575562, 0.3171550929546356, -0.6174553632736206, -0.33170369267463684, 0.09704914689064026, -0.88064044713974, -0.04677940532565117, 0.16069886088371277...
func Getppid() int
[ 1.6379510164260864, -0.28959617018699646, 0.6681984663009644, 0.7183563709259033, -0.11288775503635406, 0.8309472799301147, 0.4071364402770996, 0.9010173082351685, 0.40456444025039673, 0.5926284193992615, 0.35181981325149536, 0.4261212944984436, -1.0622260570526123, 0.43756425380706787, ...
func IsExist(err error) bool
[ -0.11095990985631943, -0.44302698969841003, 0.5911752581596375, 1.7922900915145874, 0.2025010585784912, 0.7510347366333008, -0.4990740418434143, 0.2985452115535736, 0.8322304487228394, 1.5997693538665771, -0.11395552009344101, -0.3242748975753784, -0.44795840978622437, 0.24938403069972992,...
func IsPermission(err error) bool
[ -0.6560201644897461, 0.3139251470565796, 0.32351329922676086, 2.275513172149658, -0.43802934885025024, -0.5294510722160339, 0.28809213638305664, -0.130828857421875, 1.116373062133789, 0.8039840459823608, 0.5613188147544861, 0.09763981401920319, -0.611953854560852, -0.13209562003612518, 0...
func Pipe() (*os.File, *os.File, error)
[ -0.3281976282596588, -0.20178930461406708, 0.6684526205062866, -0.04460989311337471, -0.07035455852746964, 0.4172905385494232, 0.363899827003479, 0.38807225227355957, -1.3634427785873413, -0.2975817918777466, 0.15888862311840057, 0.6062129139900208, 0.567655086517334, 0.2802009582519531, ...
func SameFile(fi1, fi2 os.FileInfo,) bool
[ 0.9905603528022766, -0.5488575100898743, 0.6198549866676331, 0.6708569526672363, -0.10699865967035294, 1.202393889427185, 0.47789105772972107, 0.6008262634277344, -1.4848778247833252, -0.5088788866996765, -0.1259032040834427, 0.43490028381347656, -0.6733974814414978, 0.11246585100889206, ...
func ProcessWait(p *os.Process,) (*os.ProcessState, error)
[ 0.23455172777175903, -0.43221959471702576, 0.6182758212089539, -0.5963228940963745, -0.10183121263980865, 1.066546082496643, 0.12101362645626068, -0.46951204538345337, -0.12992657721042633, 0.1389135718345642, 0.07401031255722046, 0.15276499092578888, 0.48929786682128906, -0.80853825807571...
func IsTimeout(err error) bool
[ 0.10777412354946136, 0.04553506523370743, 0.32824134826660156, 1.296841025352478, -0.3952583074569702, -0.10883795469999313, -0.1780555099248886, 0.6674134731292725, 1.147735834121704, 0.9919039607048035, -0.16561006009578705, 0.24796351790428162, -0.8420822620391846, 0.09163433313369751, ...
func ProcessSignal(p *os.Process, sig os.Signal,) error
[ -0.12160119414329529, -0.4742673337459564, 0.33834168314933777, 0.5266789197921753, -0.4702725410461426, 0.49614694714546204, -0.012732324190437794, 0.05702805519104004, -0.0028587665874511003, 0.5963883996009827, -0.8802908062934875, 0.5146710872650146, 0.37070462107658386, 0.548603296279...
func ProcessStateSys(p *os.ProcessState,) interface{}
[ -0.2942773401737213, -0.317962646484375, 0.6719875335693359, 0.017552940174937248, -0.04361066222190857, -0.9033754467964172, 0.15417174994945526, -1.1461355686187744, 0.7978529334068298, -0.45853835344314575, 0.3515348434448242, -0.07424262911081314, 1.207163691520691, -0.0955104604363441...
func Getegid() int
[ 0.755009651184082, 1.1097180843353271, 0.29390692710876465, 0.5054399967193604, 0.9340832829475403, 0.3212275207042694, 1.0221693515777588, 0.514168918132782, -0.42343446612358093, 0.27711230516433716, 0.4707779884338379, 1.018880844116211, -0.45522540807724, 0.6971787214279175, 0.081913...
func Executable() (string, error)
[ 0.4008110761642456, -0.9221245646476746, 0.3709281384944916, 0.8030006289482117, -0.41317853331565857, 0.331725537776947, 0.14695502817630768, -0.5876973867416382, -0.4959350824356079, 0.07320638746023178, -0.51146399974823, -0.24852268397808075, 0.009703129529953003, -0.7423357963562012, ...
func Getgroups() ([]int, error)
[ -0.77421635389328, 1.5675225257873535, 0.7366487979888916, 0.878395140171051, 0.6487278938293457, -0.20908674597740173, 0.980213463306427, -0.7138752341270447, -0.037255775183439255, -0.7543915510177612, -0.31692513823509216, 0.9199978113174438, -1.267878770828247, 0.6669930219650269, 1....
func TempDir() string
[ 0.36412128806114197, -0.9226059317588806, 0.26655450463294983, -0.37454158067703247, -1.067098617553711, -0.027279241010546684, 0.038259755820035934, 0.48963335156440735, 0.22021879255771637, -0.8639863729476929, 0.0785418301820755, -0.4300972819328308, -0.5013128519058228, 1.1785769462585...
func NewFile(fd uintptr, name string) *os.File
[ 1.4376519918441772, -0.2075832337141037, 0.18936295807361603, 0.12761670351028442, -0.7923082113265991, 0.3312673568725586, 0.24640198051929474, -0.17835548520088196, -0.7690262198448181, -0.2997959554195404, 1.0393943786621094, 0.27677202224731445, 0.27575698494911194, -0.2615103423595428...
func FileChown(f *os.File, uid, gid int) error
[ 1.1230448484420776, -1.0720839500427246, 0.13316665589809418, 0.10084251314401627, -0.013963724486529827, 1.1564728021621704, 0.7346289157867432, 0.09086830914020538, -1.6180142164230347, -0.26342469453811646, 0.7585818767547607, 0.6534615755081177, 1.5668171644210815, -0.18260830640792847...
func TestSparkling_New(t *testing.T) { sp := New(os.Stdout) if reflect.TypeOf(sp).String() != "*sparkling.Sparkling" { t.Error("New returned incorrect type") } }
[ 0.8827309012413025, -0.13343973457813263, 0.3353177011013031, 0.5008319020271301, -0.39118292927742004, 0.5104531645774841, 0.12218599021434784, -0.31884926557540894, -0.3558993339538574, -0.6750341057777405, -0.31479397416114807, 0.22832995653152466, -0.4490593373775482, 0.653270900249481...
func TestSparkling_Render(t *testing.T) { var buf bytes.Buffer sp := New(&buf) sp.AddSeries([]float64{0, 30, 55, 80, 33, 150}, "Awesome") sp.Render() want := "Awesome ▁▂▃▄▂█\n" s := buf.String() got := s[len(s)-len(want):] if got != want { t.Errorf("sparkling.Render() = %s, want: %s", got, want) } }
[ 0.43255579471588135, 0.5818241238594055, 0.5552714467048645, -0.4347573220729828, -0.0164957195520401, 0.34277355670928955, -0.8389415144920349, 0.24586093425750732, 0.08359041810035706, -0.932951807975769, -0.9044124484062195, 0.2367314249277115, -0.6161054968833923, -0.5071764588356018, ...
func TestSparkling_RenderFloats(t *testing.T) { var buf bytes.Buffer sp := New(&buf) sp.AddSeries([]float64{0.3, 1.9, 4.5, 2.3, 1.9, 0.8}, "") sp.Render() want := "▁▂█▄▂▁\n" s := buf.String() got := s[len(s)-len(want):] if got != want { t.Errorf("sparkling.Render() = %s, want: %s", got, want) } }
[ 0.7762460708618164, 0.9572542905807495, 0.6063722968101501, 0.008087174966931343, 0.43963518738746643, 0.3499612808227539, -0.2040981948375702, 0.06037323921918869, -0.05271604657173157, -1.1223994493484497, -0.6908779740333557, 0.00530965393409133, -0.988746702671051, 0.22150388360023499,...
func TestSeries_NewSeries(t *testing.T) { s := NewSeries([]float64{1, 2, 3}, "Test") if reflect.TypeOf(s).String() != "*sparkling.Series" { t.Error("New returned incorrect type") } }
[ 0.11924748867750168, 0.19420228898525238, 0.3904648721218109, 0.4491919279098511, -0.19838999211788177, 0.5367310047149658, 0.013282853178679943, -1.0605593919754028, 0.41297483444213867, -0.31370237469673157, -0.34348875284194946, 0.6648675203323364, -0.5409768223762512, 0.442455977201461...
func ProcessHelperArguments(arguments []structure.Helper) map[string]string { argumentsMap := make(map[string]string) for index := range arguments { // Separate = arguments and put them in map argumentParts := strings.SplitN(arguments[index].Name, "=", 2) if len(argumentParts) > 1 { argumentsMap[argumentPart...
[ -1.0214704275131226, -0.5111976861953735, 0.6924488544464111, -1.243285059928894, 0.5122653245925903, -0.21239420771598816, 0.2786140441894531, -0.3897227644920349, -0.21524988114833832, 1.247310757637024, 0.2036401629447937, 0.012626228854060173, 0.04014931991696358, 0.45946887135505676, ...
func NewGeneralAlterEventRequestWithoutParam() *GeneralAlterEventRequest { return &GeneralAlterEventRequest{ JDCloudRequest: core.JDCloudRequest{ URL: "/regions/{regionId}/event:generalAlter", Method: "POST", Header: nil, Version: "v1", }, ...
[ -0.516154944896698, -0.9314778447151184, 0.755068302154541, -0.5084937810897827, -0.6058235168457031, 0.1887357383966446, -0.06680124998092651, 0.2768770158290863, -0.47733065485954285, -0.26191139221191406, 0.2030678242444992, 1.386936068534851, -0.25590279698371887, 1.5769667625427246, ...
func (r GeneralAlterEventRequest) GetRegionId() string { return r.RegionId }
[ 1.3047817945480347, -0.5859435200691223, 0.3197556138038635, 0.65130215883255, 0.33103469014167786, 0.871304452419281, 0.5695049166679382, 0.35395750403404236, 1.0046696662902832, -0.13684752583503723, 1.1689443588256836, 1.4735102653503418, -0.06995697319507599, 1.1511549949645996, -0.1...
func TextButNotCode() goproxy.RespCondition { return goproxy.RespConditionFunc( func(resp *http.Response, ctx *goproxy.ProxyCtx) bool { contentType := resp.Header.Get("Content-Type") if !strings.HasPrefix(contentType, "text/") { return false } r := strings.HasPrefix(contentType, "text/css") || st...
[ 0.32760167121887207, -0.9570947289466858, 0.42672616243362427, -0.49990636110305786, 0.07968791574239731, 0.334677129983902, -0.8138928413391113, -0.2941776216030121, -0.029799895361065865, 0.40046292543411255, -0.09983348846435547, -0.05582929775118828, -1.0176128149032593, 0.602559328079...
func UrlSuffixMatches(suffixes ...string) goproxy.ReqConditionFunc { return func(req *http.Request, ctx *goproxy.ProxyCtx) bool { for _, suffix := range suffixes { if strings.HasSuffix(req.URL.Path, suffix) { return true } } return false } }
[ 0.10140588879585266, -0.1154734417796135, 0.32021069526672363, 0.04251876473426819, -0.2792036235332489, 0.3871350586414337, -0.1891585886478424, 1.4330285787582397, -0.3624951243400574, -0.9174824357032776, -0.374866247177124, 0.12830087542533875, 0.13436280190944672, 0.363044410943985, ...
func StatusIs(status int) goproxy.RespCondition { return goproxy.RespConditionFunc( func(resp *http.Response, ctx *goproxy.ProxyCtx) bool { if resp == nil { return false } return resp.StatusCode == status }) }
[ -0.08972656726837158, -0.7776989936828613, 0.32133734226226807, -0.051178187131881714, -0.19668443500995636, 0.09038729965686798, -0.7520104646682739, 0.05644296854734421, 1.1356980800628662, -0.07057446241378784, -0.243539959192276, -0.3902597725391388, -0.07331651449203491, -0.8694038391...
func UrlMatchesAny(res ...*regexp.Regexp) goproxy.ReqConditionFunc { return func(req *http.Request, ctx *goproxy.ProxyCtx) bool { for _, re := range res { result := re.MatchString(req.URL.Path) || re.MatchString(req.URL.Host+req.URL.Path) if result { // short-circuit return result } } return...
[ -0.7645414471626282, -0.7419687509536743, 0.6774576306343079, 0.16019652783870697, 0.39255595207214355, -0.1670578420162201, -0.08744777739048004, 0.3673649728298187, -0.1377905309200287, -0.8201220631599426, 0.851685106754303, -0.8001155853271484, -0.18116134405136108, 0.4020237922668457,...
func readFileToRegexpList(filename string) []*regexp.Regexp { var regexp_list = []*regexp.Regexp{} content, err := ioutil.ReadFile(filename) if err == nil { for _, line := range strings.Split(string(content), "\n") { if line != "" { regexp_list = append(regexp_list, regexp.MustCompile(line)) } } } re...
[ -0.005280429031699896, -0.7168932557106018, 0.557379961013794, -0.47197407484054565, 0.8093013763427734, 0.4267142415046692, -0.3515640199184418, 1.4050387144088745, -0.2306378334760666, 0.5000004768371582, -0.6743210554122925, -0.08141527324914932, -0.3103446662425995, 0.26954352855682373...
func InterfaceResolveTypeClientTestData() []InterfaceResolveTypeClientTest { return []InterfaceResolveTypeClientTest{ { Title: "CallsProtoInterfaceResolveTypeInput", Input: driver.InterfaceResolveTypeInput{ Function: types.Function{ Name: "function", }, }, ProtoRequest: &protoMessages.Interf...
[ -0.27886074781417847, -0.28233951330184937, 0.57155442237854, -0.7768775224685669, 0.8829213380813599, 0.5818772912025452, 0.7878023386001587, -1.442330241203308, -0.27438315749168396, -0.002461046678945422, -0.5240786075592041, 0.08467899262905121, -1.324930191040039, -0.05523736402392387...
func RunInterfaceResolveTypeClientTests(t *testing.T, f func(t *testing.T, tt InterfaceResolveTypeClientTest)) { for _, tt := range InterfaceResolveTypeClientTestData() { t.Run(tt.Title, func(t *testing.T) { f(t, tt) }) } }
[ -0.764764130115509, 0.05228725075721741, 0.3188836872577667, -0.6078212261199951, 0.8745330572128296, 0.5951025485992432, 1.025494933128357, -0.9171778559684753, -1.1106493473052979, 0.07136503607034683, -0.21863435208797455, -0.3477957844734192, -0.8632470369338989, -0.45563504099845886, ...
func InterfaceResolveTypeServerTestData() []InterfaceResolveTypeServerTest { return []InterfaceResolveTypeServerTest{ { Title: "CallsUserHandler", Input: new(protoMessages.InterfaceResolveTypeRequest), HandlerInput: driver.InterfaceResolveTypeInput{}, HandlerOutput: "SomeType", Expect...
[ -1.0027689933776855, -0.15690140426158905, 0.6131047606468201, -0.25950029492378235, 0.6297206282615662, 0.5950394868850708, 0.6789764761924744, -1.0824737548828125, 0.0861554816365242, 0.1734829694032669, -0.707299530506134, 0.10953741520643234, -1.529316782951355, 0.21814319491386414, ...
func RunInterfaceResolveTypeServerTests(t *testing.T, f func(t *testing.T, tt InterfaceResolveTypeServerTest)) { for _, tt := range InterfaceResolveTypeServerTestData() { t.Run(tt.Title, func(t *testing.T) { f(t, tt) }) } }
[ -1.494553804397583, 0.28181055188179016, 0.5433184504508972, -0.25154903531074524, 0.8717228174209595, 0.4158813953399658, 0.8077043294906616, -0.63222336769104, -0.6979166865348816, 0.25208181142807007, -0.34711694717407227, -0.16785363852977753, -0.8151237964630127, -0.15214428305625916,...
func (ph *phaseHandler) Upgrade(sso *v1alpha1.Keycloak) (*v1alpha1.Keycloak, error) { cpSSO := sso.DeepCopy() if !CanUpgrade(cpSSO.Status.Version) || (cpSSO.Status.Phase != v1alpha1.PhaseUpgrading && cpSSO.Status.Phase != v1alpha1.PhaseReconcile) { cpSSO.Status.Message = "not upgrading. Version is either current or...
[ -0.605864405632019, -0.5073595643043518, 0.7877432703971863, 0.47343841195106506, -0.23889212310314178, 0.5027666091918945, 0.2727586030960083, 0.630705714225769, 0.27606669068336487, 1.3681789636611938, -0.10453145951032639, 0.4987722635269165, -0.05235481634736061, 0.5492963194847107, ...
func (ph *phaseHandler) createResource(sso *v1alpha1.Keycloak, resourceName string) (bool, error) { kc := sso.DeepCopy() resourceHelper := newResourceHelper(kc) resource, err := resourceHelper.createResource(resourceName) if err != nil { return false, err } gvk := resource.GetObjectKind().GroupVersionKind() a...
[ 0.05932258069515228, 0.02011883445084095, 0.7587360143661499, -0.2088019847869873, 0.12704962491989136, 0.7045851349830627, 0.20988760888576508, -0.00041409870027564466, -0.36599257588386536, 0.7047957181930542, -0.10729975998401642, -0.7145441174507141, -0.9275892376899719, 0.457576274871...
func httpRequestDenganFormData() { var user1, err = fetchUser("W001") if err != nil { fmt.Println("Error!", err.Error()) return } fmt.Printf("ID: %s\t Name: %s\t Grade: %d\n", user1.ID, user1.Name, user1.Grade) }
[ -0.3318522274494171, -0.2608378827571869, 0.7182812094688416, -0.21456006169319153, 0.07716704905033112, 1.5457820892333984, -0.5065363049507141, -0.8462386727333069, -1.3225528001785278, -0.514465868473053, 0.07979195564985275, 0.8774337768554688, 0.3465542495250702, 0.47253721952438354, ...
func NewArguments(ps []PositionalArgument, ks []KeywordArgument, dicts []interface{}) Arguments { return Arguments{ positionals: ps, keywords: ks, expandedDicts: dicts, } }
[ -0.39038845896720886, -0.49720004200935364, 0.3547312915325165, -0.31599941849708557, -0.4613552987575531, -0.6941545009613037, -1.5850985050201416, 0.6628325581550598, -0.4307365417480469, 0.48672163486480713, 0.7136262059211731, 0.19872988760471344, -0.6887179017066956, 0.782615542411804...
func InheritLock(overrides ILockOverrides) *Lock { return &Lock{ Overrides: overrides, retryTimeout: 100, } }
[ 0.3970402777194977, 0.7009720206260681, 0.3963649570941925, 0.5452730059623718, -0.21751946210861206, 0.9850736856460571, 0.002868525218218565, 0.23536451160907745, 0.610977292060852, -1.255720853805542, -0.1608656942844391, 0.5444080829620361, -0.9049544334411621, -0.9585536122322083, 0...
func (c *Lock) Configure(config *config.ConfigParams) { c.retryTimeout = config.GetAsLongWithDefault("options.retry_timeout", c.retryTimeout) }
[ 0.7422585487365723, 0.4057765007019043, 0.5256466269493103, 0.8951160907745361, 1.3444294929504395, -0.3045528531074524, 0.13134972751140594, 0.9446629285812378, -0.40954822301864624, 0.29628974199295044, -0.663739800453186, -0.09004397690296173, -0.27284181118011475, 0.40079426765441895, ...
func (c *Lock) AcquireLock(correlationId string, key string, ttl int64, timeout int64) error { expireTime := time.Now().Add(time.Duration(timeout) * time.Millisecond) // Repeat until time expires for time.Now().Before(expireTime) { // Try to get lock first locked, err := c.Overrides.TryAcquireLock(correlation...
[ 0.045571133494377136, 0.2078789621591568, 0.6187478303909302, 0.2933351695537567, 0.7724488973617554, -0.02336231805384159, -0.5635595917701721, -0.17025601863861084, -0.15162748098373413, -0.21155031025409698, 0.558591902256012, 0.36594948172569275, 0.2222786694765091, 0.5056484341621399,...
func (bw *blobWriter) resumeDigest(ctx context.Context) error { return errResumableDigestNotAvailable }
[ 0.9612869620323181, -0.4029555022716522, 0.3613031804561615, -0.1482516974210739, 0.040753383189439774, -0.2324018031358719, -0.05154838040471077, 0.04941032454371452, 0.4307602643966675, -0.17199130356311798, -0.6073729991912842, 0.04355008527636528, -1.3835457563400269, -0.91133433580398...
func (bw *blobWriter) storeHashState(ctx context.Context) error { return errResumableDigestNotAvailable }
[ 0.727461040019989, -0.14074935019016266, 0.18058322370052338, 0.22405831515789032, 0.2992721199989319, 0.5622953176498413, 0.3283238708972931, -0.3702673017978668, 0.9508495926856995, -0.505982518196106, -0.8004311323165894, -0.26892444491386414, -0.5420995354652405, 0.09049349278211594, ...
func TraceMotion(qbvh MotionQBVH, time float32, key, key2 int, prim MotionPrimitive, ray *core.Ray, sg *core.ShaderContext) bool { // if key == key2 then no interpolation needed but probably still do it to avoid branch // log.Printf("%v %v %v %v %v", k, m.Ceil(k), time, key, key2) // Push root node on stack: stack...
[ 0.06942402571439743, 0.4431845545768738, 1.247366189956665, 0.3575975298881531, 0.15408214926719666, -0.3500307500362396, 0.26761674880981445, -1.1019002199172974, -0.25867781043052673, 0.8153160214424133, -0.3832186460494995, -0.6531311273574829, -0.5382586717605591, 0.4230788052082062, ...
func NewPlugin(context context.T) (*Plugin, error) { var plugin Plugin plugin.context = context plugin.birdwatcherfacade = facade.NewBirdwatcherFacade(context) plugin.localRepository = localpackages.NewRepository() plugin.packageServiceSelector = selectService plugin.isDocumentArchive = false return &plugin, n...
[ 0.026922142133116722, -0.19633765518665314, 0.1891137659549713, 0.06582619249820709, 0.49426379799842834, -0.04619493708014488, 0.42623618245124817, -0.16562631726264954, 0.7326692342758179, -0.612593948841095, -0.4523070156574249, 1.1321370601654053, -0.11427914351224899, 0.65952754020690...
func prepareConfigurePackage( tracer trace.Tracer, config contracts.Configuration, repository localpackages.Repository, packageService packageservice.PackageService, input *ConfigurePackagePluginInput, packageArn string, version string, isSameAsCache bool, output contracts.PluginOutputter) (inst installer.Inst...
[ -0.6461425423622131, -0.8293778300285339, 0.6528599262237549, 0.1708398014307022, 0.055611733347177505, -0.31453022360801697, 0.7412627935409546, 0.28114935755729675, 0.5929298996925354, 0.9940505623817444, 0.1725621372461319, -0.3475182354450226, 0.11840759962797165, 0.7975645661354065, ...
func ensurePackage( tracer trace.Tracer, repository localpackages.Repository, packageService packageservice.PackageService, packageName string, version string, additionalArguments string, isSameAsCache bool, config contracts.Configuration) (installer.Installer, error) { pkgTrace := tracer.BeginSection("ensure...
[ -0.018796995282173157, -0.43871644139289856, 0.4664722979068756, 0.2910638749599457, 0.32231539487838745, -0.1121758446097374, 0.2864726483821869, -0.10149197280406952, 0.9726117253303528, 0.27855244278907776, 0.568332850933075, -0.2573990523815155, -0.17344455420970917, 0.3913613557815552...
func buildDownloadDelegate(tracer trace.Tracer, packageService packageservice.PackageService, packageName string, version string) func(trace.Tracer, string) error { return func(tracer trace.Tracer, targetDirectory string) error { trace := tracer.BeginSection("download artifact") filePath, err := packageService.Dow...
[ 0.10115063935518265, -0.3817496597766876, 0.7256961464881897, -0.22053800523281097, 0.08596638590097427, -0.36933019757270813, 0.33152449131011963, 0.0385504774749279, 1.0138521194458008, -0.13196605443954468, 0.5447378158569336, 0.1763632893562317, 0.14560462534427643, 0.03155136108398437...
func getVersionToInstall( tracer trace.Tracer, repository localpackages.Repository, packageArn string) (installedVersion string, installState localpackages.InstallState) { installedVersion = repository.GetInstalledVersion(tracer, packageArn) currentState, currentVersion := repository.GetInstallState(tracer, packa...
[ 0.019099164754152298, -1.0101702213287354, 0.47580909729003906, 0.006267276126891375, 0.4122759699821472, -0.24378404021263123, 0.6013859510421753, 0.553253173828125, 1.1563979387283325, 0.9024990797042847, -0.3399161696434021, -0.1588752716779709, -0.008470150642096996, 0.0870054662227630...
func getVersionToUninstall( tracer trace.Tracer, repository localpackages.Repository, packageArn string) (string, localpackages.InstallState) { installedVersion := repository.GetInstalledVersion(tracer, packageArn) currentState, _ := repository.GetInstallState(tracer, packageArn) if installedVersion == "" { r...
[ -0.3855893313884735, -1.117714762687683, 0.515906572341919, -0.35039034485816956, 0.24819011986255646, -0.19369015097618103, 0.5022701025009155, 0.6817935109138489, 0.8058390021324158, 1.1039777994155884, -0.39760416746139526, -0.28430598974227905, -0.2377849519252777, -0.1742755025625229,...
func parseAndValidateInput(rawPluginInput interface{}) (*ConfigurePackagePluginInput, error) { var err error var input ConfigurePackagePluginInput pluginInputMap := make(map[string]interface{}) b, err := json.Marshal(rawPluginInput) if err != nil { return nil, fmt.Errorf("cannot marshal plugin properties %v; \n...
[ -0.5090212821960449, -1.7546195983886719, 0.7922676801681519, -0.24947437644004822, -0.8310249447822571, -0.2785242199897766, 0.4560701251029968, -0.04983091726899147, 0.45350122451782227, -0.42322513461112976, 0.5643792748451233, 0.17114375531673431, -0.5347888469696045, -0.00597125617787...
func validateInput(input *ConfigurePackagePluginInput) (valid bool, err error) { // source not yet supported if input.Source != "" { return false, errors.New("source parameter is not supported in this version") } // ensure non-empty name if input.Name == "" { return false, errors.New("empty name field") } ...
[ -1.0260728597640991, -0.3571709096431732, 0.6805382370948792, -0.9880551695823669, -0.7603468894958496, 0.4410470128059387, 0.2655036747455597, -0.05510808527469635, 0.016074106097221375, -0.005151181016117334, -0.37740346789360046, -0.11478398740291595, -0.7579817175865173, 0.864689469337...
func checkAlreadyInstalled( tracer trace.Tracer, context context.T, repository localpackages.Repository, installedVersion string, installState localpackages.InstallState, inst installer.Installer, uninst installer.Installer, output contracts.PluginOutputter) bool { checkTrace := tracer.BeginSection("check if ...
[ -0.0118683110922575, -0.6314721703529358, 0.46861210465431213, -0.01576143689453602, 0.334241658449173, -0.5845126509666443, 0.30114975571632385, 0.32982364296913147, 0.7601230144500732, 0.6625363230705261, -0.058546606451272964, -0.5979734063148499, -0.2680606245994568, 0.9942407608032227...
func selectService(context context.T, tracer trace.Tracer, input *ConfigurePackagePluginInput, localrepo localpackages.Repository, appCfg *appconfig.SsmagentConfig, birdwatcherFacade facade.BirdwatcherFacade, isDocumentArchive *bool) (packageservice.PackageService, error) { region, _ := context.Identity().Region() se...
[ 0.12873953580856323, -0.3637984097003937, 0.5483154058456421, 0.6381261944770813, 0.0873827338218689, -0.24689967930316925, 0.24915316700935364, -0.6458157300949097, 0.9402625560760498, 0.05940328910946846, 0.305072546005249, 1.0560473203659058, -1.0436025857925415, 0.7292842864990234, -...
func (p *Plugin) Execute(config contracts.Configuration, cancelFlag task.CancelFlag, output iohandler.IOHandler) { p.execute(config, cancelFlag, output) return }
[ 0.8624780178070068, -0.5551725625991821, 0.25918933749198914, 0.9604837894439697, 0.18938219547271729, 0.4651642143726349, 0.12414414435625076, 0.9052875638008118, -0.8383615016937256, 0.8089262247085571, -0.8510714769363403, -0.8552937507629395, -0.1751442700624466, -0.6815617680549622, ...
func Name() string { return appconfig.PluginNameAwsConfigurePackage }
[ 0.08978071808815002, -0.4429877698421478, 0.17814917862415314, 0.5404520034790039, -1.1672741174697876, -1.0704498291015625, -0.07337521016597748, 0.16780982911586761, 0.7971290946006775, 0.964613139629364, -1.030842900276184, -0.7117922902107239, 1.3491965532302856, 0.8371016383171082, ...
func ReadConfig(path string) (*api.Config, error) { // This must be done after common flags are registered, since Viper is a flag option. base := filepath.Base(path) ext := filepath.Ext(base) viper.SetConfigName(strings.TrimSuffix(base, ext)) viper.AddConfigPath(filepath.Dir(path)) if err := viper.ReadInConfig();...
[ -0.28586697578430176, -0.5119156837463379, 0.790902316570282, -0.24248436093330383, -0.022443899884819984, 0.19014033675193787, 0.11450580507516861, 0.3498173654079437, -0.570284903049469, 0.5106493234634399, -0.02680019848048687, 0.09702702611684799, -0.17272864282131195, -0.0734153985977...
func ReadTemplate(path string) (*unstructured.Unstructured, error) { raw, err := ioutil.ReadFile(path) if err != nil { return nil, fmt.Errorf("error reading template file: %v", err) } return ConvertToObject(raw) }
[ -0.87571120262146, 0.13980896770954132, 0.6538166403770447, -0.5228973627090454, -0.455890953540802, 0.1792955845594406, -0.22694890201091766, -0.41662073135375977, -1.0730088949203491, -0.37210601568222046, -0.5171568989753723, -0.764740526676178, -0.13551805913448334, -1.1565296649932861...
func ConvertToObject(raw []byte) (*unstructured.Unstructured, error) { obj := &unstructured.Unstructured{} _, _, err := scheme.Codecs.UniversalDeserializer().Decode(raw, nil, obj) if err != nil { return nil, fmt.Errorf("unmarshaling error: %v", err) } return obj, nil }
[ -0.3893660008907318, -0.17649942636489868, 0.7361738085746765, -1.0943875312805176, -0.4334002137184143, 0.31004464626312256, 0.47653403878211975, -0.28663182258605957, 0.5015271306037903, -0.39611420035362244, -0.8873631954193115, -0.8763226270675659, 0.17787981033325195, -0.6821421980857...
func ExportKey(keyIDs []string) ([]byte, error) { args := []string{ "--armor", "--export", "--", } args = append(args, keyIDs...) return exec.Command("gpg", args...).Output() }
[ -0.03379365801811218, 1.1235511302947998, 0.8100765943527222, 1.0209752321243286, -0.17451448738574982, -0.07077614217996597, -0.7346405386924744, -1.0090187788009644, -0.281803160905838, 1.8242841958999634, 0.5432876944541931, 0.7971153855323792, -0.9838892817497253, 0.6642745733261108, ...
func GetSecretKeys(filter string) ([][]byte, []string, error) { args := []string{ "--batch", "--with-colons", "--list-secret-keys", "--fingerprint", } if len(filter) > 0 { args = append(args, "--", filter) } out, err := exec.Command("gpg", args...).Output() if err != nil { return nil, nil, fmt.Errorf...
[ -0.499691367149353, -0.13630133867263794, 0.7947365045547485, 0.37191465497016907, -0.18235859274864197, -0.7664160132408142, -0.524349570274353, 0.18067611753940582, -0.5784040689468384, 0.5375584959983826, -0.46952927112579346, 1.4184269905090332, -0.4552987515926361, 0.4950457513332367,...
func DecryptWithKey(ciphertext string, fingerprint []byte) (io.ReadCloser, error) { var stdout, stderr bytes.Buffer args := []string{ "--quiet", "--pinentry-mode", "loopback", "-u", fmt.Sprintf("%x", fingerprint), "--decrypt", ciphertext, } cmd := exec.Command("gpg", args...) cmd.Stdout = &stdout c...
[ 0.180925652384758, 0.7307955622673035, 0.807319700717926, -0.30048668384552, -0.6370694637298584, -0.3878695070743561, -0.21335460245609283, -0.8901362419128418, -0.9042203426361084, 1.044551968574524, 0.8541460037231445, 0.2474406659603119, -0.6927008032798767, 0.7530237436294556, 0.484...
func AddMacroNutrient(c *gin.Context) { var user models.User var macroNutrientsWithCycleAndDailyIntakeID models.MacroNutrientsWithCycleAndDailyIntakeID if err := c.ShouldBindQuery(&user); err != nil { c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) return } // We are deserializing it to DailyIntak...
[ -1.3987618684768677, -0.6397109627723694, 0.49768561124801636, 0.4103446304798126, -0.6942191123962402, -0.3000088632106781, -0.6903936266899109, 0.04689980670809746, 0.04426579177379608, -0.17505227029323578, 0.3453475832939148, 0.7015612125396729, -0.494815856218338, 0.5635952353477478, ...
func (j job) Run(result gio.Saver) error { // ... // save the result return result.Save(fmt.Sprintf("job%d", j.A), j.A) }
[ -0.9558439254760742, -0.21770678460597992, 0.38310426473617554, 0.23054929077625275, -0.34101980924606323, -0.11516562104225159, 0.8051643371582031, 0.16501730680465698, -0.33368974924087524, -0.20076143741607666, -1.5288549661636353, -0.6799823045730591, -0.9328916668891907, -0.0676367580...
func (r Result) Save(v ...interface{}) error { rwmux.Lock() r[v[0].(string)] = v[1] rwmux.Unlock() return nil }
[ -0.9346972107887268, -0.03532455116510391, 0.2651573717594147, -0.4444837272167206, 0.18336571753025055, -0.250885009765625, 0.11961676180362701, -1.0229284763336182, -0.4873838722705841, 0.4304470419883728, -1.5392932891845703, -0.14943109452724457, -1.7767784595489502, 0.2001034468412399...
func templateDeploy(cmd *cobra.Command, args []string) { //Check deploy template file. if len(args) <= 0 || utils.IsFileExist(args[0]) == false { fmt.Fprintf(os.Stderr, "the deploy template file is required, %s\n", "see https://github.com/Huawei/containerops/singular for more detail.") os.Exit(1) } template :=...
[ -0.2625596821308136, 0.12219072878360748, 0.905232310295105, 0.10725905001163483, 0.004473682027310133, 0.37858349084854126, 0.47712793946266174, 0.049800559878349304, -1.4599721431732178, 1.236894965171814, -0.033895134925842285, -0.5242099165916443, -0.24957333505153656, 0.56494295597076...
func folderDeploy(cmd *cobra.Command, args []string) { //Check deploy template file. if len(args) <= 0 || utils.IsFileExist(args[0]) == false { fmt.Fprintf(os.Stderr, "the template files path is required, %s\n", "see https://github.com/Huawei/containerops/singular for more detail.") os.Exit(1) } if utils.IsDir...
[ -0.2107083946466446, -0.6622633337974548, 1.135108232498169, -0.006725851446390152, 0.32252809405326843, -0.0347147062420845, 1.0458108186721802, 0.5452398657798767, -1.0156776905059814, 1.2143445014953613, -0.061567071825265884, -0.20973114669322968, -0.4690920114517212, 0.997908294200897...
func NewAdminRepo( db *mongo.Database ) Admin.AdminRepo { return &AdminRepo{ DB : db , } }
[ 0.8261305689811707, 0.22399002313613892, 0.08679404854774475, -0.6175167560577393, -1.1606003046035767, -0.5492666959762573, -1.439095139503479, -0.5420086979866028, 0.4211224913597107, 0.44870224595069885, -0.6871871948242188, 0.3235822916030884, -0.6440737247467041, 0.6714010238647461, ...
func newPlugin() (p *slackscot.Plugin) { p = new(slackscot.Plugin) p.Name = "tester" p.Commands = []slackscot.ActionDefinition{{ Match: func(m *slackscot.IncomingMessage) bool { return strings.HasPrefix(m.NormalizedText, "make") }, Usage: "make `<something>`", Description: "Have the test bot make so...
[ 0.24219654500484467, -0.7439623475074768, 0.4472414553165436, -0.12388654053211212, -0.4333066940307617, -0.021751821041107178, 0.5709247589111328, -0.1148400753736496, 0.45579469203948975, -0.5493643283843994, -0.39406082034111023, 0.8650872111320496, -0.5955370664596558, 0.42409619688987...