You can create a tags file using thectagscommand (runctags --helpfor options), but if you’re using the excellentrails.vimplugin by Tim Pope, you can run the:Rtagscommand from Vim. Running this command only takes a moment, and will generate a tags file containing all the keywords and l...
Biyang VT-1H Electric Guitar All Tube Amplifier Head Biyang Wangs Black AMP Tube Head Adjust Volume And Tone SmallRig simorr Vigor VT-10 Vlog Tripod, Ronda White Add $8.99 current price $8.99 SmallRig simorr Vigor VT-10 Vlog Tripod, Ronda White ...
开发者ID:garyburd,项目名称:vigor,代码行数:42,代码来源:args.go 示例12: importer ▲点赞 1▼ funcimporter(ctx *build.Context, srcDirstring, vendormap[string]string)ast.Importer{returnfunc(importsmap[string]*ast.Object, importPathstring)(*ast.Object, error){ pkg := imports[importPath]ifpkg !
/* cbs_find_ber walks an ASN.1 structure in |orig_in| and sets |*ber_found| * depending on whether an indefinite length element was found. The value of * |in| is not changed. It returns one on success (i.e. |*ber_found| was set) * and zero on error. */staticintcbs_find_...
ReadDir:func(dirstring)(fi []os.FileInfo, err error){returnw.readDir(dir) }, OpenFile:func(pathstring)(r io.ReadCloser, err error){returnw.openFile(path) }, Compiler:"gc", } bpkg, err := ctxt.ImportDir(w.pdoc.ImportPath,0)// Continue if there are no Go source files; we stil...
data += fi cr.execute("select sum(train_messages) as tot_train,sum(guess_messages) as tot_guess from crm_bayes_categories where group_id=%d"% cat_rec['group_id'][0]) rec = cr.dictfetchall()ifnotrec[0]['tot_guess']: rec[0]['tot_guess'] =0percantage = float(rec[0]['tot...
开发者ID:garyburd,项目名称:vigor,代码行数:18,代码来源:loader.go 示例7: Import ▲点赞 1▼ // Import returns details about the package in the directory.func(dir *Directory)Import(ctx *build.Context, mode build.ImportMode)(*build.Package, error){ ...
ReadDir:func(dirstring)(fi []os.FileInfo, err error){returnb.readDir(dir) }, OpenFile:func(pathstring)(r io.ReadCloser, err error){returnb.openFile(path) }, Compiler:"gc", }varerr errorvarbpkg *build.Packagefor_, env :=rangegoEnvs { ...