From a3f3f51c60e91f22cc57ecc23cf828421d46b6b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 26 Aug 2018 16:43:53 -0700 Subject: [PATCH] Migrate to go modules (Go 1.11) --- Gopkg.lock | 151 - Gopkg.toml | 54 - go.mod | 19 + go.sum | 41 + .../PuerkitoBio/goquery/array_test.go | 234 - .../PuerkitoBio/goquery/bench/v0.1.0 | 436 - .../PuerkitoBio/goquery/bench/v0.1.1 | 438 - .../goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg | 405 - .../PuerkitoBio/goquery/bench/v0.2.0 | 459 - .../goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg | 420 - .../PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 | 470 - .../PuerkitoBio/goquery/bench/v0.3.0 | 476 - .../PuerkitoBio/goquery/bench/v0.3.2-go1.2 | 478 - .../goquery/bench/v0.3.2-go1.2-take2 | 477 - .../PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 | 477 - .../PuerkitoBio/goquery/bench/v1.0.0-go1.7 | 85 - .../PuerkitoBio/goquery/bench/v1.0.1a-go1.7 | 85 - .../PuerkitoBio/goquery/bench/v1.0.1b-go1.7 | 85 - .../PuerkitoBio/goquery/bench/v1.0.1c-go1.7 | 86 - .../PuerkitoBio/goquery/bench_array_test.go | 120 - .../PuerkitoBio/goquery/bench_example_test.go | 40 - .../PuerkitoBio/goquery/bench_expand_test.go | 104 - .../PuerkitoBio/goquery/bench_filter_test.go | 236 - .../goquery/bench_iteration_test.go | 68 - .../goquery/bench_property_test.go | 51 - .../PuerkitoBio/goquery/bench_query_test.go | 111 - .../goquery/bench_traversal_test.go | 802 - .../PuerkitoBio/goquery/doc/tips.md | 68 - .../PuerkitoBio/goquery/example_test.go | 82 - .../PuerkitoBio/goquery/expand_test.go | 118 - .../PuerkitoBio/goquery/filter_test.go | 206 - .../PuerkitoBio/goquery/iteration_test.go | 88 - .../PuerkitoBio/goquery/manipulation_test.go | 513 - .../PuerkitoBio/goquery/misc/git/pre-commit | 37 - .../PuerkitoBio/goquery/property_test.go | 252 - .../PuerkitoBio/goquery/query_test.go | 103 - .../goquery/testdata/gotesting.html | 855 - .../PuerkitoBio/goquery/testdata/gowiki.html | 1214 - .../goquery/testdata/metalreview.html | 413 - .../PuerkitoBio/goquery/testdata/page.html | 102 - .../PuerkitoBio/goquery/testdata/page2.html | 24 - .../PuerkitoBio/goquery/testdata/page3.html | 24 - .../PuerkitoBio/goquery/traversal_test.go | 793 - .../PuerkitoBio/goquery/type_test.go | 202 - .../PuerkitoBio/goquery/utilities_test.go | 128 - .../github.com/andybalholm/cascadia/LICENSE | 0 .../andybalholm/cascadia/benchmark_test.go | 53 - .../andybalholm/cascadia/fuzz/corpus/test0 | 1 - .../andybalholm/cascadia/fuzz/corpus/test1 | 1 - .../andybalholm/cascadia/fuzz/corpus/test10 | 1 - .../andybalholm/cascadia/fuzz/corpus/test11 | 1 - .../andybalholm/cascadia/fuzz/corpus/test12 | 1 - .../andybalholm/cascadia/fuzz/corpus/test13 | 1 - .../andybalholm/cascadia/fuzz/corpus/test14 | 1 - .../andybalholm/cascadia/fuzz/corpus/test15 | 1 - .../andybalholm/cascadia/fuzz/corpus/test16 | 1 - .../andybalholm/cascadia/fuzz/corpus/test17 | 1 - .../andybalholm/cascadia/fuzz/corpus/test18 | 1 - .../andybalholm/cascadia/fuzz/corpus/test19 | 1 - .../andybalholm/cascadia/fuzz/corpus/test2 | 1 - .../andybalholm/cascadia/fuzz/corpus/test20 | 1 - .../andybalholm/cascadia/fuzz/corpus/test21 | 1 - .../andybalholm/cascadia/fuzz/corpus/test22 | 1 - .../andybalholm/cascadia/fuzz/corpus/test23 | 1 - .../andybalholm/cascadia/fuzz/corpus/test24 | 1 - .../andybalholm/cascadia/fuzz/corpus/test25 | 1 - .../andybalholm/cascadia/fuzz/corpus/test26 | 1 - .../andybalholm/cascadia/fuzz/corpus/test27 | 1 - .../andybalholm/cascadia/fuzz/corpus/test28 | 1 - .../andybalholm/cascadia/fuzz/corpus/test29 | 1 - .../andybalholm/cascadia/fuzz/corpus/test3 | 1 - .../andybalholm/cascadia/fuzz/corpus/test30 | 1 - .../andybalholm/cascadia/fuzz/corpus/test31 | 1 - .../andybalholm/cascadia/fuzz/corpus/test32 | 1 - .../andybalholm/cascadia/fuzz/corpus/test33 | 1 - .../andybalholm/cascadia/fuzz/corpus/test34 | 1 - .../andybalholm/cascadia/fuzz/corpus/test35 | 1 - .../andybalholm/cascadia/fuzz/corpus/test36 | 1 - .../andybalholm/cascadia/fuzz/corpus/test37 | 1 - .../andybalholm/cascadia/fuzz/corpus/test38 | 1 - .../andybalholm/cascadia/fuzz/corpus/test39 | 1 - .../andybalholm/cascadia/fuzz/corpus/test4 | 1 - .../andybalholm/cascadia/fuzz/corpus/test40 | 1 - .../andybalholm/cascadia/fuzz/corpus/test41 | 1 - .../andybalholm/cascadia/fuzz/corpus/test42 | 1 - .../andybalholm/cascadia/fuzz/corpus/test43 | 1 - .../andybalholm/cascadia/fuzz/corpus/test44 | 1 - .../andybalholm/cascadia/fuzz/corpus/test45 | 1 - .../andybalholm/cascadia/fuzz/corpus/test46 | 1 - .../andybalholm/cascadia/fuzz/corpus/test47 | 1 - .../andybalholm/cascadia/fuzz/corpus/test48 | 1 - .../andybalholm/cascadia/fuzz/corpus/test49 | 1 - .../andybalholm/cascadia/fuzz/corpus/test5 | 1 - .../andybalholm/cascadia/fuzz/corpus/test50 | 1 - .../andybalholm/cascadia/fuzz/corpus/test51 | 1 - .../andybalholm/cascadia/fuzz/corpus/test52 | 1 - .../andybalholm/cascadia/fuzz/corpus/test53 | 1 - .../andybalholm/cascadia/fuzz/corpus/test54 | 1 - .../andybalholm/cascadia/fuzz/corpus/test55 | 1 - .../andybalholm/cascadia/fuzz/corpus/test56 | 1 - .../andybalholm/cascadia/fuzz/corpus/test57 | 1 - .../andybalholm/cascadia/fuzz/corpus/test58 | 1 - .../andybalholm/cascadia/fuzz/corpus/test59 | 1 - .../andybalholm/cascadia/fuzz/corpus/test6 | 1 - .../andybalholm/cascadia/fuzz/corpus/test60 | 1 - .../andybalholm/cascadia/fuzz/corpus/test61 | 1 - .../andybalholm/cascadia/fuzz/corpus/test7 | 1 - .../andybalholm/cascadia/fuzz/corpus/test8 | 1 - .../andybalholm/cascadia/fuzz/corpus/test9 | 1 - .../andybalholm/cascadia/fuzz/fuzz.go | 15 - .../andybalholm/cascadia/parser_test.go | 86 - .../andybalholm/cascadia/selector_test.go | 654 - vendor/github.com/golang/protobuf/.gitignore | 17 - vendor/github.com/golang/protobuf/.travis.yml | 30 - vendor/github.com/golang/protobuf/Makefile | 48 - vendor/github.com/golang/protobuf/README.md | 283 - .../golang/protobuf/conformance/Makefile | 49 - .../protobuf/conformance/conformance.go | 154 - .../protobuf/conformance/conformance.sh | 4 - .../protobuf/conformance/failure_list_go.txt | 61 - .../conformance_proto/conformance.pb.go | 1816 - .../conformance_proto/conformance.proto | 273 - .../golang/protobuf/conformance/test.sh | 26 - .../golang/protobuf/descriptor/descriptor.go | 93 - .../protobuf/descriptor/descriptor_test.go | 32 - .../golang/protobuf/jsonpb/jsonpb.go | 1241 - .../golang/protobuf/jsonpb/jsonpb_test.go | 1150 - .../jsonpb_test_proto/more_test_objects.pb.go | 368 - .../jsonpb_test_proto/more_test_objects.proto | 69 - .../jsonpb_test_proto/test_objects.pb.go | 1278 - .../jsonpb_test_proto/test_objects.proto | 171 - .../golang/protobuf/proto/all_test.go | 2410 - .../golang/protobuf/proto/any_test.go | 300 - .../golang/protobuf/proto/clone_test.go | 390 - .../golang/protobuf/proto/decode_test.go | 255 - .../golang/protobuf/proto/discard_test.go | 170 - .../golang/protobuf/proto/encode_test.go | 85 - .../golang/protobuf/proto/equal_test.go | 244 - .../golang/protobuf/proto/extensions_test.go | 688 - .../golang/protobuf/proto/map_test.go | 70 - .../golang/protobuf/proto/message_set_test.go | 77 - .../protobuf/proto/proto3_proto/proto3.pb.go | 461 - .../protobuf/proto/proto3_proto/proto3.proto | 89 - .../golang/protobuf/proto/proto3_test.go | 151 - .../golang/protobuf/proto/size2_test.go | 63 - .../golang/protobuf/proto/size_test.go | 191 - .../protobuf/proto/test_proto/test.pb.go | 5118 -- .../protobuf/proto/test_proto/test.proto | 562 - .../golang/protobuf/proto/text_parser_test.go | 706 - .../golang/protobuf/proto/text_test.go | 518 - .../protoc-gen-go/descriptor/descriptor.pb.go | 2812 - .../protoc-gen-go/descriptor/descriptor.proto | 872 - .../golang/protobuf/protoc-gen-go/doc.go | 51 - .../protoc-gen-go/generator/generator.go | 2928 - .../generator/internal/remap/remap.go | 117 - .../generator/internal/remap/remap_test.go | 82 - .../protoc-gen-go/generator/name_test.go | 115 - .../protobuf/protoc-gen-go/golden_test.go | 422 - .../protobuf/protoc-gen-go/grpc/grpc.go | 483 - .../protobuf/protoc-gen-go/link_grpc.go | 34 - .../golang/protobuf/protoc-gen-go/main.go | 98 - .../protoc-gen-go/plugin/plugin.pb.go | 369 - .../protoc-gen-go/plugin/plugin.pb.golden | 83 - .../protoc-gen-go/plugin/plugin.proto | 167 - .../testdata/deprecated/deprecated.pb.go | 232 - .../testdata/deprecated/deprecated.proto | 69 - .../extension_base/extension_base.pb.go | 139 - .../extension_base/extension_base.proto | 48 - .../extension_extra/extension_extra.pb.go | 78 - .../extension_extra/extension_extra.proto | 40 - .../protoc-gen-go/testdata/extension_test.go | 206 - .../extension_user/extension_user.pb.go | 401 - .../extension_user/extension_user.proto | 102 - .../protoc-gen-go/testdata/grpc/grpc.pb.go | 444 - .../protoc-gen-go/testdata/grpc/grpc.proto | 61 - .../testdata/import_public/a.pb.go | 110 - .../testdata/import_public/a.proto | 45 - .../testdata/import_public/b.pb.go | 87 - .../testdata/import_public/b.proto | 43 - .../testdata/import_public/sub/a.pb.go | 100 - .../testdata/import_public/sub/a.proto | 47 - .../testdata/import_public/sub/b.pb.go | 67 - .../testdata/import_public/sub/b.proto | 39 - .../testdata/import_public_test.go | 66 - .../testdata/imports/fmt/m.pb.go | 66 - .../testdata/imports/fmt/m.proto | 35 - .../testdata/imports/test_a_1/m1.pb.go | 130 - .../testdata/imports/test_a_1/m1.proto | 44 - .../testdata/imports/test_a_1/m2.pb.go | 67 - .../testdata/imports/test_a_1/m2.proto | 35 - .../testdata/imports/test_a_2/m3.pb.go | 67 - .../testdata/imports/test_a_2/m3.proto | 35 - .../testdata/imports/test_a_2/m4.pb.go | 67 - .../testdata/imports/test_a_2/m4.proto | 35 - .../testdata/imports/test_b_1/m1.pb.go | 67 - .../testdata/imports/test_b_1/m1.proto | 35 - .../testdata/imports/test_b_1/m2.pb.go | 67 - .../testdata/imports/test_b_1/m2.proto | 35 - .../testdata/imports/test_import_a1m1.pb.go | 80 - .../testdata/imports/test_import_a1m1.proto | 42 - .../testdata/imports/test_import_a1m2.pb.go | 80 - .../testdata/imports/test_import_a1m2.proto | 42 - .../testdata/imports/test_import_all.pb.go | 138 - .../testdata/imports/test_import_all.proto | 58 - .../protoc-gen-go/testdata/main_test.go | 48 - .../protoc-gen-go/testdata/multi/multi1.pb.go | 96 - .../protoc-gen-go/testdata/multi/multi1.proto | 46 - .../protoc-gen-go/testdata/multi/multi2.pb.go | 128 - .../protoc-gen-go/testdata/multi/multi2.proto | 48 - .../protoc-gen-go/testdata/multi/multi3.pb.go | 115 - .../protoc-gen-go/testdata/multi/multi3.proto | 45 - .../protoc-gen-go/testdata/my_test/test.pb.go | 1174 - .../protoc-gen-go/testdata/my_test/test.proto | 158 - .../testdata/proto3/proto3.pb.go | 196 - .../testdata/proto3/proto3.proto | 55 - .../github.com/golang/protobuf/ptypes/any.go | 139 - .../golang/protobuf/ptypes/any/any.pb.go | 191 - .../golang/protobuf/ptypes/any/any.proto | 149 - .../golang/protobuf/ptypes/any_test.go | 113 - .../github.com/golang/protobuf/ptypes/doc.go | 35 - .../golang/protobuf/ptypes/duration.go | 102 - .../protobuf/ptypes/duration/duration.pb.go | 159 - .../protobuf/ptypes/duration/duration.proto | 117 - .../golang/protobuf/ptypes/duration_test.go | 121 - .../golang/protobuf/ptypes/empty/empty.pb.go | 79 - .../golang/protobuf/ptypes/empty/empty.proto | 52 - .../protobuf/ptypes/struct/struct.pb.go | 440 - .../protobuf/ptypes/struct/struct.proto | 96 - .../golang/protobuf/ptypes/timestamp.go | 134 - .../protobuf/ptypes/timestamp/timestamp.pb.go | 175 - .../protobuf/ptypes/timestamp/timestamp.proto | 133 - .../golang/protobuf/ptypes/timestamp_test.go | 153 - .../protobuf/ptypes/wrappers/wrappers.pb.go | 443 - .../protobuf/ptypes/wrappers/wrappers.proto | 118 - .../github.com/golang/protobuf/regenerate.sh | 53 - .../gorilla/context/context_test.go | 161 - vendor/github.com/gorilla/mux/bench_test.go | 49 - .../gorilla/mux/context_gorilla_test.go | 40 - .../gorilla/mux/context_native_test.go | 32 - .../example_authentication_middleware_test.go | 46 - .../gorilla/mux/example_route_test.go | 51 - .../github.com/gorilla/mux/middleware_test.go | 377 - vendor/github.com/gorilla/mux/mux_test.go | 2364 - vendor/github.com/gorilla/mux/old_test.go | 704 - vendor/github.com/lib/pq/.travis.sh | 0 vendor/github.com/lib/pq/array_test.go | 1311 - vendor/github.com/lib/pq/bench_test.go | 436 - vendor/github.com/lib/pq/certs/README | 3 - vendor/github.com/lib/pq/certs/bogus_root.crt | 19 - vendor/github.com/lib/pq/certs/postgresql.crt | 69 - vendor/github.com/lib/pq/certs/postgresql.key | 15 - vendor/github.com/lib/pq/certs/root.crt | 24 - vendor/github.com/lib/pq/certs/server.crt | 81 - vendor/github.com/lib/pq/certs/server.key | 27 - vendor/github.com/lib/pq/conn_test.go | 1659 - .../lib/pq/connector_example_test.go | 33 - vendor/github.com/lib/pq/connector_test.go | 67 - vendor/github.com/lib/pq/copy_test.go | 468 - vendor/github.com/lib/pq/encode_test.go | 766 - .../github.com/lib/pq/example/listen/doc.go | 98 - vendor/github.com/lib/pq/go.mod | 1 + vendor/github.com/lib/pq/go18_test.go | 321 - .../github.com/lib/pq/hstore/hstore_test.go | 148 - vendor/github.com/lib/pq/issues_test.go | 26 - vendor/github.com/lib/pq/notify.go | 3 + vendor/github.com/lib/pq/notify_test.go | 570 - vendor/github.com/lib/pq/rows_test.go | 220 - vendor/github.com/lib/pq/ssl_test.go | 279 - vendor/github.com/lib/pq/url_test.go | 66 - vendor/github.com/lib/pq/uuid_test.go | 46 - .../github.com/tdewolff/minify/.gitattributes | 1 - vendor/github.com/tdewolff/minify/.gitignore | 4 - .../tdewolff/minify/.goreleaser.yml | 28 - vendor/github.com/tdewolff/minify/.travis.yml | 5 - vendor/github.com/tdewolff/minify/LICENSE.md | 22 - vendor/github.com/tdewolff/minify/README.md | 590 - .../tdewolff/minify/benchmarks/css_test.go | 32 - .../tdewolff/minify/benchmarks/html_test.go | 36 - .../tdewolff/minify/benchmarks/js_test.go | 35 - .../tdewolff/minify/benchmarks/json_test.go | 33 - .../tdewolff/minify/benchmarks/main_test.go | 18 - .../tdewolff/minify/benchmarks/sample_ace.js | 18655 ---- .../minify/benchmarks/sample_amazon.html | 10126 --- .../minify/benchmarks/sample_arctic.svg | 13940 --- .../minify/benchmarks/sample_bbc.html | 513 - .../minify/benchmarks/sample_blogpost.html | 580 - .../minify/benchmarks/sample_books.xml | 120 - .../minify/benchmarks/sample_bootstrap.css | 6332 -- .../minify/benchmarks/sample_catalog.xml | 42 - .../tdewolff/minify/benchmarks/sample_dot.js | 140 - .../minify/benchmarks/sample_es6.html | 17583 ---- .../minify/benchmarks/sample_gopher.svg | 68 - .../minify/benchmarks/sample_gumby.css | 1683 - .../minify/benchmarks/sample_jquery.js | 9205 -- .../minify/benchmarks/sample_jqueryui.js | 16608 ---- .../minify/benchmarks/sample_large.json | 27002 ------ .../minify/benchmarks/sample_moment.js | 3043 - .../tdewolff/minify/benchmarks/sample_omg.xml | 18071 ---- .../benchmarks/sample_stackoverflow.html | 4335 - .../minify/benchmarks/sample_testsuite.json | 3315 - .../minify/benchmarks/sample_twitter.json | 52 - .../tdewolff/minify/benchmarks/sample_usa.svg | 12630 --- .../minify/benchmarks/sample_wikipedia.html | 3283 - .../tdewolff/minify/benchmarks/svg_test.go | 33 - .../tdewolff/minify/benchmarks/xml_test.go | 33 - .../tdewolff/minify/cmd/minify/README.md | 133 - .../tdewolff/minify/cmd/minify/main.go | 650 - .../cmd/minify/minify_bash_tab_completion | 29 - .../tdewolff/minify/cmd/minify/util.go | 118 - .../tdewolff/minify/cmd/minify/util_test.go | 152 - .../tdewolff/minify/cmd/minify/watch.go | 106 - vendor/github.com/tdewolff/minify/common.go | 462 - .../github.com/tdewolff/minify/common_test.go | 326 - vendor/github.com/tdewolff/minify/css/css.go | 681 - .../tdewolff/minify/css/css_test.go | 272 - .../github.com/tdewolff/minify/css/table.go | 165 - .../github.com/tdewolff/minify/html/buffer.go | 131 - .../tdewolff/minify/html/buffer_test.go | 37 - .../github.com/tdewolff/minify/html/html.go | 467 - .../tdewolff/minify/html/html_test.go | 415 - .../github.com/tdewolff/minify/html/table.go | 186 - vendor/github.com/tdewolff/minify/js/js.go | 97 - .../github.com/tdewolff/minify/js/js_test.go | 110 - .../github.com/tdewolff/minify/json/json.go | 63 - .../tdewolff/minify/json/json_test.go | 74 - vendor/github.com/tdewolff/minify/minify.go | 279 - .../github.com/tdewolff/minify/minify_test.go | 358 - .../github.com/tdewolff/minify/svg/buffer.go | 130 - .../tdewolff/minify/svg/buffer_test.go | 68 - .../tdewolff/minify/svg/pathdata.go | 290 - .../tdewolff/minify/svg/pathdata_test.go | 65 - vendor/github.com/tdewolff/minify/svg/svg.go | 403 - .../tdewolff/minify/svg/svg_test.go | 199 - .../github.com/tdewolff/minify/svg/table.go | 84 - .../github.com/tdewolff/minify/xml/buffer.go | 84 - .../tdewolff/minify/xml/buffer_test.go | 37 - vendor/github.com/tdewolff/minify/xml/xml.go | 196 - .../tdewolff/minify/xml/xml_test.go | 132 - vendor/github.com/tdewolff/parse/.travis.yml | 5 - vendor/github.com/tdewolff/parse/LICENSE.md | 22 - vendor/github.com/tdewolff/parse/README.md | 66 - .../tdewolff/parse/buffer/buffer.go | 15 - .../github.com/tdewolff/parse/buffer/lexer.go | 158 - .../tdewolff/parse/buffer/lexer_test.go | 91 - .../tdewolff/parse/buffer/reader.go | 44 - .../tdewolff/parse/buffer/reader_test.go | 49 - .../tdewolff/parse/buffer/streamlexer.go | 223 - .../tdewolff/parse/buffer/streamlexer_test.go | 148 - .../tdewolff/parse/buffer/writer.go | 41 - .../tdewolff/parse/buffer/writer_test.go | 46 - vendor/github.com/tdewolff/parse/common.go | 231 - .../github.com/tdewolff/parse/common_test.go | 172 - .../github.com/tdewolff/parse/css/README.md | 171 - vendor/github.com/tdewolff/parse/css/hash.go | 689 - .../tdewolff/parse/css/hash_test.go | 16 - vendor/github.com/tdewolff/parse/css/lex.go | 710 - .../github.com/tdewolff/parse/css/lex_test.go | 143 - vendor/github.com/tdewolff/parse/css/parse.go | 402 - .../tdewolff/parse/css/parse_test.go | 249 - vendor/github.com/tdewolff/parse/css/util.go | 47 - .../tdewolff/parse/css/util_test.go | 34 - vendor/github.com/tdewolff/parse/error.go | 49 - .../github.com/tdewolff/parse/html/README.md | 98 - vendor/github.com/tdewolff/parse/html/hash.go | 831 - .../tdewolff/parse/html/hash_test.go | 58 - vendor/github.com/tdewolff/parse/html/lex.go | 498 - .../tdewolff/parse/html/lex_test.go | 283 - vendor/github.com/tdewolff/parse/html/util.go | 129 - .../tdewolff/parse/html/util_test.go | 43 - vendor/github.com/tdewolff/parse/js/README.md | 89 - vendor/github.com/tdewolff/parse/js/hash.go | 156 - .../github.com/tdewolff/parse/js/hash_test.go | 18 - vendor/github.com/tdewolff/parse/js/lex.go | 669 - .../github.com/tdewolff/parse/js/lex_test.go | 155 - .../github.com/tdewolff/parse/json/README.md | 81 - .../github.com/tdewolff/parse/json/parse.go | 307 - .../tdewolff/parse/json/parse_test.go | 160 - vendor/github.com/tdewolff/parse/position.go | 79 - .../tdewolff/parse/position_test.go | 42 - .../tdewolff/parse/strconv/float.go | 251 - .../tdewolff/parse/strconv/float_test.go | 196 - .../github.com/tdewolff/parse/strconv/int.go | 83 - .../tdewolff/parse/strconv/int_test.go | 97 - .../tdewolff/parse/strconv/price.go | 83 - .../tdewolff/parse/strconv/price_test.go | 29 - vendor/github.com/tdewolff/parse/svg/hash.go | 295 - .../tdewolff/parse/svg/hash_test.go | 17 - vendor/github.com/tdewolff/parse/util.go | 196 - vendor/github.com/tdewolff/parse/util_test.go | 176 - .../github.com/tdewolff/parse/xml/README.md | 101 - vendor/github.com/tdewolff/parse/xml/lex.go | 348 - .../github.com/tdewolff/parse/xml/lex_test.go | 195 - vendor/github.com/tdewolff/parse/xml/util.go | 108 - .../tdewolff/parse/xml/util_test.go | 63 - vendor/golang.org/x/crypto/.gitattributes | 10 - vendor/golang.org/x/crypto/.gitignore | 2 - vendor/golang.org/x/crypto/CONTRIBUTING.md | 26 - vendor/golang.org/x/crypto/README.md | 21 - vendor/golang.org/x/crypto/acme/acme.go | 19 +- vendor/golang.org/x/crypto/acme/acme_test.go | 1313 - .../x/crypto/acme/autocert/autocert.go | 91 +- .../x/crypto/acme/autocert/autocert_test.go | 1130 - .../x/crypto/acme/autocert/cache_test.go | 58 - .../x/crypto/acme/autocert/example_test.go | 36 - .../x/crypto/acme/autocert/listener.go | 7 +- .../x/crypto/acme/autocert/renewal.go | 2 +- .../x/crypto/acme/autocert/renewal_test.go | 329 - vendor/golang.org/x/crypto/acme/http_test.go | 209 - vendor/golang.org/x/crypto/acme/jws_test.go | 319 - vendor/golang.org/x/crypto/acme/types_test.go | 63 - vendor/golang.org/x/crypto/argon2/argon2.go | 285 - .../golang.org/x/crypto/argon2/argon2_test.go | 233 - vendor/golang.org/x/crypto/argon2/blake2b.go | 53 - .../x/crypto/argon2/blamka_amd64.go | 60 - .../golang.org/x/crypto/argon2/blamka_amd64.s | 243 - .../x/crypto/argon2/blamka_generic.go | 163 - .../golang.org/x/crypto/argon2/blamka_ref.go | 15 - .../golang.org/x/crypto/bcrypt/bcrypt_test.go | 243 - vendor/golang.org/x/crypto/blake2b/blake2b.go | 289 - .../x/crypto/blake2b/blake2bAVX2_amd64.go | 37 - .../x/crypto/blake2b/blake2bAVX2_amd64.s | 750 - .../x/crypto/blake2b/blake2b_amd64.go | 24 - .../x/crypto/blake2b/blake2b_amd64.s | 281 - .../x/crypto/blake2b/blake2b_generic.go | 179 - .../x/crypto/blake2b/blake2b_ref.go | 11 - .../x/crypto/blake2b/blake2b_test.go | 847 - vendor/golang.org/x/crypto/blake2b/blake2x.go | 177 - .../golang.org/x/crypto/blake2b/register.go | 32 - vendor/golang.org/x/crypto/blake2s/blake2s.go | 244 - .../x/crypto/blake2s/blake2s_386.go | 32 - .../golang.org/x/crypto/blake2s/blake2s_386.s | 435 - .../x/crypto/blake2s/blake2s_amd64.go | 37 - .../x/crypto/blake2s/blake2s_amd64.s | 438 - .../x/crypto/blake2s/blake2s_generic.go | 174 - .../x/crypto/blake2s/blake2s_ref.go | 17 - .../x/crypto/blake2s/blake2s_test.go | 1050 - vendor/golang.org/x/crypto/blake2s/blake2x.go | 178 - .../golang.org/x/crypto/blake2s/register.go | 21 - .../x/crypto/blowfish/blowfish_test.go | 274 - vendor/golang.org/x/crypto/bn256/bn256.go | 416 - .../golang.org/x/crypto/bn256/bn256_test.go | 304 - vendor/golang.org/x/crypto/bn256/constants.go | 44 - vendor/golang.org/x/crypto/bn256/curve.go | 287 - .../golang.org/x/crypto/bn256/example_test.go | 43 - vendor/golang.org/x/crypto/bn256/gfp12.go | 200 - vendor/golang.org/x/crypto/bn256/gfp2.go | 219 - vendor/golang.org/x/crypto/bn256/gfp6.go | 296 - vendor/golang.org/x/crypto/bn256/optate.go | 395 - vendor/golang.org/x/crypto/bn256/twist.go | 258 - vendor/golang.org/x/crypto/cast5/cast5.go | 526 - .../golang.org/x/crypto/cast5/cast5_test.go | 106 - .../chacha20poly1305/chacha20poly1305.go | 91 - .../chacha20poly1305_amd64.go | 87 - .../chacha20poly1305/chacha20poly1305_amd64.s | 2695 - .../chacha20poly1305_generic.go | 81 - .../chacha20poly1305_noasm.go | 15 - .../chacha20poly1305/chacha20poly1305_test.go | 182 - .../chacha20poly1305_vectors_test.go | 339 - vendor/golang.org/x/crypto/codereview.cfg | 1 - vendor/golang.org/x/crypto/cryptobyte/asn1.go | 751 - .../x/crypto/cryptobyte/asn1/asn1.go | 46 - .../x/crypto/cryptobyte/asn1_test.go | 333 - .../golang.org/x/crypto/cryptobyte/builder.go | 309 - .../x/crypto/cryptobyte/cryptobyte_test.go | 428 - .../x/crypto/cryptobyte/example_test.go | 154 - .../golang.org/x/crypto/cryptobyte/string.go | 166 - .../x/crypto/curve25519/const_amd64.h | 8 - .../x/crypto/curve25519/const_amd64.s | 20 - .../x/crypto/curve25519/cswap_amd64.s | 65 - .../x/crypto/curve25519/curve25519.go | 834 - .../x/crypto/curve25519/curve25519_test.go | 39 - vendor/golang.org/x/crypto/curve25519/doc.go | 23 - .../x/crypto/curve25519/freeze_amd64.s | 73 - .../x/crypto/curve25519/ladderstep_amd64.s | 1377 - .../x/crypto/curve25519/mont25519_amd64.go | 240 - .../x/crypto/curve25519/mul_amd64.s | 169 - .../x/crypto/curve25519/square_amd64.s | 132 - vendor/golang.org/x/crypto/ed25519/ed25519.go | 217 - .../x/crypto/ed25519/ed25519_test.go | 220 - .../ed25519/internal/edwards25519/const.go | 1422 - .../internal/edwards25519/edwards25519.go | 1793 - .../x/crypto/ed25519/testdata/sign.input.gz | Bin 50330 -> 0 bytes .../golang.org/x/crypto/hkdf/example_test.go | 61 - vendor/golang.org/x/crypto/hkdf/hkdf.go | 75 - vendor/golang.org/x/crypto/hkdf/hkdf_test.go | 370 - .../x/crypto/internal/chacha20/asm_s390x.s | 283 - .../internal/chacha20/chacha_generic.go | 236 - .../crypto/internal/chacha20/chacha_noasm.go | 16 - .../crypto/internal/chacha20/chacha_s390x.go | 30 - .../x/crypto/internal/chacha20/chacha_test.go | 188 - .../crypto/internal/chacha20/vectors_test.go | 578 - .../x/crypto/internal/chacha20/xor.go | 43 - .../x/crypto/internal/subtle/aliasing.go | 32 - .../internal/subtle/aliasing_appengine.go | 35 - .../x/crypto/internal/subtle/aliasing_test.go | 50 - .../golang.org/x/crypto/md4/example_test.go | 20 - vendor/golang.org/x/crypto/md4/md4.go | 118 - vendor/golang.org/x/crypto/md4/md4_test.go | 71 - vendor/golang.org/x/crypto/md4/md4block.go | 89 - vendor/golang.org/x/crypto/nacl/auth/auth.go | 58 - .../x/crypto/nacl/auth/auth_test.go | 172 - .../x/crypto/nacl/auth/example_test.go | 36 - vendor/golang.org/x/crypto/nacl/box/box.go | 103 - .../golang.org/x/crypto/nacl/box/box_test.go | 78 - .../x/crypto/nacl/box/example_test.go | 95 - .../x/crypto/nacl/secretbox/example_test.go | 53 - .../x/crypto/nacl/secretbox/secretbox.go | 173 - .../x/crypto/nacl/secretbox/secretbox_test.go | 154 - vendor/golang.org/x/crypto/nacl/sign/sign.go | 90 - .../x/crypto/nacl/sign/sign_test.go | 74 - vendor/golang.org/x/crypto/ocsp/ocsp.go | 781 - vendor/golang.org/x/crypto/ocsp/ocsp_test.go | 875 - .../x/crypto/openpgp/armor/armor.go | 219 - .../x/crypto/openpgp/armor/armor_test.go | 95 - .../x/crypto/openpgp/armor/encode.go | 160 - .../x/crypto/openpgp/canonical_text.go | 59 - .../x/crypto/openpgp/canonical_text_test.go | 52 - .../x/crypto/openpgp/clearsign/clearsign.go | 376 - .../openpgp/clearsign/clearsign_test.go | 210 - .../x/crypto/openpgp/elgamal/elgamal.go | 122 - .../x/crypto/openpgp/elgamal/elgamal_test.go | 49 - .../x/crypto/openpgp/errors/errors.go | 72 - vendor/golang.org/x/crypto/openpgp/keys.go | 652 - .../golang.org/x/crypto/openpgp/keys_test.go | 549 - .../x/crypto/openpgp/packet/compressed.go | 123 - .../crypto/openpgp/packet/compressed_test.go | 41 - .../x/crypto/openpgp/packet/config.go | 91 - .../x/crypto/openpgp/packet/encrypted_key.go | 206 - .../openpgp/packet/encrypted_key_test.go | 151 - .../x/crypto/openpgp/packet/literal.go | 89 - .../x/crypto/openpgp/packet/ocfb.go | 143 - .../x/crypto/openpgp/packet/ocfb_test.go | 46 - .../openpgp/packet/one_pass_signature.go | 73 - .../x/crypto/openpgp/packet/opaque.go | 162 - .../x/crypto/openpgp/packet/opaque_test.go | 67 - .../x/crypto/openpgp/packet/packet.go | 549 - .../x/crypto/openpgp/packet/packet_test.go | 255 - .../x/crypto/openpgp/packet/private_key.go | 380 - .../crypto/openpgp/packet/private_key_test.go | 270 - .../x/crypto/openpgp/packet/public_key.go | 753 - .../crypto/openpgp/packet/public_key_test.go | 228 - .../x/crypto/openpgp/packet/public_key_v3.go | 279 - .../openpgp/packet/public_key_v3_test.go | 82 - .../x/crypto/openpgp/packet/reader.go | 76 - .../x/crypto/openpgp/packet/signature.go | 731 - .../x/crypto/openpgp/packet/signature_test.go | 78 - .../x/crypto/openpgp/packet/signature_v3.go | 146 - .../openpgp/packet/signature_v3_test.go | 92 - .../openpgp/packet/symmetric_key_encrypted.go | 155 - .../packet/symmetric_key_encrypted_test.go | 117 - .../openpgp/packet/symmetrically_encrypted.go | 290 - .../packet/symmetrically_encrypted_test.go | 123 - .../x/crypto/openpgp/packet/userattribute.go | 91 - .../openpgp/packet/userattribute_test.go | 109 - .../x/crypto/openpgp/packet/userid.go | 160 - .../x/crypto/openpgp/packet/userid_test.go | 87 - vendor/golang.org/x/crypto/openpgp/read.go | 442 - .../golang.org/x/crypto/openpgp/read_test.go | 613 - vendor/golang.org/x/crypto/openpgp/s2k/s2k.go | 273 - .../x/crypto/openpgp/s2k/s2k_test.go | 137 - vendor/golang.org/x/crypto/openpgp/write.go | 378 - .../golang.org/x/crypto/openpgp/write_test.go | 273 - .../x/crypto/otr/libotr_test_helper.c | 197 - vendor/golang.org/x/crypto/otr/otr.go | 1415 - vendor/golang.org/x/crypto/otr/otr_test.go | 470 - vendor/golang.org/x/crypto/otr/smp.go | 572 - vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go | 77 - .../golang.org/x/crypto/pbkdf2/pbkdf2_test.go | 176 - .../golang.org/x/crypto/pkcs12/bmp-string.go | 50 - .../x/crypto/pkcs12/bmp-string_test.go | 63 - vendor/golang.org/x/crypto/pkcs12/crypto.go | 131 - .../golang.org/x/crypto/pkcs12/crypto_test.go | 125 - vendor/golang.org/x/crypto/pkcs12/errors.go | 23 - .../crypto/pkcs12/internal/rc2/bench_test.go | 27 - .../x/crypto/pkcs12/internal/rc2/rc2.go | 271 - .../x/crypto/pkcs12/internal/rc2/rc2_test.go | 92 - vendor/golang.org/x/crypto/pkcs12/mac.go | 45 - vendor/golang.org/x/crypto/pkcs12/mac_test.go | 42 - vendor/golang.org/x/crypto/pkcs12/pbkdf.go | 170 - .../golang.org/x/crypto/pkcs12/pbkdf_test.go | 34 - vendor/golang.org/x/crypto/pkcs12/pkcs12.go | 346 - .../golang.org/x/crypto/pkcs12/pkcs12_test.go | 138 - vendor/golang.org/x/crypto/pkcs12/safebags.go | 57 - .../golang.org/x/crypto/poly1305/poly1305.go | 33 - .../x/crypto/poly1305/poly1305_test.go | 132 - .../golang.org/x/crypto/poly1305/sum_amd64.go | 22 - .../golang.org/x/crypto/poly1305/sum_amd64.s | 125 - .../golang.org/x/crypto/poly1305/sum_arm.go | 22 - vendor/golang.org/x/crypto/poly1305/sum_arm.s | 427 - .../golang.org/x/crypto/poly1305/sum_noasm.go | 14 - .../golang.org/x/crypto/poly1305/sum_ref.go | 139 - .../golang.org/x/crypto/poly1305/sum_s390x.go | 49 - .../golang.org/x/crypto/poly1305/sum_s390x.s | 400 - .../x/crypto/poly1305/sum_vmsl_s390x.s | 931 - .../x/crypto/poly1305/vectors_test.go | 2943 - .../x/crypto/ripemd160/ripemd160.go | 120 - .../x/crypto/ripemd160/ripemd160_test.go | 72 - .../x/crypto/ripemd160/ripemd160block.go | 165 - .../x/crypto/salsa20/salsa/hsalsa20.go | 144 - .../x/crypto/salsa20/salsa/salsa2020_amd64.s | 889 - .../x/crypto/salsa20/salsa/salsa208.go | 199 - .../x/crypto/salsa20/salsa/salsa20_amd64.go | 24 - .../x/crypto/salsa20/salsa/salsa20_ref.go | 234 - .../x/crypto/salsa20/salsa/salsa_test.go | 54 - vendor/golang.org/x/crypto/salsa20/salsa20.go | 58 - .../x/crypto/salsa20/salsa20_test.go | 139 - .../x/crypto/scrypt/example_test.go | 26 - vendor/golang.org/x/crypto/scrypt/scrypt.go | 244 - .../golang.org/x/crypto/scrypt/scrypt_test.go | 162 - vendor/golang.org/x/crypto/sha3/doc.go | 66 - vendor/golang.org/x/crypto/sha3/hashes.go | 91 - .../x/crypto/sha3/hashes_generic.go | 27 - vendor/golang.org/x/crypto/sha3/keccakf.go | 412 - .../golang.org/x/crypto/sha3/keccakf_amd64.go | 13 - .../golang.org/x/crypto/sha3/keccakf_amd64.s | 390 - vendor/golang.org/x/crypto/sha3/register.go | 18 - vendor/golang.org/x/crypto/sha3/sha3.go | 192 - vendor/golang.org/x/crypto/sha3/sha3_s390x.go | 289 - vendor/golang.org/x/crypto/sha3/sha3_s390x.s | 49 - vendor/golang.org/x/crypto/sha3/sha3_test.go | 337 - vendor/golang.org/x/crypto/sha3/shake.go | 70 - .../golang.org/x/crypto/sha3/shake_generic.go | 19 - .../sha3/testdata/keccakKats.json.deflate | Bin 521342 -> 0 bytes vendor/golang.org/x/crypto/sha3/xor.go | 16 - .../golang.org/x/crypto/sha3/xor_generic.go | 28 - .../golang.org/x/crypto/sha3/xor_unaligned.go | 58 - .../golang.org/x/crypto/ssh/agent/client.go | 683 - .../x/crypto/ssh/agent/client_test.go | 379 - .../x/crypto/ssh/agent/example_test.go | 41 - .../golang.org/x/crypto/ssh/agent/forward.go | 103 - .../golang.org/x/crypto/ssh/agent/keyring.go | 215 - .../x/crypto/ssh/agent/keyring_test.go | 76 - .../golang.org/x/crypto/ssh/agent/server.go | 523 - .../x/crypto/ssh/agent/server_test.go | 259 - .../x/crypto/ssh/agent/testdata_test.go | 64 - .../golang.org/x/crypto/ssh/benchmark_test.go | 123 - vendor/golang.org/x/crypto/ssh/buffer.go | 97 - vendor/golang.org/x/crypto/ssh/buffer_test.go | 87 - vendor/golang.org/x/crypto/ssh/certs.go | 521 - vendor/golang.org/x/crypto/ssh/certs_test.go | 335 - vendor/golang.org/x/crypto/ssh/channel.go | 633 - vendor/golang.org/x/crypto/ssh/cipher.go | 770 - vendor/golang.org/x/crypto/ssh/cipher_test.go | 131 - vendor/golang.org/x/crypto/ssh/client.go | 278 - vendor/golang.org/x/crypto/ssh/client_auth.go | 525 - .../x/crypto/ssh/client_auth_test.go | 628 - vendor/golang.org/x/crypto/ssh/client_test.go | 166 - vendor/golang.org/x/crypto/ssh/common.go | 383 - vendor/golang.org/x/crypto/ssh/connection.go | 143 - vendor/golang.org/x/crypto/ssh/doc.go | 21 - .../golang.org/x/crypto/ssh/example_test.go | 320 - vendor/golang.org/x/crypto/ssh/handshake.go | 646 - .../golang.org/x/crypto/ssh/handshake_test.go | 559 - vendor/golang.org/x/crypto/ssh/kex.go | 540 - vendor/golang.org/x/crypto/ssh/kex_test.go | 50 - vendor/golang.org/x/crypto/ssh/keys.go | 1032 - vendor/golang.org/x/crypto/ssh/keys_test.go | 500 - .../x/crypto/ssh/knownhosts/knownhosts.go | 540 - .../crypto/ssh/knownhosts/knownhosts_test.go | 356 - vendor/golang.org/x/crypto/ssh/mac.go | 61 - .../golang.org/x/crypto/ssh/mempipe_test.go | 110 - vendor/golang.org/x/crypto/ssh/messages.go | 766 - .../golang.org/x/crypto/ssh/messages_test.go | 288 - vendor/golang.org/x/crypto/ssh/mux.go | 330 - vendor/golang.org/x/crypto/ssh/mux_test.go | 501 - vendor/golang.org/x/crypto/ssh/server.go | 593 - vendor/golang.org/x/crypto/ssh/session.go | 647 - .../golang.org/x/crypto/ssh/session_test.go | 774 - vendor/golang.org/x/crypto/ssh/streamlocal.go | 116 - vendor/golang.org/x/crypto/ssh/tcpip.go | 474 - vendor/golang.org/x/crypto/ssh/tcpip_test.go | 20 - .../x/crypto/ssh/terminal/terminal_test.go | 358 - .../x/crypto/ssh/test/agent_unix_test.go | 59 - .../x/crypto/ssh/test/banner_test.go | 32 - .../golang.org/x/crypto/ssh/test/cert_test.go | 77 - .../x/crypto/ssh/test/dial_unix_test.go | 128 - vendor/golang.org/x/crypto/ssh/test/doc.go | 7 - .../x/crypto/ssh/test/forward_unix_test.go | 194 - .../x/crypto/ssh/test/multi_auth_test.go | 144 - .../x/crypto/ssh/test/session_test.go | 443 - .../x/crypto/ssh/test/sshd_test_pw.c | 173 - .../x/crypto/ssh/test/test_unix_test.go | 368 - .../x/crypto/ssh/test/testdata_test.go | 64 - .../golang.org/x/crypto/ssh/testdata/doc.go | 8 - .../golang.org/x/crypto/ssh/testdata/keys.go | 198 - .../golang.org/x/crypto/ssh/testdata_test.go | 63 - vendor/golang.org/x/crypto/ssh/transport.go | 353 - .../golang.org/x/crypto/ssh/transport_test.go | 113 - vendor/golang.org/x/crypto/tea/cipher.go | 108 - vendor/golang.org/x/crypto/tea/tea_test.go | 93 - vendor/golang.org/x/crypto/twofish/twofish.go | 342 - .../x/crypto/twofish/twofish_test.go | 129 - vendor/golang.org/x/crypto/xtea/block.go | 66 - vendor/golang.org/x/crypto/xtea/cipher.go | 82 - vendor/golang.org/x/crypto/xtea/xtea_test.go | 229 - vendor/golang.org/x/crypto/xts/xts.go | 145 - vendor/golang.org/x/crypto/xts/xts_test.go | 105 - vendor/golang.org/x/net/.gitattributes | 10 - vendor/golang.org/x/net/.gitignore | 2 - vendor/golang.org/x/net/CONTRIBUTING.md | 26 - vendor/golang.org/x/net/README.md | 16 - vendor/golang.org/x/net/bpf/asm.go | 41 - vendor/golang.org/x/net/bpf/constants.go | 218 - vendor/golang.org/x/net/bpf/doc.go | 82 - vendor/golang.org/x/net/bpf/instructions.go | 704 - .../golang.org/x/net/bpf/instructions_test.go | 525 - vendor/golang.org/x/net/bpf/setter.go | 10 - .../x/net/bpf/testdata/all_instructions.bpf | 1 - .../x/net/bpf/testdata/all_instructions.txt | 79 - vendor/golang.org/x/net/bpf/vm.go | 140 - vendor/golang.org/x/net/bpf/vm_aluop_test.go | 512 - vendor/golang.org/x/net/bpf/vm_bpf_test.go | 192 - .../golang.org/x/net/bpf/vm_extension_test.go | 49 - .../golang.org/x/net/bpf/vm_instructions.go | 174 - vendor/golang.org/x/net/bpf/vm_jump_test.go | 380 - vendor/golang.org/x/net/bpf/vm_load_test.go | 246 - vendor/golang.org/x/net/bpf/vm_ret_test.go | 115 - .../golang.org/x/net/bpf/vm_scratch_test.go | 247 - vendor/golang.org/x/net/bpf/vm_test.go | 144 - vendor/golang.org/x/net/codereview.cfg | 1 - .../golang.org/x/net/context/context_test.go | 583 - .../x/net/context/ctxhttp/ctxhttp_17_test.go | 29 - .../net/context/ctxhttp/ctxhttp_pre17_test.go | 79 - .../x/net/context/ctxhttp/ctxhttp_test.go | 105 - .../x/net/context/withtimeout_test.go | 31 - vendor/golang.org/x/net/dict/dict.go | 210 - .../x/net/dns/dnsmessage/example_test.go | 132 - .../x/net/dns/dnsmessage/message.go | 2601 - .../x/net/dns/dnsmessage/message_test.go | 1421 - .../golang.org/x/net/html/atom/atom_test.go | 109 - .../golang.org/x/net/html/atom/table_test.go | 376 - .../x/net/html/charset/charset_test.go | 237 - .../html/charset/testdata/HTTP-charset.html | 48 - .../charset/testdata/HTTP-vs-UTF-8-BOM.html | 48 - .../testdata/HTTP-vs-meta-charset.html | 49 - .../testdata/HTTP-vs-meta-content.html | 49 - .../testdata/No-encoding-declaration.html | 47 - .../x/net/html/charset/testdata/README | 9 - .../html/charset/testdata/UTF-16BE-BOM.html | Bin 2670 -> 0 bytes .../html/charset/testdata/UTF-16LE-BOM.html | Bin 2682 -> 0 bytes .../testdata/UTF-8-BOM-vs-meta-charset.html | 49 - .../testdata/UTF-8-BOM-vs-meta-content.html | 48 - .../testdata/meta-charset-attribute.html | 48 - .../testdata/meta-content-attribute.html | 48 - vendor/golang.org/x/net/html/entity_test.go | 29 - vendor/golang.org/x/net/html/escape_test.go | 97 - vendor/golang.org/x/net/html/example_test.go | 40 - vendor/golang.org/x/net/html/node_test.go | 146 - vendor/golang.org/x/net/html/parse.go | 88 +- vendor/golang.org/x/net/html/parse_test.go | 402 - vendor/golang.org/x/net/html/render_test.go | 156 - .../x/net/html/testdata/go/template.dat | 13 - .../golang.org/x/net/html/testdata/go1.html | 2237 - .../x/net/html/testdata/webkit/README | 28 - .../x/net/html/testdata/webkit/adoption01.dat | 194 - .../x/net/html/testdata/webkit/adoption02.dat | 31 - .../x/net/html/testdata/webkit/comments01.dat | 135 - .../x/net/html/testdata/webkit/doctype01.dat | 370 - .../x/net/html/testdata/webkit/entities01.dat | 603 - .../x/net/html/testdata/webkit/entities02.dat | 249 - .../html/testdata/webkit/html5test-com.dat | 246 - .../x/net/html/testdata/webkit/inbody01.dat | 43 - .../x/net/html/testdata/webkit/isindex.dat | 40 - ...pending-spec-changes-plain-text-unsafe.dat | Bin 115 -> 0 bytes .../testdata/webkit/pending-spec-changes.dat | 52 - .../testdata/webkit/plain-text-unsafe.dat | Bin 4166 -> 0 bytes .../x/net/html/testdata/webkit/ruby.dat | 298 - .../net/html/testdata/webkit/scriptdata01.dat | 308 - .../testdata/webkit/scripted/adoption01.dat | 15 - .../testdata/webkit/scripted/webkit01.dat | 28 - .../x/net/html/testdata/webkit/tables01.dat | 212 - .../x/net/html/testdata/webkit/template.dat | 1117 - .../x/net/html/testdata/webkit/tests1.dat | 1952 - .../x/net/html/testdata/webkit/tests10.dat | 799 - .../x/net/html/testdata/webkit/tests11.dat | 482 - .../x/net/html/testdata/webkit/tests12.dat | 62 - .../x/net/html/testdata/webkit/tests14.dat | 74 - .../x/net/html/testdata/webkit/tests15.dat | 208 - .../x/net/html/testdata/webkit/tests16.dat | 2299 - .../x/net/html/testdata/webkit/tests17.dat | 153 - .../x/net/html/testdata/webkit/tests18.dat | 269 - .../x/net/html/testdata/webkit/tests19.dat | 1237 - .../x/net/html/testdata/webkit/tests2.dat | 763 - .../x/net/html/testdata/webkit/tests20.dat | 455 - .../x/net/html/testdata/webkit/tests21.dat | 221 - .../x/net/html/testdata/webkit/tests22.dat | 157 - .../x/net/html/testdata/webkit/tests23.dat | 155 - .../x/net/html/testdata/webkit/tests24.dat | 79 - .../x/net/html/testdata/webkit/tests25.dat | 219 - .../x/net/html/testdata/webkit/tests26.dat | 313 - .../x/net/html/testdata/webkit/tests3.dat | 305 - .../x/net/html/testdata/webkit/tests4.dat | 59 - .../x/net/html/testdata/webkit/tests5.dat | 191 - .../x/net/html/testdata/webkit/tests6.dat | 663 - .../x/net/html/testdata/webkit/tests7.dat | 390 - .../x/net/html/testdata/webkit/tests8.dat | 148 - .../x/net/html/testdata/webkit/tests9.dat | 457 - .../testdata/webkit/tests_innerHTML_1.dat | 741 - .../x/net/html/testdata/webkit/tricky01.dat | 261 - .../x/net/html/testdata/webkit/webkit01.dat | 610 - .../x/net/html/testdata/webkit/webkit02.dat | 159 - vendor/golang.org/x/net/html/token_test.go | 748 - vendor/golang.org/x/net/http/httpguts/guts.go | 50 - .../golang.org/x/net/http/httpguts/httplex.go | 346 - .../x/net/http/httpguts/httplex_test.go | 119 - .../x/net/http/httpproxy/export_test.go | 7 - .../x/net/http/httpproxy/go19_test.go | 13 - .../golang.org/x/net/http/httpproxy/proxy.go | 239 - .../x/net/http/httpproxy/proxy_test.go | 301 - vendor/golang.org/x/net/http2/.gitignore | 2 - vendor/golang.org/x/net/http2/Dockerfile | 51 - vendor/golang.org/x/net/http2/Makefile | 3 - vendor/golang.org/x/net/http2/README | 20 - vendor/golang.org/x/net/http2/ciphers.go | 641 - vendor/golang.org/x/net/http2/ciphers_test.go | 309 - .../x/net/http2/client_conn_pool.go | 256 - .../x/net/http2/configure_transport.go | 80 - vendor/golang.org/x/net/http2/databuffer.go | 146 - .../golang.org/x/net/http2/databuffer_test.go | 157 - vendor/golang.org/x/net/http2/errors.go | 133 - vendor/golang.org/x/net/http2/errors_test.go | 24 - vendor/golang.org/x/net/http2/flow.go | 50 - vendor/golang.org/x/net/http2/flow_test.go | 87 - vendor/golang.org/x/net/http2/frame.go | 1579 - vendor/golang.org/x/net/http2/frame_test.go | 1191 - vendor/golang.org/x/net/http2/go16.go | 16 - vendor/golang.org/x/net/http2/go17.go | 106 - vendor/golang.org/x/net/http2/go17_not18.go | 36 - vendor/golang.org/x/net/http2/go18.go | 56 - vendor/golang.org/x/net/http2/go18_test.go | 79 - vendor/golang.org/x/net/http2/go19.go | 16 - vendor/golang.org/x/net/http2/go19_test.go | 59 - vendor/golang.org/x/net/http2/gotrack.go | 170 - vendor/golang.org/x/net/http2/gotrack_test.go | 33 - .../golang.org/x/net/http2/h2demo/.gitignore | 6 - .../golang.org/x/net/http2/h2demo/Dockerfile | 11 - .../x/net/http2/h2demo/Dockerfile.0 | 134 - vendor/golang.org/x/net/http2/h2demo/Makefile | 55 - vendor/golang.org/x/net/http2/h2demo/README | 16 - .../x/net/http2/h2demo/deployment-prod.yaml | 28 - .../golang.org/x/net/http2/h2demo/h2demo.go | 543 - .../golang.org/x/net/http2/h2demo/launch.go | 302 - .../golang.org/x/net/http2/h2demo/rootCA.key | 27 - .../golang.org/x/net/http2/h2demo/rootCA.pem | 26 - .../golang.org/x/net/http2/h2demo/rootCA.srl | 1 - .../golang.org/x/net/http2/h2demo/server.crt | 20 - .../golang.org/x/net/http2/h2demo/server.key | 27 - .../x/net/http2/h2demo/service.yaml | 17 - vendor/golang.org/x/net/http2/h2demo/tmpl.go | 1991 - vendor/golang.org/x/net/http2/h2i/README.md | 97 - vendor/golang.org/x/net/http2/h2i/h2i.go | 522 - vendor/golang.org/x/net/http2/headermap.go | 78 - vendor/golang.org/x/net/http2/hpack/encode.go | 240 - .../x/net/http2/hpack/encode_test.go | 386 - vendor/golang.org/x/net/http2/hpack/hpack.go | 496 - .../x/net/http2/hpack/hpack_test.go | 741 - .../golang.org/x/net/http2/hpack/huffman.go | 212 - vendor/golang.org/x/net/http2/hpack/tables.go | 479 - .../x/net/http2/hpack/tables_test.go | 214 - vendor/golang.org/x/net/http2/http2.go | 391 - vendor/golang.org/x/net/http2/http2_test.go | 227 - vendor/golang.org/x/net/http2/not_go16.go | 21 - vendor/golang.org/x/net/http2/not_go17.go | 87 - vendor/golang.org/x/net/http2/not_go18.go | 29 - vendor/golang.org/x/net/http2/not_go19.go | 16 - vendor/golang.org/x/net/http2/pipe.go | 163 - vendor/golang.org/x/net/http2/pipe_test.go | 130 - vendor/golang.org/x/net/http2/server.go | 2878 - .../x/net/http2/server_push_test.go | 521 - vendor/golang.org/x/net/http2/server_test.go | 3843 - .../testdata/draft-ietf-httpbis-http2.xml | 5021 -- vendor/golang.org/x/net/http2/transport.go | 2310 - .../golang.org/x/net/http2/transport_test.go | 3848 - vendor/golang.org/x/net/http2/write.go | 365 - vendor/golang.org/x/net/http2/writesched.go | 242 - .../x/net/http2/writesched_priority.go | 452 - .../x/net/http2/writesched_priority_test.go | 541 - .../x/net/http2/writesched_random.go | 72 - .../x/net/http2/writesched_random_test.go | 44 - .../golang.org/x/net/http2/writesched_test.go | 125 - vendor/golang.org/x/net/http2/z_spec_test.go | 356 - vendor/golang.org/x/net/icmp/diag_test.go | 274 - vendor/golang.org/x/net/icmp/dstunreach.go | 41 - vendor/golang.org/x/net/icmp/echo.go | 157 - vendor/golang.org/x/net/icmp/endpoint.go | 112 - vendor/golang.org/x/net/icmp/example_test.go | 63 - vendor/golang.org/x/net/icmp/extension.go | 108 - .../golang.org/x/net/icmp/extension_test.go | 333 - vendor/golang.org/x/net/icmp/helper_posix.go | 75 - vendor/golang.org/x/net/icmp/interface.go | 322 - vendor/golang.org/x/net/icmp/ipv4.go | 61 - vendor/golang.org/x/net/icmp/ipv4_test.go | 75 - vendor/golang.org/x/net/icmp/ipv6.go | 23 - vendor/golang.org/x/net/icmp/listen_posix.go | 100 - vendor/golang.org/x/net/icmp/listen_stub.go | 33 - vendor/golang.org/x/net/icmp/message.go | 157 - vendor/golang.org/x/net/icmp/message_test.go | 155 - vendor/golang.org/x/net/icmp/messagebody.go | 41 - vendor/golang.org/x/net/icmp/mpls.go | 77 - vendor/golang.org/x/net/icmp/multipart.go | 121 - .../golang.org/x/net/icmp/multipart_test.go | 575 - vendor/golang.org/x/net/icmp/packettoobig.go | 43 - vendor/golang.org/x/net/icmp/paramprob.go | 63 - vendor/golang.org/x/net/icmp/sys_freebsd.go | 11 - vendor/golang.org/x/net/icmp/timeexceeded.go | 39 - vendor/golang.org/x/net/idna/example_test.go | 70 - vendor/golang.org/x/net/idna/idna.go | 732 - vendor/golang.org/x/net/idna/idna_test.go | 108 - vendor/golang.org/x/net/idna/punycode.go | 203 - vendor/golang.org/x/net/idna/punycode_test.go | 198 - vendor/golang.org/x/net/idna/tables.go | 4557 - vendor/golang.org/x/net/idna/trie.go | 72 - vendor/golang.org/x/net/idna/trieval.go | 119 - .../golang.org/x/net/internal/iana/const.go | 223 - vendor/golang.org/x/net/internal/iana/gen.go | 383 - .../x/net/internal/nettest/helper_bsd.go | 53 - .../x/net/internal/nettest/helper_nobsd.go | 15 - .../x/net/internal/nettest/helper_posix.go | 31 - .../x/net/internal/nettest/helper_stub.go | 32 - .../x/net/internal/nettest/helper_unix.go | 29 - .../x/net/internal/nettest/helper_windows.go | 42 - .../x/net/internal/nettest/interface.go | 94 - .../x/net/internal/nettest/rlimit.go | 11 - .../x/net/internal/nettest/stack.go | 152 - .../x/net/internal/socket/cmsghdr.go | 11 - .../x/net/internal/socket/cmsghdr_bsd.go | 13 - .../internal/socket/cmsghdr_linux_32bit.go | 14 - .../internal/socket/cmsghdr_linux_64bit.go | 14 - .../internal/socket/cmsghdr_solaris_64bit.go | 14 - .../x/net/internal/socket/cmsghdr_stub.go | 17 - .../x/net/internal/socket/defs_darwin.go | 44 - .../x/net/internal/socket/defs_dragonfly.go | 44 - .../x/net/internal/socket/defs_freebsd.go | 44 - .../x/net/internal/socket/defs_linux.go | 49 - .../x/net/internal/socket/defs_netbsd.go | 47 - .../x/net/internal/socket/defs_openbsd.go | 44 - .../x/net/internal/socket/defs_solaris.go | 44 - .../x/net/internal/socket/error_unix.go | 31 - .../x/net/internal/socket/error_windows.go | 26 - .../x/net/internal/socket/iovec_32bit.go | 19 - .../x/net/internal/socket/iovec_64bit.go | 19 - .../internal/socket/iovec_solaris_64bit.go | 19 - .../x/net/internal/socket/iovec_stub.go | 11 - .../x/net/internal/socket/mmsghdr_stub.go | 21 - .../x/net/internal/socket/mmsghdr_unix.go | 42 - .../x/net/internal/socket/msghdr_bsd.go | 39 - .../x/net/internal/socket/msghdr_bsdvar.go | 16 - .../x/net/internal/socket/msghdr_linux.go | 36 - .../net/internal/socket/msghdr_linux_32bit.go | 24 - .../net/internal/socket/msghdr_linux_64bit.go | 24 - .../x/net/internal/socket/msghdr_openbsd.go | 14 - .../internal/socket/msghdr_solaris_64bit.go | 36 - .../x/net/internal/socket/msghdr_stub.go | 14 - .../x/net/internal/socket/rawconn.go | 66 - .../x/net/internal/socket/rawconn_mmsg.go | 74 - .../x/net/internal/socket/rawconn_msg.go | 77 - .../x/net/internal/socket/rawconn_nommsg.go | 18 - .../x/net/internal/socket/rawconn_nomsg.go | 18 - .../x/net/internal/socket/rawconn_stub.go | 25 - .../x/net/internal/socket/reflect.go | 62 - .../x/net/internal/socket/socket.go | 285 - .../net/internal/socket/socket_go1_9_test.go | 259 - .../x/net/internal/socket/socket_test.go | 46 - .../golang.org/x/net/internal/socket/sys.go | 33 - .../x/net/internal/socket/sys_bsd.go | 17 - .../x/net/internal/socket/sys_bsdvar.go | 14 - .../x/net/internal/socket/sys_darwin.go | 7 - .../x/net/internal/socket/sys_dragonfly.go | 7 - .../x/net/internal/socket/sys_linux.go | 27 - .../x/net/internal/socket/sys_linux_386.go | 55 - .../x/net/internal/socket/sys_linux_386.s | 11 - .../x/net/internal/socket/sys_linux_amd64.go | 10 - .../x/net/internal/socket/sys_linux_arm.go | 10 - .../x/net/internal/socket/sys_linux_arm64.go | 10 - .../x/net/internal/socket/sys_linux_mips.go | 10 - .../x/net/internal/socket/sys_linux_mips64.go | 10 - .../net/internal/socket/sys_linux_mips64le.go | 10 - .../x/net/internal/socket/sys_linux_mipsle.go | 10 - .../x/net/internal/socket/sys_linux_ppc64.go | 10 - .../net/internal/socket/sys_linux_ppc64le.go | 10 - .../x/net/internal/socket/sys_linux_s390x.go | 55 - .../x/net/internal/socket/sys_linux_s390x.s | 11 - .../x/net/internal/socket/sys_netbsd.go | 25 - .../x/net/internal/socket/sys_posix.go | 168 - .../x/net/internal/socket/sys_solaris.go | 71 - .../x/net/internal/socket/sys_solaris_amd64.s | 11 - .../x/net/internal/socket/sys_stub.go | 64 - .../x/net/internal/socket/sys_unix.go | 33 - .../x/net/internal/socket/sys_windows.go | 70 - .../x/net/internal/socket/zsys_darwin_386.go | 59 - .../net/internal/socket/zsys_darwin_amd64.go | 61 - .../x/net/internal/socket/zsys_darwin_arm.go | 59 - .../net/internal/socket/zsys_darwin_arm64.go | 61 - .../internal/socket/zsys_dragonfly_amd64.go | 61 - .../x/net/internal/socket/zsys_freebsd_386.go | 59 - .../net/internal/socket/zsys_freebsd_amd64.go | 61 - .../x/net/internal/socket/zsys_freebsd_arm.go | 59 - .../x/net/internal/socket/zsys_linux_386.go | 63 - .../x/net/internal/socket/zsys_linux_amd64.go | 66 - .../x/net/internal/socket/zsys_linux_arm.go | 63 - .../x/net/internal/socket/zsys_linux_arm64.go | 66 - .../x/net/internal/socket/zsys_linux_mips.go | 63 - .../net/internal/socket/zsys_linux_mips64.go | 66 - .../internal/socket/zsys_linux_mips64le.go | 66 - .../net/internal/socket/zsys_linux_mipsle.go | 63 - .../x/net/internal/socket/zsys_linux_ppc64.go | 66 - .../net/internal/socket/zsys_linux_ppc64le.go | 66 - .../x/net/internal/socket/zsys_linux_s390x.go | 66 - .../x/net/internal/socket/zsys_netbsd_386.go | 65 - .../net/internal/socket/zsys_netbsd_amd64.go | 68 - .../x/net/internal/socket/zsys_netbsd_arm.go | 65 - .../x/net/internal/socket/zsys_openbsd_386.go | 59 - .../net/internal/socket/zsys_openbsd_amd64.go | 61 - .../x/net/internal/socket/zsys_openbsd_arm.go | 59 - .../net/internal/socket/zsys_solaris_amd64.go | 60 - .../golang.org/x/net/internal/socks/client.go | 168 - .../x/net/internal/socks/dial_test.go | 170 - .../golang.org/x/net/internal/socks/socks.go | 316 - .../x/net/internal/sockstest/server.go | 241 - .../x/net/internal/sockstest/server_test.go | 103 - .../x/net/internal/timeseries/timeseries.go | 525 - .../internal/timeseries/timeseries_test.go | 170 - vendor/golang.org/x/net/ipv4/batch.go | 190 - vendor/golang.org/x/net/ipv4/bpf_test.go | 93 - vendor/golang.org/x/net/ipv4/control.go | 144 - vendor/golang.org/x/net/ipv4/control_bsd.go | 40 - .../golang.org/x/net/ipv4/control_pktinfo.go | 39 - vendor/golang.org/x/net/ipv4/control_stub.go | 13 - vendor/golang.org/x/net/ipv4/control_test.go | 21 - vendor/golang.org/x/net/ipv4/control_unix.go | 73 - .../golang.org/x/net/ipv4/control_windows.go | 16 - vendor/golang.org/x/net/ipv4/defs_darwin.go | 77 - .../golang.org/x/net/ipv4/defs_dragonfly.go | 38 - vendor/golang.org/x/net/ipv4/defs_freebsd.go | 75 - vendor/golang.org/x/net/ipv4/defs_linux.go | 122 - vendor/golang.org/x/net/ipv4/defs_netbsd.go | 37 - vendor/golang.org/x/net/ipv4/defs_openbsd.go | 37 - vendor/golang.org/x/net/ipv4/defs_solaris.go | 84 - vendor/golang.org/x/net/ipv4/dgramopt.go | 264 - vendor/golang.org/x/net/ipv4/doc.go | 244 - vendor/golang.org/x/net/ipv4/endpoint.go | 186 - vendor/golang.org/x/net/ipv4/example_test.go | 224 - vendor/golang.org/x/net/ipv4/gen.go | 199 - vendor/golang.org/x/net/ipv4/genericopt.go | 55 - vendor/golang.org/x/net/ipv4/header.go | 158 - vendor/golang.org/x/net/ipv4/header_test.go | 228 - vendor/golang.org/x/net/ipv4/helper.go | 64 - vendor/golang.org/x/net/ipv4/iana.go | 38 - vendor/golang.org/x/net/ipv4/icmp.go | 57 - vendor/golang.org/x/net/ipv4/icmp_linux.go | 25 - vendor/golang.org/x/net/ipv4/icmp_stub.go | 25 - vendor/golang.org/x/net/ipv4/icmp_test.go | 95 - .../golang.org/x/net/ipv4/multicast_test.go | 334 - .../x/net/ipv4/multicastlistener_test.go | 265 - .../x/net/ipv4/multicastsockopt_test.go | 195 - vendor/golang.org/x/net/ipv4/packet.go | 68 - vendor/golang.org/x/net/ipv4/packet_go1_8.go | 56 - vendor/golang.org/x/net/ipv4/packet_go1_9.go | 67 - vendor/golang.org/x/net/ipv4/payload.go | 23 - vendor/golang.org/x/net/ipv4/payload_cmsg.go | 33 - .../x/net/ipv4/payload_cmsg_go1_8.go | 59 - .../x/net/ipv4/payload_cmsg_go1_9.go | 67 - .../golang.org/x/net/ipv4/payload_nocmsg.go | 39 - .../x/net/ipv4/readwrite_go1_8_test.go | 248 - .../x/net/ipv4/readwrite_go1_9_test.go | 388 - .../golang.org/x/net/ipv4/readwrite_test.go | 140 - vendor/golang.org/x/net/ipv4/sockopt.go | 44 - vendor/golang.org/x/net/ipv4/sockopt_posix.go | 71 - vendor/golang.org/x/net/ipv4/sockopt_stub.go | 42 - vendor/golang.org/x/net/ipv4/sys_asmreq.go | 119 - .../golang.org/x/net/ipv4/sys_asmreq_stub.go | 25 - vendor/golang.org/x/net/ipv4/sys_asmreqn.go | 42 - .../golang.org/x/net/ipv4/sys_asmreqn_stub.go | 21 - vendor/golang.org/x/net/ipv4/sys_bpf.go | 23 - vendor/golang.org/x/net/ipv4/sys_bpf_stub.go | 16 - vendor/golang.org/x/net/ipv4/sys_bsd.go | 37 - vendor/golang.org/x/net/ipv4/sys_darwin.go | 93 - vendor/golang.org/x/net/ipv4/sys_dragonfly.go | 35 - vendor/golang.org/x/net/ipv4/sys_freebsd.go | 76 - vendor/golang.org/x/net/ipv4/sys_linux.go | 59 - vendor/golang.org/x/net/ipv4/sys_solaris.go | 57 - vendor/golang.org/x/net/ipv4/sys_ssmreq.go | 54 - .../golang.org/x/net/ipv4/sys_ssmreq_stub.go | 21 - vendor/golang.org/x/net/ipv4/sys_stub.go | 13 - vendor/golang.org/x/net/ipv4/sys_windows.go | 67 - vendor/golang.org/x/net/ipv4/unicast_test.go | 247 - .../x/net/ipv4/unicastsockopt_test.go | 148 - vendor/golang.org/x/net/ipv4/zsys_darwin.go | 99 - .../golang.org/x/net/ipv4/zsys_dragonfly.go | 31 - .../golang.org/x/net/ipv4/zsys_freebsd_386.go | 93 - .../x/net/ipv4/zsys_freebsd_amd64.go | 95 - .../golang.org/x/net/ipv4/zsys_freebsd_arm.go | 95 - .../golang.org/x/net/ipv4/zsys_linux_386.go | 148 - .../golang.org/x/net/ipv4/zsys_linux_amd64.go | 150 - .../golang.org/x/net/ipv4/zsys_linux_arm.go | 148 - .../golang.org/x/net/ipv4/zsys_linux_arm64.go | 150 - .../golang.org/x/net/ipv4/zsys_linux_mips.go | 148 - .../x/net/ipv4/zsys_linux_mips64.go | 150 - .../x/net/ipv4/zsys_linux_mips64le.go | 150 - .../x/net/ipv4/zsys_linux_mipsle.go | 148 - .../golang.org/x/net/ipv4/zsys_linux_ppc.go | 148 - .../golang.org/x/net/ipv4/zsys_linux_ppc64.go | 150 - .../x/net/ipv4/zsys_linux_ppc64le.go | 150 - .../golang.org/x/net/ipv4/zsys_linux_s390x.go | 150 - vendor/golang.org/x/net/ipv4/zsys_netbsd.go | 30 - vendor/golang.org/x/net/ipv4/zsys_openbsd.go | 30 - vendor/golang.org/x/net/ipv4/zsys_solaris.go | 100 - vendor/golang.org/x/net/ipv6/batch.go | 118 - vendor/golang.org/x/net/ipv6/bpf_test.go | 96 - vendor/golang.org/x/net/ipv6/control.go | 187 - .../x/net/ipv6/control_rfc2292_unix.go | 48 - .../x/net/ipv6/control_rfc3542_unix.go | 94 - vendor/golang.org/x/net/ipv6/control_stub.go | 13 - vendor/golang.org/x/net/ipv6/control_test.go | 21 - vendor/golang.org/x/net/ipv6/control_unix.go | 55 - .../golang.org/x/net/ipv6/control_windows.go | 16 - vendor/golang.org/x/net/ipv6/defs_darwin.go | 112 - .../golang.org/x/net/ipv6/defs_dragonfly.go | 84 - vendor/golang.org/x/net/ipv6/defs_freebsd.go | 105 - vendor/golang.org/x/net/ipv6/defs_linux.go | 147 - vendor/golang.org/x/net/ipv6/defs_netbsd.go | 80 - vendor/golang.org/x/net/ipv6/defs_openbsd.go | 89 - vendor/golang.org/x/net/ipv6/defs_solaris.go | 114 - vendor/golang.org/x/net/ipv6/dgramopt.go | 301 - vendor/golang.org/x/net/ipv6/doc.go | 243 - vendor/golang.org/x/net/ipv6/endpoint.go | 127 - vendor/golang.org/x/net/ipv6/example_test.go | 216 - vendor/golang.org/x/net/ipv6/gen.go | 199 - vendor/golang.org/x/net/ipv6/genericopt.go | 56 - vendor/golang.org/x/net/ipv6/header.go | 55 - vendor/golang.org/x/net/ipv6/header_test.go | 55 - vendor/golang.org/x/net/ipv6/helper.go | 58 - vendor/golang.org/x/net/ipv6/iana.go | 86 - vendor/golang.org/x/net/ipv6/icmp.go | 60 - vendor/golang.org/x/net/ipv6/icmp_bsd.go | 29 - vendor/golang.org/x/net/ipv6/icmp_linux.go | 27 - vendor/golang.org/x/net/ipv6/icmp_solaris.go | 27 - vendor/golang.org/x/net/ipv6/icmp_stub.go | 23 - vendor/golang.org/x/net/ipv6/icmp_test.go | 96 - vendor/golang.org/x/net/ipv6/icmp_windows.go | 22 - .../x/net/ipv6/mocktransponder_test.go | 32 - .../golang.org/x/net/ipv6/multicast_test.go | 264 - .../x/net/ipv6/multicastlistener_test.go | 261 - .../x/net/ipv6/multicastsockopt_test.go | 157 - vendor/golang.org/x/net/ipv6/payload.go | 23 - vendor/golang.org/x/net/ipv6/payload_cmsg.go | 32 - .../x/net/ipv6/payload_cmsg_go1_8.go | 55 - .../x/net/ipv6/payload_cmsg_go1_9.go | 57 - .../golang.org/x/net/ipv6/payload_nocmsg.go | 38 - .../x/net/ipv6/readwrite_go1_8_test.go | 242 - .../x/net/ipv6/readwrite_go1_9_test.go | 373 - .../golang.org/x/net/ipv6/readwrite_test.go | 148 - vendor/golang.org/x/net/ipv6/sockopt.go | 43 - vendor/golang.org/x/net/ipv6/sockopt_posix.go | 87 - vendor/golang.org/x/net/ipv6/sockopt_stub.go | 46 - vendor/golang.org/x/net/ipv6/sockopt_test.go | 133 - vendor/golang.org/x/net/ipv6/sys_asmreq.go | 24 - .../golang.org/x/net/ipv6/sys_asmreq_stub.go | 17 - vendor/golang.org/x/net/ipv6/sys_bpf.go | 23 - vendor/golang.org/x/net/ipv6/sys_bpf_stub.go | 16 - vendor/golang.org/x/net/ipv6/sys_bsd.go | 57 - vendor/golang.org/x/net/ipv6/sys_darwin.go | 106 - vendor/golang.org/x/net/ipv6/sys_freebsd.go | 92 - vendor/golang.org/x/net/ipv6/sys_linux.go | 74 - vendor/golang.org/x/net/ipv6/sys_solaris.go | 74 - vendor/golang.org/x/net/ipv6/sys_ssmreq.go | 54 - .../golang.org/x/net/ipv6/sys_ssmreq_stub.go | 21 - vendor/golang.org/x/net/ipv6/sys_stub.go | 13 - vendor/golang.org/x/net/ipv6/sys_windows.go | 75 - vendor/golang.org/x/net/ipv6/unicast_test.go | 184 - .../x/net/ipv6/unicastsockopt_test.go | 120 - vendor/golang.org/x/net/ipv6/zsys_darwin.go | 131 - .../golang.org/x/net/ipv6/zsys_dragonfly.go | 88 - .../golang.org/x/net/ipv6/zsys_freebsd_386.go | 122 - .../x/net/ipv6/zsys_freebsd_amd64.go | 124 - .../golang.org/x/net/ipv6/zsys_freebsd_arm.go | 124 - .../golang.org/x/net/ipv6/zsys_linux_386.go | 170 - .../golang.org/x/net/ipv6/zsys_linux_amd64.go | 172 - .../golang.org/x/net/ipv6/zsys_linux_arm.go | 170 - .../golang.org/x/net/ipv6/zsys_linux_arm64.go | 172 - .../golang.org/x/net/ipv6/zsys_linux_mips.go | 170 - .../x/net/ipv6/zsys_linux_mips64.go | 172 - .../x/net/ipv6/zsys_linux_mips64le.go | 172 - .../x/net/ipv6/zsys_linux_mipsle.go | 170 - .../golang.org/x/net/ipv6/zsys_linux_ppc.go | 170 - .../golang.org/x/net/ipv6/zsys_linux_ppc64.go | 172 - .../x/net/ipv6/zsys_linux_ppc64le.go | 172 - .../golang.org/x/net/ipv6/zsys_linux_s390x.go | 172 - vendor/golang.org/x/net/ipv6/zsys_netbsd.go | 84 - vendor/golang.org/x/net/ipv6/zsys_openbsd.go | 93 - vendor/golang.org/x/net/ipv6/zsys_solaris.go | 131 - vendor/golang.org/x/net/lif/address.go | 105 - vendor/golang.org/x/net/lif/address_test.go | 123 - vendor/golang.org/x/net/lif/binary.go | 115 - vendor/golang.org/x/net/lif/defs_solaris.go | 90 - vendor/golang.org/x/net/lif/lif.go | 43 - vendor/golang.org/x/net/lif/link.go | 126 - vendor/golang.org/x/net/lif/link_test.go | 63 - vendor/golang.org/x/net/lif/sys.go | 21 - .../golang.org/x/net/lif/sys_solaris_amd64.s | 8 - vendor/golang.org/x/net/lif/syscall.go | 28 - .../x/net/lif/zsys_solaris_amd64.go | 103 - vendor/golang.org/x/net/nettest/conntest.go | 456 - .../golang.org/x/net/nettest/conntest_go16.go | 24 - .../golang.org/x/net/nettest/conntest_go17.go | 24 - .../golang.org/x/net/nettest/conntest_test.go | 76 - vendor/golang.org/x/net/netutil/listen.go | 74 - .../golang.org/x/net/netutil/listen_test.go | 147 - vendor/golang.org/x/net/proxy/direct.go | 18 - vendor/golang.org/x/net/proxy/per_host.go | 140 - .../golang.org/x/net/proxy/per_host_test.go | 55 - vendor/golang.org/x/net/proxy/proxy.go | 134 - vendor/golang.org/x/net/proxy/proxy_test.go | 123 - vendor/golang.org/x/net/proxy/socks5.go | 36 - vendor/golang.org/x/net/publicsuffix/gen.go | 713 - vendor/golang.org/x/net/publicsuffix/list.go | 135 - .../x/net/publicsuffix/list_test.go | 416 - vendor/golang.org/x/net/publicsuffix/table.go | 9745 -- .../x/net/publicsuffix/table_test.go | 17308 ---- vendor/golang.org/x/net/route/address.go | 425 - .../x/net/route/address_darwin_test.go | 63 - vendor/golang.org/x/net/route/address_test.go | 103 - vendor/golang.org/x/net/route/binary.go | 90 - vendor/golang.org/x/net/route/defs_darwin.go | 114 - .../golang.org/x/net/route/defs_dragonfly.go | 113 - vendor/golang.org/x/net/route/defs_freebsd.go | 337 - vendor/golang.org/x/net/route/defs_netbsd.go | 112 - vendor/golang.org/x/net/route/defs_openbsd.go | 116 - vendor/golang.org/x/net/route/interface.go | 64 - .../x/net/route/interface_announce.go | 32 - .../x/net/route/interface_classic.go | 66 - .../x/net/route/interface_freebsd.go | 78 - .../x/net/route/interface_multicast.go | 30 - .../x/net/route/interface_openbsd.go | 90 - vendor/golang.org/x/net/route/message.go | 72 - .../x/net/route/message_darwin_test.go | 34 - .../x/net/route/message_freebsd_test.go | 92 - vendor/golang.org/x/net/route/message_test.go | 239 - vendor/golang.org/x/net/route/route.go | 123 - .../golang.org/x/net/route/route_classic.go | 75 - .../golang.org/x/net/route/route_openbsd.go | 65 - vendor/golang.org/x/net/route/route_test.go | 390 - vendor/golang.org/x/net/route/sys.go | 39 - vendor/golang.org/x/net/route/sys_darwin.go | 87 - .../golang.org/x/net/route/sys_dragonfly.go | 76 - vendor/golang.org/x/net/route/sys_freebsd.go | 155 - vendor/golang.org/x/net/route/sys_netbsd.go | 71 - vendor/golang.org/x/net/route/sys_openbsd.go | 80 - vendor/golang.org/x/net/route/syscall.go | 28 - vendor/golang.org/x/net/route/zsys_darwin.go | 99 - .../golang.org/x/net/route/zsys_dragonfly.go | 98 - .../x/net/route/zsys_freebsd_386.go | 126 - .../x/net/route/zsys_freebsd_amd64.go | 123 - .../x/net/route/zsys_freebsd_arm.go | 123 - vendor/golang.org/x/net/route/zsys_netbsd.go | 97 - vendor/golang.org/x/net/route/zsys_openbsd.go | 101 - vendor/golang.org/x/net/trace/events.go | 532 - vendor/golang.org/x/net/trace/histogram.go | 365 - .../golang.org/x/net/trace/histogram_test.go | 325 - vendor/golang.org/x/net/trace/trace.go | 1103 - vendor/golang.org/x/net/trace/trace_go16.go | 21 - vendor/golang.org/x/net/trace/trace_go17.go | 21 - vendor/golang.org/x/net/trace/trace_test.go | 178 - vendor/golang.org/x/net/webdav/file.go | 796 - vendor/golang.org/x/net/webdav/file_go1.6.go | 17 - vendor/golang.org/x/net/webdav/file_go1.7.go | 16 - vendor/golang.org/x/net/webdav/file_test.go | 1184 - vendor/golang.org/x/net/webdav/if.go | 173 - vendor/golang.org/x/net/webdav/if_test.go | 322 - .../x/net/webdav/internal/xml/README | 11 - .../x/net/webdav/internal/xml/atom_test.go | 56 - .../x/net/webdav/internal/xml/example_test.go | 151 - .../x/net/webdav/internal/xml/marshal.go | 1223 - .../x/net/webdav/internal/xml/marshal_test.go | 1939 - .../x/net/webdav/internal/xml/read.go | 692 - .../x/net/webdav/internal/xml/read_test.go | 744 - .../x/net/webdav/internal/xml/typeinfo.go | 371 - .../x/net/webdav/internal/xml/xml.go | 1998 - .../x/net/webdav/internal/xml/xml_test.go | 752 - .../x/net/webdav/litmus_test_server.go | 94 - vendor/golang.org/x/net/webdav/lock.go | 445 - vendor/golang.org/x/net/webdav/lock_test.go | 731 - vendor/golang.org/x/net/webdav/prop.go | 470 - vendor/golang.org/x/net/webdav/prop_test.go | 717 - vendor/golang.org/x/net/webdav/webdav.go | 702 - vendor/golang.org/x/net/webdav/webdav_test.go | 344 - vendor/golang.org/x/net/webdav/xml.go | 519 - vendor/golang.org/x/net/webdav/xml_test.go | 906 - vendor/golang.org/x/net/websocket/client.go | 106 - vendor/golang.org/x/net/websocket/dial.go | 24 - .../golang.org/x/net/websocket/dial_test.go | 43 - .../x/net/websocket/exampledial_test.go | 31 - .../x/net/websocket/examplehandler_test.go | 26 - vendor/golang.org/x/net/websocket/hybi.go | 583 - .../golang.org/x/net/websocket/hybi_test.go | 608 - vendor/golang.org/x/net/websocket/server.go | 113 - .../golang.org/x/net/websocket/websocket.go | 451 - .../x/net/websocket/websocket_test.go | 665 - vendor/golang.org/x/net/xsrftoken/xsrf.go | 94 - .../golang.org/x/net/xsrftoken/xsrf_test.go | 83 - vendor/golang.org/x/oauth2/amazon/amazon.go | 16 - .../x/oauth2/bitbucket/bitbucket.go | 16 - vendor/golang.org/x/oauth2/cern/cern.go | 16 - .../clientcredentials/clientcredentials.go | 109 - .../clientcredentials_test.go | 97 - vendor/golang.org/x/oauth2/example_test.go | 89 - .../golang.org/x/oauth2/facebook/facebook.go | 16 - vendor/golang.org/x/oauth2/fitbit/fitbit.go | 16 - .../x/oauth2/foursquare/foursquare.go | 16 - vendor/golang.org/x/oauth2/github/github.go | 16 - vendor/golang.org/x/oauth2/gitlab/gitlab.go | 16 - .../golang.org/x/oauth2/google/appengine.go | 89 - .../x/oauth2/google/appengine_hook.go | 14 - .../x/oauth2/google/appengineflex_hook.go | 11 - vendor/golang.org/x/oauth2/google/default.go | 115 - vendor/golang.org/x/oauth2/google/doc_go19.go | 42 - .../x/oauth2/google/doc_not_go19.go | 43 - .../x/oauth2/google/example_test.go | 162 - vendor/golang.org/x/oauth2/google/go19.go | 57 - vendor/golang.org/x/oauth2/google/google.go | 192 - .../golang.org/x/oauth2/google/google_test.go | 116 - vendor/golang.org/x/oauth2/google/jwt.go | 74 - vendor/golang.org/x/oauth2/google/jwt_test.go | 91 - vendor/golang.org/x/oauth2/google/not_go19.go | 54 - vendor/golang.org/x/oauth2/google/sdk.go | 201 - vendor/golang.org/x/oauth2/google/sdk_test.go | 107 - .../oauth2/google/testdata/gcloud/credentials | 122 - .../oauth2/google/testdata/gcloud/properties | 2 - vendor/golang.org/x/oauth2/heroku/heroku.go | 16 - vendor/golang.org/x/oauth2/hipchat/hipchat.go | 60 - vendor/golang.org/x/oauth2/internal/token.go | 2 + .../x/oauth2/internal/token_test.go | 112 - vendor/golang.org/x/oauth2/jira/jira.go | 167 - vendor/golang.org/x/oauth2/jira/jira_test.go | 185 - vendor/golang.org/x/oauth2/jws/jws.go | 182 - vendor/golang.org/x/oauth2/jws/jws_test.go | 46 - .../golang.org/x/oauth2/jwt/example_test.go | 33 - vendor/golang.org/x/oauth2/jwt/jwt.go | 162 - vendor/golang.org/x/oauth2/jwt/jwt_test.go | 221 - vendor/golang.org/x/oauth2/kakao/kakao.go | 16 - .../golang.org/x/oauth2/linkedin/linkedin.go | 16 - .../x/oauth2/mailchimp/mailchimp.go | 17 - vendor/golang.org/x/oauth2/mailru/mailru.go | 16 - .../x/oauth2/mediamath/mediamath.go | 22 - .../x/oauth2/microsoft/microsoft.go | 31 - vendor/golang.org/x/oauth2/oauth2_test.go | 551 - .../x/oauth2/odnoklassniki/odnoklassniki.go | 16 - vendor/golang.org/x/oauth2/paypal/paypal.go | 22 - vendor/golang.org/x/oauth2/slack/slack.go | 16 - vendor/golang.org/x/oauth2/spotify/spotify.go | 16 - .../x/oauth2/stackoverflow/stackoverflow.go | 16 - vendor/golang.org/x/oauth2/token_test.go | 72 - vendor/golang.org/x/oauth2/transport_test.go | 168 - vendor/golang.org/x/oauth2/twitch/twitch.go | 19 - vendor/golang.org/x/oauth2/uber/uber.go | 16 - vendor/golang.org/x/oauth2/vk/vk.go | 16 - vendor/golang.org/x/oauth2/yahoo/yahoo.go | 17 - vendor/golang.org/x/oauth2/yandex/yandex.go | 16 - vendor/golang.org/x/sys/.gitattributes | 10 - vendor/golang.org/x/sys/.gitignore | 2 - vendor/golang.org/x/sys/CONTRIBUTING.md | 26 - vendor/golang.org/x/sys/README.md | 18 - vendor/golang.org/x/sys/codereview.cfg | 1 - vendor/golang.org/x/sys/cpu/cpu.go | 38 - vendor/golang.org/x/sys/cpu/cpu_arm.go | 7 - vendor/golang.org/x/sys/cpu/cpu_arm64.go | 7 - vendor/golang.org/x/sys/cpu/cpu_gc_x86.go | 16 - vendor/golang.org/x/sys/cpu/cpu_gccgo.c | 43 - vendor/golang.org/x/sys/cpu/cpu_gccgo.go | 26 - vendor/golang.org/x/sys/cpu/cpu_mips64x.go | 9 - vendor/golang.org/x/sys/cpu/cpu_mipsx.go | 9 - vendor/golang.org/x/sys/cpu/cpu_s390x.go | 7 - vendor/golang.org/x/sys/cpu/cpu_test.go | 28 - vendor/golang.org/x/sys/cpu/cpu_x86.go | 55 - vendor/golang.org/x/sys/cpu/cpu_x86.s | 27 - vendor/golang.org/x/sys/plan9/asm.s | 8 - vendor/golang.org/x/sys/plan9/asm_plan9_386.s | 30 - .../golang.org/x/sys/plan9/asm_plan9_amd64.s | 30 - vendor/golang.org/x/sys/plan9/asm_plan9_arm.s | 25 - vendor/golang.org/x/sys/plan9/const_plan9.go | 70 - vendor/golang.org/x/sys/plan9/dir_plan9.go | 212 - vendor/golang.org/x/sys/plan9/env_plan9.go | 31 - vendor/golang.org/x/sys/plan9/errors_plan9.go | 50 - vendor/golang.org/x/sys/plan9/mkall.sh | 138 - vendor/golang.org/x/sys/plan9/mkerrors.sh | 246 - vendor/golang.org/x/sys/plan9/mksyscall.pl | 319 - .../golang.org/x/sys/plan9/mksysnum_plan9.sh | 23 - .../golang.org/x/sys/plan9/pwd_go15_plan9.go | 21 - vendor/golang.org/x/sys/plan9/pwd_plan9.go | 23 - vendor/golang.org/x/sys/plan9/race.go | 30 - vendor/golang.org/x/sys/plan9/race0.go | 25 - vendor/golang.org/x/sys/plan9/str.go | 22 - vendor/golang.org/x/sys/plan9/syscall.go | 77 - .../golang.org/x/sys/plan9/syscall_plan9.go | 349 - vendor/golang.org/x/sys/plan9/syscall_test.go | 33 - .../x/sys/plan9/zsyscall_plan9_386.go | 292 - .../x/sys/plan9/zsyscall_plan9_amd64.go | 292 - .../x/sys/plan9/zsyscall_plan9_arm.go | 284 - .../golang.org/x/sys/plan9/zsysnum_plan9.go | 49 - .../sys/unix/{example_test.go => aliases.go} | 17 +- vendor/golang.org/x/sys/unix/creds_test.go | 134 - .../golang.org/x/sys/unix/dev_linux_test.go | 56 - vendor/golang.org/x/sys/unix/export_test.go | 9 - vendor/golang.org/x/sys/unix/ioctl.go | 30 + vendor/golang.org/x/sys/unix/linux/Dockerfile | 52 - vendor/golang.org/x/sys/unix/linux/mkall.go | 750 - .../golang.org/x/sys/unix/linux/mksysnum.pl | 85 - vendor/golang.org/x/sys/unix/linux/types.go | 1508 - vendor/golang.org/x/sys/unix/mkall.sh | 0 vendor/golang.org/x/sys/unix/mkerrors.sh | 16 +- vendor/golang.org/x/sys/unix/mksyscall.pl | 0 .../x/sys/unix/mksyscall_solaris.pl | 0 .../golang.org/x/sys/unix/mksysctl_openbsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_darwin.pl | 0 .../x/sys/unix/mksysnum_dragonfly.pl | 0 .../golang.org/x/sys/unix/mksysnum_freebsd.pl | 2 +- .../golang.org/x/sys/unix/mksysnum_netbsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_openbsd.pl | 0 .../golang.org/x/sys/unix/mmap_unix_test.go | 35 - .../golang.org/x/sys/unix/openbsd_pledge.go | 75 +- vendor/golang.org/x/sys/unix/openbsd_test.go | 113 - vendor/golang.org/x/sys/unix/syscall_bsd.go | 8 +- .../golang.org/x/sys/unix/syscall_bsd_test.go | 93 - .../golang.org/x/sys/unix/syscall_darwin.go | 36 +- .../x/sys/unix/syscall_darwin_test.go | 19 - .../x/sys/unix/syscall_dragonfly.go | 6 +- .../golang.org/x/sys/unix/syscall_freebsd.go | 249 +- .../x/sys/unix/syscall_freebsd_test.go | 312 - vendor/golang.org/x/sys/unix/syscall_linux.go | 154 +- .../x/sys/unix/syscall_linux_mipsx.go | 7 +- .../x/sys/unix/syscall_linux_test.go | 421 - .../golang.org/x/sys/unix/syscall_netbsd.go | 16 +- .../golang.org/x/sys/unix/syscall_openbsd.go | 4 +- .../golang.org/x/sys/unix/syscall_solaris.go | 12 +- .../x/sys/unix/syscall_solaris_test.go | 55 - vendor/golang.org/x/sys/unix/syscall_test.go | 60 - vendor/golang.org/x/sys/unix/syscall_unix.go | 4 +- .../x/sys/unix/syscall_unix_test.go | 657 - .../golang.org/x/sys/unix/timestruct_test.go | 54 - .../golang.org/x/sys/unix/types_dragonfly.go | 17 - vendor/golang.org/x/sys/unix/types_freebsd.go | 17 - vendor/golang.org/x/sys/unix/types_openbsd.go | 17 - vendor/golang.org/x/sys/unix/types_solaris.go | 17 - vendor/golang.org/x/sys/unix/xattr_bsd.go | 231 + vendor/golang.org/x/sys/unix/xattr_test.go | 119 - .../x/sys/unix/zerrors_dragonfly_amd64.go | 32 +- .../x/sys/unix/zerrors_freebsd_386.go | 29 + .../x/sys/unix/zerrors_freebsd_amd64.go | 29 + .../x/sys/unix/zerrors_freebsd_arm.go | 29 + .../x/sys/unix/zerrors_linux_386.go | 37 +- .../x/sys/unix/zerrors_linux_amd64.go | 37 +- .../x/sys/unix/zerrors_linux_arm.go | 37 +- .../x/sys/unix/zerrors_linux_arm64.go | 37 +- .../x/sys/unix/zerrors_linux_mips.go | 36 +- .../x/sys/unix/zerrors_linux_mips64.go | 36 +- .../x/sys/unix/zerrors_linux_mips64le.go | 36 +- .../x/sys/unix/zerrors_linux_mipsle.go | 36 +- .../x/sys/unix/zerrors_linux_ppc64.go | 36 +- .../x/sys/unix/zerrors_linux_ppc64le.go | 36 +- .../x/sys/unix/zerrors_linux_s390x.go | 37 +- .../x/sys/unix/zerrors_netbsd_386.go | 4 + .../x/sys/unix/zerrors_netbsd_amd64.go | 4 + .../x/sys/unix/zerrors_netbsd_arm.go | 4 + .../x/sys/unix/zerrors_openbsd_386.go | 28 + .../x/sys/unix/zerrors_openbsd_amd64.go | 29 + .../x/sys/unix/zerrors_openbsd_arm.go | 28 + .../x/sys/unix/zerrors_solaris_amd64.go | 35 + .../x/sys/unix/zsyscall_darwin_386.go | 57 + .../x/sys/unix/zsyscall_darwin_amd64.go | 57 + .../x/sys/unix/zsyscall_darwin_arm.go | 57 + .../x/sys/unix/zsyscall_darwin_arm64.go | 57 + .../x/sys/unix/zsyscall_freebsd_386.go | 6 +- .../x/sys/unix/zsyscall_freebsd_amd64.go | 6 +- .../x/sys/unix/zsyscall_freebsd_arm.go | 6 +- .../x/sys/unix/zsyscall_linux_386.go | 95 + .../x/sys/unix/zsyscall_linux_amd64.go | 95 + .../x/sys/unix/zsyscall_linux_arm.go | 95 + .../x/sys/unix/zsyscall_linux_arm64.go | 95 + .../x/sys/unix/zsyscall_linux_mips.go | 107 + .../x/sys/unix/zsyscall_linux_mips64.go | 95 + .../x/sys/unix/zsyscall_linux_mips64le.go | 95 + .../x/sys/unix/zsyscall_linux_mipsle.go | 107 + .../x/sys/unix/zsyscall_linux_ppc64.go | 95 + .../x/sys/unix/zsyscall_linux_ppc64le.go | 95 + .../x/sys/unix/zsyscall_linux_s390x.go | 95 + .../x/sys/unix/zsyscall_netbsd_386.go | 214 + .../x/sys/unix/zsyscall_netbsd_amd64.go | 214 + .../x/sys/unix/zsyscall_netbsd_arm.go | 214 + .../x/sys/unix/zsysnum_freebsd_386.go | 736 +- .../x/sys/unix/zsysnum_freebsd_amd64.go | 736 +- .../x/sys/unix/zsysnum_freebsd_arm.go | 736 +- .../x/sys/unix/zsysnum_linux_386.go | 2 + .../x/sys/unix/zsysnum_linux_amd64.go | 2 + .../x/sys/unix/zsysnum_linux_arm.go | 1 + .../x/sys/unix/zsysnum_linux_arm64.go | 1 + .../x/sys/unix/zsysnum_linux_mips.go | 2 + .../x/sys/unix/zsysnum_linux_mips64.go | 2 + .../x/sys/unix/zsysnum_linux_mips64le.go | 2 + .../x/sys/unix/zsysnum_linux_mipsle.go | 2 + .../x/sys/unix/zsysnum_linux_ppc64.go | 2 + .../x/sys/unix/zsysnum_linux_ppc64le.go | 2 + .../x/sys/unix/zsysnum_linux_s390x.go | 2 + .../x/sys/unix/zsysnum_openbsd_amd64.go | 1 + .../x/sys/unix/ztypes_dragonfly_amd64.go | 17 - .../x/sys/unix/ztypes_freebsd_386.go | 17 - .../x/sys/unix/ztypes_freebsd_amd64.go | 17 - .../x/sys/unix/ztypes_freebsd_arm.go | 17 - .../golang.org/x/sys/unix/ztypes_linux_386.go | 38 + .../x/sys/unix/ztypes_linux_amd64.go | 40 + .../golang.org/x/sys/unix/ztypes_linux_arm.go | 39 + .../x/sys/unix/ztypes_linux_arm64.go | 40 + .../x/sys/unix/ztypes_linux_mips.go | 39 + .../x/sys/unix/ztypes_linux_mips64.go | 40 + .../x/sys/unix/ztypes_linux_mips64le.go | 40 + .../x/sys/unix/ztypes_linux_mipsle.go | 39 + .../x/sys/unix/ztypes_linux_ppc64.go | 40 + .../x/sys/unix/ztypes_linux_ppc64le.go | 40 + .../x/sys/unix/ztypes_linux_s390x.go | 40 + .../x/sys/unix/ztypes_openbsd_386.go | 17 - .../x/sys/unix/ztypes_openbsd_amd64.go | 17 - .../x/sys/unix/ztypes_openbsd_arm.go | 17 - .../x/sys/unix/ztypes_solaris_amd64.go | 17 - .../{cpu/cpu_ppc64x.go => windows/aliases.go} | 10 +- .../x/sys/windows/registry/export_test.go | 11 - .../golang.org/x/sys/windows/registry/key.go | 198 - .../x/sys/windows/registry/mksyscall.go | 7 - .../x/sys/windows/registry/registry_test.go | 756 - .../x/sys/windows/registry/syscall.go | 32 - .../x/sys/windows/registry/value.go | 384 - .../sys/windows/registry/zsyscall_windows.go | 120 - .../golang.org/x/sys/windows/svc/debug/log.go | 56 - .../x/sys/windows/svc/debug/service.go | 45 - vendor/golang.org/x/sys/windows/svc/event.go | 48 - .../x/sys/windows/svc/eventlog/install.go | 80 - .../x/sys/windows/svc/eventlog/log.go | 70 - .../x/sys/windows/svc/eventlog/log_test.go | 51 - .../x/sys/windows/svc/example/beep.go | 22 - .../x/sys/windows/svc/example/install.go | 92 - .../x/sys/windows/svc/example/main.go | 76 - .../x/sys/windows/svc/example/manage.go | 62 - .../x/sys/windows/svc/example/service.go | 84 - vendor/golang.org/x/sys/windows/svc/go12.c | 24 - vendor/golang.org/x/sys/windows/svc/go12.go | 11 - vendor/golang.org/x/sys/windows/svc/go13.go | 31 - .../x/sys/windows/svc/mgr/config.go | 145 - .../golang.org/x/sys/windows/svc/mgr/mgr.go | 162 - .../x/sys/windows/svc/mgr/mgr_test.go | 250 - .../x/sys/windows/svc/mgr/recovery.go | 96 - .../x/sys/windows/svc/mgr/service.go | 72 - .../golang.org/x/sys/windows/svc/security.go | 62 - .../golang.org/x/sys/windows/svc/service.go | 363 - .../golang.org/x/sys/windows/svc/svc_test.go | 135 - vendor/golang.org/x/sys/windows/svc/sys_386.s | 68 - .../golang.org/x/sys/windows/svc/sys_amd64.s | 42 - .../golang.org/x/sys/windows/syscall_test.go | 53 - .../x/sys/windows/syscall_windows.go | 2 + .../x/sys/windows/syscall_windows_test.go | 113 - .../golang.org/x/sys/windows/types_windows.go | 107 +- vendor/golang.org/x/text/.gitattributes | 10 - vendor/golang.org/x/text/.gitignore | 6 - vendor/golang.org/x/text/CONTRIBUTING.md | 31 - vendor/golang.org/x/text/README.md | 93 - vendor/golang.org/x/text/cases/cases.go | 162 - vendor/golang.org/x/text/cases/context.go | 376 - .../golang.org/x/text/cases/context_test.go | 438 - .../golang.org/x/text/cases/example_test.go | 53 - vendor/golang.org/x/text/cases/fold.go | 34 - vendor/golang.org/x/text/cases/fold_test.go | 51 - vendor/golang.org/x/text/cases/gen.go | 839 - vendor/golang.org/x/text/cases/gen_trieval.go | 219 - vendor/golang.org/x/text/cases/icu.go | 61 - vendor/golang.org/x/text/cases/icu_test.go | 210 - vendor/golang.org/x/text/cases/info.go | 82 - vendor/golang.org/x/text/cases/map.go | 816 - vendor/golang.org/x/text/cases/map_test.go | 950 - .../golang.org/x/text/cases/tables10.0.0.go | 2253 - .../x/text/cases/tables10.0.0_test.go | 1160 - vendor/golang.org/x/text/cases/tables9.0.0.go | 2213 - .../x/text/cases/tables9.0.0_test.go | 1156 - vendor/golang.org/x/text/cases/trieval.go | 215 - vendor/golang.org/x/text/cmd/gotext/common.go | 46 - vendor/golang.org/x/text/cmd/gotext/doc.go | 53 - .../cmd/gotext/examples/extract/catalog.go | 76 - .../extract/locales/de/messages.gotext.json | 186 - .../extract/locales/de/out.gotext.json | 206 - .../locales/en-US/messages.gotext.json | 82 - .../extract/locales/en-US/out.gotext.json | 206 - .../extract/locales/extracted.gotext.json | 206 - .../extract/locales/zh/messages.gotext.json | 203 - .../extract/locales/zh/out.gotext.json | 206 - .../text/cmd/gotext/examples/extract/main.go | 87 - .../extract_http/locales/de/out.gotext.json | 39 - .../locales/en-US/out.gotext.json | 39 - .../locales/extracted.gotext.json | 39 - .../extract_http/locales/zh/out.gotext.json | 39 - .../cmd/gotext/examples/extract_http/main.go | 17 - .../gotext/examples/extract_http/pkg/pkg.go | 25 - .../text/cmd/gotext/examples/rewrite/main.go | 37 - .../cmd/gotext/examples/rewrite/printer.go | 16 - .../golang.org/x/text/cmd/gotext/extract.go | 81 - .../golang.org/x/text/cmd/gotext/generate.go | 104 - vendor/golang.org/x/text/cmd/gotext/main.go | 352 - .../golang.org/x/text/cmd/gotext/rewrite.go | 55 - vendor/golang.org/x/text/codereview.cfg | 1 - .../x/text/collate/build/builder.go | 702 - .../x/text/collate/build/builder_test.go | 290 - .../x/text/collate/build/colelem.go | 294 - .../x/text/collate/build/colelem_test.go | 215 - .../x/text/collate/build/contract.go | 309 - .../x/text/collate/build/contract_test.go | 266 - .../golang.org/x/text/collate/build/order.go | 393 - .../x/text/collate/build/order_test.go | 229 - .../golang.org/x/text/collate/build/table.go | 81 - .../golang.org/x/text/collate/build/trie.go | 290 - .../x/text/collate/build/trie_test.go | 107 - vendor/golang.org/x/text/collate/collate.go | 403 - .../golang.org/x/text/collate/collate_test.go | 482 - .../golang.org/x/text/collate/export_test.go | 51 - vendor/golang.org/x/text/collate/index.go | 32 - .../golang.org/x/text/collate/maketables.go | 553 - vendor/golang.org/x/text/collate/option.go | 239 - .../golang.org/x/text/collate/option_test.go | 209 - vendor/golang.org/x/text/collate/reg_test.go | 230 - vendor/golang.org/x/text/collate/sort.go | 81 - vendor/golang.org/x/text/collate/sort_test.go | 55 - .../golang.org/x/text/collate/table_test.go | 291 - vendor/golang.org/x/text/collate/tables.go | 73789 ---------------- .../x/text/collate/tools/colcmp/Makefile | 7 - .../x/text/collate/tools/colcmp/chars.go | 1156 - .../x/text/collate/tools/colcmp/col.go | 97 - .../x/text/collate/tools/colcmp/colcmp.go | 529 - .../x/text/collate/tools/colcmp/darwin.go | 111 - .../x/text/collate/tools/colcmp/gen.go | 183 - .../x/text/collate/tools/colcmp/icu.go | 209 - vendor/golang.org/x/text/currency/common.go | 67 - vendor/golang.org/x/text/currency/currency.go | 185 - .../x/text/currency/currency_test.go | 171 - .../x/text/currency/example_test.go | 27 - vendor/golang.org/x/text/currency/format.go | 215 - .../golang.org/x/text/currency/format_test.go | 70 - vendor/golang.org/x/text/currency/gen.go | 400 - .../golang.org/x/text/currency/gen_common.go | 71 - vendor/golang.org/x/text/currency/query.go | 152 - .../golang.org/x/text/currency/query_test.go | 107 - vendor/golang.org/x/text/currency/tables.go | 2629 - .../golang.org/x/text/currency/tables_test.go | 93 - vendor/golang.org/x/text/date/data_test.go | 335 - vendor/golang.org/x/text/date/gen.go | 329 - vendor/golang.org/x/text/date/gen_test.go | 241 - vendor/golang.org/x/text/date/tables.go | 64522 -------------- vendor/golang.org/x/text/doc.go | 13 - .../x/text/encoding/charmap/charmap_test.go | 258 - .../x/text/encoding/encoding_test.go | 290 - .../x/text/encoding/example_test.go | 42 - .../text/encoding/htmlindex/htmlindex_test.go | 144 - .../x/text/encoding/ianaindex/example_test.go | 27 - .../x/text/encoding/ianaindex/gen.go | 192 - .../x/text/encoding/ianaindex/ianaindex.go | 209 - .../text/encoding/ianaindex/ianaindex_test.go | 192 - .../x/text/encoding/ianaindex/tables.go | 2348 - .../text/encoding/internal/enctest/enctest.go | 180 - .../x/text/encoding/japanese/all_test.go | 248 - .../x/text/encoding/korean/all_test.go | 94 - .../encoding/simplifiedchinese/all_test.go | 143 - .../encoding/testdata/candide-gb18030.txt | 510 - .../encoding/testdata/candide-utf-16le.txt | Bin 51932 -> 0 bytes .../encoding/testdata/candide-utf-32be.txt | Bin 103864 -> 0 bytes .../text/encoding/testdata/candide-utf-8.txt | 510 - .../testdata/candide-windows-1252.txt | 510 - .../encoding/testdata/rashomon-euc-jp.txt | 178 - .../testdata/rashomon-iso-2022-jp.txt | 178 - .../encoding/testdata/rashomon-shift-jis.txt | 178 - .../text/encoding/testdata/rashomon-utf-8.txt | 178 - ...nzi-bingfa-gb-levels-1-and-2-hz-gb2312.txt | 107 - .../sunzi-bingfa-gb-levels-1-and-2-utf-8.txt | 107 - .../testdata/sunzi-bingfa-simplified-gbk.txt | 107 - .../sunzi-bingfa-simplified-utf-8.txt | 107 - .../sunzi-bingfa-traditional-big5.txt | 106 - .../sunzi-bingfa-traditional-utf-8.txt | 106 - .../testdata/unsu-joh-eun-nal-euc-kr.txt | 175 - .../testdata/unsu-joh-eun-nal-utf-8.txt | 175 - .../encoding/traditionalchinese/all_test.go | 114 - .../x/text/encoding/unicode/unicode_test.go | 499 - .../x/text/encoding/unicode/utf32/utf32.go | 296 - .../text/encoding/unicode/utf32/utf32_test.go | 248 - .../x/text/feature/plural/common.go | 70 - .../x/text/feature/plural/data_test.go | 197 - .../x/text/feature/plural/example_test.go | 46 - .../golang.org/x/text/feature/plural/gen.go | 513 - .../x/text/feature/plural/gen_common.go | 74 - .../x/text/feature/plural/message.go | 244 - .../x/text/feature/plural/message_test.go | 197 - .../x/text/feature/plural/plural.go | 258 - .../x/text/feature/plural/plural_test.go | 216 - .../x/text/feature/plural/tables.go | 548 - vendor/golang.org/x/text/gen.go | 319 - .../x/text/internal/catmsg/catmsg.go | 376 - .../x/text/internal/catmsg/catmsg_test.go | 316 - .../x/text/internal/catmsg/codec.go | 407 - .../x/text/internal/catmsg/varint.go | 62 - .../x/text/internal/catmsg/varint_test.go | 123 - .../x/text/internal/cldrtree/cldrtree.go | 353 - .../x/text/internal/cldrtree/cldrtree_test.go | 456 - .../x/text/internal/cldrtree/generate.go | 208 - .../x/text/internal/cldrtree/option.go | 86 - .../testdata/test1/common/main/root.xml | 89 - .../cldrtree/testdata/test1/output.go | 350 - .../testdata/test2/common/main/en.xml | 171 - .../testdata/test2/common/main/en_001.xml | 60 - .../testdata/test2/common/main/en_GB.xml | 63 - .../testdata/test2/common/main/root.xml | 646 - .../cldrtree/testdata/test2/output.go | 889 - .../x/text/internal/cldrtree/tree.go | 181 - .../x/text/internal/cldrtree/type.go | 139 - .../x/text/internal/colltab/collate_test.go | 121 - .../x/text/internal/colltab/collelem.go | 371 - .../x/text/internal/colltab/collelem_test.go | 183 - .../x/text/internal/colltab/colltab.go | 105 - .../x/text/internal/colltab/colltab_test.go | 64 - .../x/text/internal/colltab/contract.go | 145 - .../x/text/internal/colltab/contract_test.go | 131 - .../x/text/internal/colltab/iter.go | 178 - .../x/text/internal/colltab/iter_test.go | 63 - .../x/text/internal/colltab/numeric.go | 236 - .../x/text/internal/colltab/numeric_test.go | 159 - .../x/text/internal/colltab/table.go | 275 - .../x/text/internal/colltab/trie.go | 159 - .../x/text/internal/colltab/trie_test.go | 106 - .../x/text/internal/colltab/weighter.go | 31 - .../x/text/internal/colltab/weighter_test.go | 42 - .../golang.org/x/text/internal/export/README | 4 - .../text/internal/export/idna/common_test.go | 55 - .../text/internal/export/idna/example_test.go | 68 - .../x/text/internal/export/idna/gen.go | 276 - .../internal/export/idna/gen10.0.0_test.go | 93 - .../internal/export/idna/gen9.0.0_test.go | 84 - .../x/text/internal/export/idna/gen_common.go | 59 - .../text/internal/export/idna/gen_trieval.go | 123 - .../x/text/internal/export/idna/idna10.0.0.go | 733 - .../internal/export/idna/idna10.0.0_test.go | 140 - .../x/text/internal/export/idna/idna9.0.0.go | 681 - .../internal/export/idna/idna9.0.0_test.go | 136 - .../x/text/internal/export/idna/idna_test.go | 178 - .../x/text/internal/export/idna/punycode.go | 201 - .../internal/export/idna/punycode_test.go | 198 - .../text/internal/export/idna/tables10.0.0.go | 4559 - .../text/internal/export/idna/tables9.0.0.go | 4486 - .../x/text/internal/export/idna/trie.go | 70 - .../x/text/internal/export/idna/trieval.go | 119 - .../x/text/internal/format/format.go | 41 - .../x/text/internal/format/parser.go | 357 - .../x/text/internal/format/parser_test.go | 32 - vendor/golang.org/x/text/internal/gen.go | 52 - vendor/golang.org/x/text/internal/gen/code.go | 369 - vendor/golang.org/x/text/internal/gen/gen.go | 333 - vendor/golang.org/x/text/internal/gen_test.go | 38 - vendor/golang.org/x/text/internal/internal.go | 51 - .../x/text/internal/internal_test.go | 38 - vendor/golang.org/x/text/internal/match.go | 67 - .../golang.org/x/text/internal/match_test.go | 56 - .../x/text/internal/number/common.go | 51 - .../x/text/internal/number/decimal.go | 498 - .../x/text/internal/number/decimal_test.go | 329 - .../x/text/internal/number/format.go | 540 - .../x/text/internal/number/format_test.go | 522 - .../golang.org/x/text/internal/number/gen.go | 458 - .../x/text/internal/number/gen_common.go | 55 - .../x/text/internal/number/number.go | 156 - .../x/text/internal/number/number_test.go | 104 - .../x/text/internal/number/pattern.go | 485 - .../x/text/internal/number/pattern_test.go | 438 - .../internal/number/roundingmode_string.go | 16 - .../x/text/internal/number/tables.go | 1211 - .../x/text/internal/number/tables_test.go | 125 - .../x/text/internal/stringset/set.go | 86 - .../x/text/internal/stringset/set_test.go | 53 - vendor/golang.org/x/text/internal/tables.go | 118 - .../x/text/internal/tag/tag_test.go | 67 - .../x/text/internal/testtext/codesize.go | 53 - .../x/text/internal/testtext/flag.go | 22 - .../golang.org/x/text/internal/testtext/gc.go | 14 - .../x/text/internal/testtext/gccgo.go | 11 - .../x/text/internal/testtext/go1_6.go | 23 - .../x/text/internal/testtext/go1_7.go | 17 - .../x/text/internal/testtext/text.go | 105 - .../x/text/internal/triegen/compact.go | 58 - .../x/text/internal/triegen/data_test.go | 875 - .../internal/triegen/example_compact_test.go | 71 - .../x/text/internal/triegen/example_test.go | 148 - .../x/text/internal/triegen/gen_test.go | 68 - .../x/text/internal/triegen/print.go | 251 - .../x/text/internal/triegen/triegen.go | 494 - .../x/text/internal/ucd/example_test.go | 81 - vendor/golang.org/x/text/internal/ucd/ucd.go | 371 - .../x/text/internal/ucd/ucd_test.go | 105 - .../x/text/language/coverage_test.go | 154 - .../x/text/language/display/dict.go | 92 - .../x/text/language/display/dict_test.go | 39 - .../x/text/language/display/display.go | 420 - .../x/text/language/display/display_test.go | 714 - .../x/text/language/display/examples_test.go | 116 - .../x/text/language/display/lookup.go | 251 - .../x/text/language/display/maketables.go | 602 - .../x/text/language/display/tables.go | 53114 ----------- .../x/text/language/examples_test.go | 413 - .../x/text/language/httpexample_test.go | 48 - .../x/text/language/language_test.go | 911 - .../golang.org/x/text/language/lookup_test.go | 457 - .../golang.org/x/text/language/match_test.go | 505 - .../golang.org/x/text/language/parse_test.go | 517 - .../testdata/CLDRLocaleMatcherTest.txt | 389 - .../language/testdata/GoLocaleMatcherTest.txt | 226 - vendor/golang.org/x/text/message/catalog.go | 36 - .../x/text/message/catalog/catalog.go | 369 - .../x/text/message/catalog/catalog_test.go | 296 - .../golang.org/x/text/message/catalog/dict.go | 129 - .../golang.org/x/text/message/catalog/go19.go | 15 - .../x/text/message/catalog/gopre19.go | 23 - .../golang.org/x/text/message/catalog_test.go | 43 - vendor/golang.org/x/text/message/doc.go | 100 - .../x/text/message/examples_test.go | 42 - vendor/golang.org/x/text/message/fmt_test.go | 1871 - vendor/golang.org/x/text/message/format.go | 510 - vendor/golang.org/x/text/message/message.go | 186 - .../golang.org/x/text/message/message_test.go | 181 - .../x/text/message/pipeline/extract.go | 305 - .../x/text/message/pipeline/generate.go | 251 - .../x/text/message/pipeline/message.go | 241 - .../x/text/message/pipeline/pipeline.go | 57 - .../x/text/message/pipeline/rewrite.go | 268 - vendor/golang.org/x/text/message/print.go | 979 - vendor/golang.org/x/text/number/doc.go | 28 - .../golang.org/x/text/number/examples_test.go | 28 - vendor/golang.org/x/text/number/format.go | 122 - .../golang.org/x/text/number/format_test.go | 112 - vendor/golang.org/x/text/number/number.go | 77 - .../golang.org/x/text/number/number_test.go | 190 - vendor/golang.org/x/text/number/option.go | 177 - vendor/golang.org/x/text/runes/cond_test.go | 282 - .../golang.org/x/text/runes/example_test.go | 60 - vendor/golang.org/x/text/runes/runes_test.go | 664 - vendor/golang.org/x/text/search/index.go | 35 - vendor/golang.org/x/text/search/pattern.go | 155 - .../golang.org/x/text/search/pattern_test.go | 357 - vendor/golang.org/x/text/search/search.go | 237 - vendor/golang.org/x/text/search/tables.go | 12448 --- .../x/text/secure/bidirule/bench_test.go | 54 - .../x/text/secure/bidirule/bidirule.go | 336 - .../x/text/secure/bidirule/bidirule10.0.0.go | 11 - .../secure/bidirule/bidirule10.0.0_test.go | 694 - .../x/text/secure/bidirule/bidirule9.0.0.go | 14 - .../secure/bidirule/bidirule9.0.0_test.go | 668 - .../x/text/secure/bidirule/bidirule_test.go | 168 - vendor/golang.org/x/text/secure/doc.go | 6 - .../x/text/secure/precis/benchmark_test.go | 82 - .../golang.org/x/text/secure/precis/class.go | 36 - .../x/text/secure/precis/class_test.go | 50 - .../x/text/secure/precis/context.go | 139 - vendor/golang.org/x/text/secure/precis/doc.go | 14 - .../text/secure/precis/enforce10.0.0_test.go | 244 - .../x/text/secure/precis/enforce9.0.0_test.go | 244 - .../x/text/secure/precis/enforce_test.go | 162 - vendor/golang.org/x/text/secure/precis/gen.go | 310 - .../x/text/secure/precis/gen_trieval.go | 68 - .../x/text/secure/precis/nickname.go | 72 - .../x/text/secure/precis/options.go | 157 - .../x/text/secure/precis/profile.go | 402 - .../x/text/secure/precis/profile_test.go | 149 - .../x/text/secure/precis/profiles.go | 78 - .../x/text/secure/precis/tables10.0.0.go | 3889 - .../x/text/secure/precis/tables9.0.0.go | 3790 - .../x/text/secure/precis/tables_test.go | 69 - .../x/text/secure/precis/transformer.go | 32 - .../x/text/secure/precis/trieval.go | 64 - .../x/text/transform/examples_test.go | 37 - .../x/text/transform/transform_test.go | 1317 - vendor/golang.org/x/text/unicode/bidi/bidi.go | 198 - .../golang.org/x/text/unicode/bidi/bracket.go | 335 - vendor/golang.org/x/text/unicode/bidi/core.go | 1058 - .../x/text/unicode/bidi/core_test.go | 224 - vendor/golang.org/x/text/unicode/bidi/gen.go | 133 - .../x/text/unicode/bidi/gen_ranges.go | 57 - .../x/text/unicode/bidi/gen_trieval.go | 64 - vendor/golang.org/x/text/unicode/bidi/prop.go | 206 - .../x/text/unicode/bidi/ranges_test.go | 53 - .../x/text/unicode/bidi/tables10.0.0.go | 1815 - .../x/text/unicode/bidi/tables9.0.0.go | 1781 - .../x/text/unicode/bidi/tables_test.go | 82 - .../golang.org/x/text/unicode/bidi/trieval.go | 60 - vendor/golang.org/x/text/unicode/cldr/base.go | 105 - vendor/golang.org/x/text/unicode/cldr/cldr.go | 130 - .../x/text/unicode/cldr/cldr_test.go | 27 - .../golang.org/x/text/unicode/cldr/collate.go | 359 - .../x/text/unicode/cldr/collate_test.go | 275 - .../x/text/unicode/cldr/data_test.go | 186 - .../golang.org/x/text/unicode/cldr/decode.go | 171 - .../x/text/unicode/cldr/examples_test.go | 21 - .../golang.org/x/text/unicode/cldr/makexml.go | 400 - .../golang.org/x/text/unicode/cldr/resolve.go | 602 - .../x/text/unicode/cldr/resolve_test.go | 368 - .../golang.org/x/text/unicode/cldr/slice.go | 144 - .../x/text/unicode/cldr/slice_test.go | 175 - vendor/golang.org/x/text/unicode/cldr/xml.go | 1494 - vendor/golang.org/x/text/unicode/doc.go | 8 - .../x/text/unicode/norm/composition.go | 508 - .../x/text/unicode/norm/composition_test.go | 130 - .../x/text/unicode/norm/data10.0.0_test.go | 7424 -- .../x/text/unicode/norm/data9.0.0_test.go | 7409 -- .../x/text/unicode/norm/example_iter_test.go | 82 - .../x/text/unicode/norm/example_test.go | 27 - .../x/text/unicode/norm/forminfo.go | 259 - .../x/text/unicode/norm/forminfo_test.go | 54 - .../golang.org/x/text/unicode/norm/input.go | 109 - vendor/golang.org/x/text/unicode/norm/iter.go | 457 - .../x/text/unicode/norm/iter_test.go | 98 - .../x/text/unicode/norm/maketables.go | 976 - .../x/text/unicode/norm/normalize.go | 609 - .../x/text/unicode/norm/normalize_test.go | 1287 - .../x/text/unicode/norm/readwriter.go | 125 - .../x/text/unicode/norm/readwriter_test.go | 56 - .../x/text/unicode/norm/tables10.0.0.go | 7653 -- .../x/text/unicode/norm/tables9.0.0.go | 7633 -- .../x/text/unicode/norm/transform.go | 88 - .../x/text/unicode/norm/transform_test.go | 101 - vendor/golang.org/x/text/unicode/norm/trie.go | 54 - .../golang.org/x/text/unicode/norm/triegen.go | 117 - .../x/text/unicode/norm/ucd_test.go | 275 - .../x/text/unicode/rangetable/gen.go | 115 - .../x/text/unicode/rangetable/merge.go | 260 - .../x/text/unicode/rangetable/merge_test.go | 184 - .../x/text/unicode/rangetable/rangetable.go | 70 - .../unicode/rangetable/rangetable_test.go | 55 - .../x/text/unicode/rangetable/tables10.0.0.go | 6378 -- .../x/text/unicode/rangetable/tables9.0.0.go | 5737 -- .../x/text/unicode/runenames/bits.go | 59 - .../x/text/unicode/runenames/example_test.go | 118 - .../x/text/unicode/runenames/gen.go | 195 - .../x/text/unicode/runenames/gen_bits.go | 63 - .../x/text/unicode/runenames/runenames.go | 48 - .../text/unicode/runenames/runenames_test.go | 46 - .../x/text/unicode/runenames/tables.go | 15514 ---- vendor/golang.org/x/text/width/common_test.go | 92 - .../golang.org/x/text/width/example_test.go | 52 - vendor/golang.org/x/text/width/gen.go | 115 - vendor/golang.org/x/text/width/gen_common.go | 96 - vendor/golang.org/x/text/width/gen_trieval.go | 34 - vendor/golang.org/x/text/width/kind_string.go | 16 - vendor/golang.org/x/text/width/runes_test.go | 461 - .../golang.org/x/text/width/tables10.0.0.go | 1318 - vendor/golang.org/x/text/width/tables9.0.0.go | 1286 - vendor/golang.org/x/text/width/tables_test.go | 59 - vendor/golang.org/x/text/width/transform.go | 239 - .../golang.org/x/text/width/transform_test.go | 701 - vendor/golang.org/x/text/width/trieval.go | 30 - vendor/golang.org/x/text/width/width.go | 206 - .../google.golang.org/appengine/.travis.yml | 24 - .../appengine/CONTRIBUTING.md | 90 - vendor/google.golang.org/appengine/README.md | 73 - .../google.golang.org/appengine/aetest/doc.go | 42 - .../appengine/aetest/instance.go | 58 - .../appengine/aetest/instance_classic.go | 21 - .../appengine/aetest/instance_test.go | 119 - .../appengine/aetest/instance_vm.go | 284 - .../appengine/aetest/user.go | 36 - .../google.golang.org/appengine/appengine.go | 113 - .../appengine/appengine_test.go | 49 - .../appengine/appengine_vm.go | 20 - .../appengine/blobstore/blobstore.go | 306 - .../appengine/blobstore/blobstore_test.go | 289 - .../appengine/blobstore/read.go | 160 - .../appengine/capability/capability.go | 52 - .../appengine/channel/channel.go | 87 - .../appengine/channel/channel_test.go | 21 - .../appengine/cloudsql/cloudsql.go | 62 - .../appengine/cloudsql/cloudsql_classic.go | 17 - .../appengine/cloudsql/cloudsql_vm.go | 16 - .../appengine/cmd/aebundler/aebundler.go | 342 - .../appengine/cmd/aedeploy/aedeploy.go | 72 - .../appengine/cmd/aefix/ae.go | 185 - .../appengine/cmd/aefix/ae_test.go | 144 - .../appengine/cmd/aefix/fix.go | 848 - .../appengine/cmd/aefix/main.go | 258 - .../appengine/cmd/aefix/main_test.go | 129 - .../appengine/cmd/aefix/typecheck.go | 673 - .../appengine/datastore/datastore.go | 407 - .../appengine/datastore/datastore_test.go | 1750 - .../appengine/datastore/doc.go | 361 - .../appengine/datastore/key.go | 396 - .../appengine/datastore/key_test.go | 204 - .../appengine/datastore/load.go | 429 - .../appengine/datastore/load_test.go | 656 - .../appengine/datastore/metadata.go | 78 - .../appengine/datastore/prop.go | 330 - .../appengine/datastore/prop_test.go | 672 - .../appengine/datastore/query.go | 757 - .../appengine/datastore/query_test.go | 584 - .../appengine/datastore/save.go | 333 - .../appengine/datastore/time_test.go | 65 - .../appengine/datastore/transaction.go | 96 - .../appengine/delay/delay.go | 295 - .../appengine/delay/delay_go17.go | 23 - .../appengine/delay/delay_go17_test.go | 55 - .../appengine/delay/delay_pre17.go | 19 - .../appengine/delay/delay_test.go | 428 - .../appengine/demos/guestbook/app.yaml | 14 - .../appengine/demos/guestbook/favicon.ico | Bin 1150 -> 0 bytes .../appengine/demos/guestbook/guestbook.go | 109 - .../appengine/demos/guestbook/index.yaml | 7 - .../demos/guestbook/templates/guestbook.html | 26 - .../appengine/demos/helloworld/app.yaml | 10 - .../appengine/demos/helloworld/favicon.ico | Bin 1150 -> 0 bytes .../appengine/demos/helloworld/helloworld.go | 50 - vendor/google.golang.org/appengine/errors.go | 46 - .../google.golang.org/appengine/file/file.go | 28 - .../google.golang.org/appengine/identity.go | 142 - .../appengine/image/image.go | 67 - .../appengine/internal/aetesting/fake.go | 81 - .../appengine/internal/api_race_test.go | 9 - .../appengine/internal/api_test.go | 466 - .../appengine/internal/app_id_test.go | 34 - .../app_identity/app_identity_service.pb.go | 385 - .../app_identity/app_identity_service.proto | 64 - .../blobstore/blobstore_service.pb.go | 438 - .../blobstore/blobstore_service.proto | 71 - .../capability/capability_service.pb.go | 171 - .../capability/capability_service.proto | 28 - .../internal/channel/channel_service.pb.go | 201 - .../internal/channel/channel_service.proto | 30 - .../internal/datastore/datastore_v3.proto | 0 .../internal/image/images_service.pb.go | 1001 - .../internal/image/images_service.proto | 162 - .../appengine/internal/internal_vm_test.go | 60 - .../internal/mail/mail_service.pb.go | 283 - .../internal/mail/mail_service.proto | 45 - .../internal/memcache/memcache_service.pb.go | 1104 - .../internal/memcache/memcache_service.proto | 165 - .../internal/modules/modules_service.pb.go | 454 - .../internal/modules/modules_service.proto | 80 - .../appengine/internal/net_test.go | 58 - .../appengine/internal/regen.sh | 0 .../appengine/internal/search/search.pb.go | 2478 - .../appengine/internal/search/search.proto | 394 - .../internal/socket/socket_service.pb.go | 2142 - .../internal/socket/socket_service.proto | 460 - .../internal/system/system_service.pb.go | 250 - .../internal/system/system_service.proto | 49 - .../taskqueue/taskqueue_service.pb.go | 2209 - .../taskqueue/taskqueue_service.proto | 342 - .../internal/user/user_service.pb.go | 359 - .../internal/user/user_service.proto | 58 - .../internal/xmpp/xmpp_service.pb.go | 512 - .../internal/xmpp/xmpp_service.proto | 83 - vendor/google.golang.org/appengine/log/api.go | 40 - vendor/google.golang.org/appengine/log/log.go | 323 - .../appengine/log/log_test.go | 112 - .../google.golang.org/appengine/mail/mail.go | 123 - .../appengine/mail/mail_test.go | 65 - .../appengine/memcache/memcache.go | 526 - .../appengine/memcache/memcache_test.go | 263 - .../appengine/module/module.go | 113 - .../appengine/module/module_test.go | 124 - .../google.golang.org/appengine/namespace.go | 25 - .../appengine/namespace_test.go | 39 - .../appengine/remote_api/client.go | 194 - .../appengine/remote_api/client_test.go | 43 - .../appengine/remote_api/remote_api.go | 152 - .../appengine/runtime/runtime.go | 148 - .../appengine/runtime/runtime_test.go | 101 - .../google.golang.org/appengine/search/doc.go | 209 - .../appengine/search/field.go | 82 - .../appengine/search/search.go | 1189 - .../appengine/search/search_test.go | 1270 - .../appengine/search/struct.go | 251 - .../appengine/search/struct_test.go | 213 - .../google.golang.org/appengine/socket/doc.go | 10 - .../appengine/socket/socket_classic.go | 290 - .../appengine/socket/socket_vm.go | 64 - .../appengine/taskqueue/taskqueue.go | 541 - .../appengine/taskqueue/taskqueue_test.go | 173 - vendor/google.golang.org/appengine/timeout.go | 20 - .../google.golang.org/appengine/user/oauth.go | 52 - .../google.golang.org/appengine/user/user.go | 84 - .../appengine/user/user_classic.go | 44 - .../appengine/user/user_test.go | 99 - .../appengine/user/user_vm.go | 38 - .../google.golang.org/appengine/xmpp/xmpp.go | 253 - .../appengine/xmpp/xmpp_test.go | 173 - vendor/modules.txt | 56 + 2088 files changed, 5130 insertions(+), 908975 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml create mode 100644 go.mod create mode 100644 go.sum delete mode 100644 vendor/github.com/PuerkitoBio/goquery/array_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.1.0 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.3.0 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2-take2 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v1.0.0-go1.7 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1a-go1.7 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1b-go1.7 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1c-go1.7 delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_array_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_example_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_expand_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_filter_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_iteration_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_property_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_query_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/bench_traversal_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/doc/tips.md delete mode 100644 vendor/github.com/PuerkitoBio/goquery/example_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/expand_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/filter_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/iteration_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/manipulation_test.go delete mode 100755 vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit delete mode 100644 vendor/github.com/PuerkitoBio/goquery/property_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/query_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/gotesting.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/gowiki.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/metalreview.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/page.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/page2.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/testdata/page3.html delete mode 100644 vendor/github.com/PuerkitoBio/goquery/traversal_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/type_test.go delete mode 100644 vendor/github.com/PuerkitoBio/goquery/utilities_test.go mode change 100755 => 100644 vendor/github.com/andybalholm/cascadia/LICENSE delete mode 100644 vendor/github.com/andybalholm/cascadia/benchmark_test.go delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test0 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test1 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test10 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test11 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test12 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test13 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test14 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test15 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test16 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test17 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test18 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test19 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test2 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test20 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test21 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test22 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test23 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test24 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test25 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test26 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test27 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test28 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test29 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test3 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test30 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test31 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test32 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test33 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test34 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test35 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test36 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test37 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test38 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test39 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test4 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test40 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test41 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test42 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test43 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test44 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test45 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test46 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test47 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test48 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test49 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test5 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test50 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test51 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test52 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test53 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test54 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test55 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test56 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test57 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test58 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test59 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test6 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test60 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test61 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test7 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test8 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/corpus/test9 delete mode 100644 vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go delete mode 100644 vendor/github.com/andybalholm/cascadia/parser_test.go delete mode 100644 vendor/github.com/andybalholm/cascadia/selector_test.go delete mode 100644 vendor/github.com/golang/protobuf/.gitignore delete mode 100644 vendor/github.com/golang/protobuf/.travis.yml delete mode 100644 vendor/github.com/golang/protobuf/Makefile delete mode 100644 vendor/github.com/golang/protobuf/README.md delete mode 100644 vendor/github.com/golang/protobuf/conformance/Makefile delete mode 100644 vendor/github.com/golang/protobuf/conformance/conformance.go delete mode 100755 vendor/github.com/golang/protobuf/conformance/conformance.sh delete mode 100644 vendor/github.com/golang/protobuf/conformance/failure_list_go.txt delete mode 100644 vendor/github.com/golang/protobuf/conformance/internal/conformance_proto/conformance.pb.go delete mode 100644 vendor/github.com/golang/protobuf/conformance/internal/conformance_proto/conformance.proto delete mode 100755 vendor/github.com/golang/protobuf/conformance/test.sh delete mode 100644 vendor/github.com/golang/protobuf/descriptor/descriptor.go delete mode 100644 vendor/github.com/golang/protobuf/descriptor/descriptor_test.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.proto delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.pb.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto delete mode 100644 vendor/github.com/golang/protobuf/proto/all_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/any_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/clone_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/decode_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/discard_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/encode_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/equal_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/extensions_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/map_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/message_set_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.proto delete mode 100644 vendor/github.com/golang/protobuf/proto/proto3_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/size2_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/size_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/test_proto/test.pb.go delete mode 100644 vendor/github.com/golang/protobuf/proto/test_proto/test.proto delete mode 100644 vendor/github.com/golang/protobuf/proto/text_parser_test.go delete mode 100644 vendor/github.com/golang/protobuf/proto/text_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/doc.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/remap.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/remap_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/generator/name_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/golden_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/grpc/grpc.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/link_grpc.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/main.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.golden delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/main_test.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.proto delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/any.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/any/any.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/any/any.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/any_test.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/doc.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/duration.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/duration/duration.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/duration_test.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/empty/empty.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/struct/struct.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/struct/struct.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/timestamp.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.proto delete mode 100644 vendor/github.com/golang/protobuf/ptypes/timestamp_test.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.proto delete mode 100755 vendor/github.com/golang/protobuf/regenerate.sh delete mode 100644 vendor/github.com/gorilla/context/context_test.go delete mode 100644 vendor/github.com/gorilla/mux/bench_test.go delete mode 100644 vendor/github.com/gorilla/mux/context_gorilla_test.go delete mode 100644 vendor/github.com/gorilla/mux/context_native_test.go delete mode 100644 vendor/github.com/gorilla/mux/example_authentication_middleware_test.go delete mode 100644 vendor/github.com/gorilla/mux/example_route_test.go delete mode 100644 vendor/github.com/gorilla/mux/middleware_test.go delete mode 100644 vendor/github.com/gorilla/mux/mux_test.go delete mode 100644 vendor/github.com/gorilla/mux/old_test.go mode change 100755 => 100644 vendor/github.com/lib/pq/.travis.sh delete mode 100644 vendor/github.com/lib/pq/array_test.go delete mode 100644 vendor/github.com/lib/pq/bench_test.go delete mode 100644 vendor/github.com/lib/pq/certs/README delete mode 100644 vendor/github.com/lib/pq/certs/bogus_root.crt delete mode 100644 vendor/github.com/lib/pq/certs/postgresql.crt delete mode 100644 vendor/github.com/lib/pq/certs/postgresql.key delete mode 100644 vendor/github.com/lib/pq/certs/root.crt delete mode 100644 vendor/github.com/lib/pq/certs/server.crt delete mode 100644 vendor/github.com/lib/pq/certs/server.key delete mode 100644 vendor/github.com/lib/pq/conn_test.go delete mode 100644 vendor/github.com/lib/pq/connector_example_test.go delete mode 100644 vendor/github.com/lib/pq/connector_test.go delete mode 100644 vendor/github.com/lib/pq/copy_test.go delete mode 100644 vendor/github.com/lib/pq/encode_test.go delete mode 100644 vendor/github.com/lib/pq/example/listen/doc.go create mode 100644 vendor/github.com/lib/pq/go.mod delete mode 100644 vendor/github.com/lib/pq/go18_test.go delete mode 100644 vendor/github.com/lib/pq/hstore/hstore_test.go delete mode 100644 vendor/github.com/lib/pq/issues_test.go delete mode 100644 vendor/github.com/lib/pq/notify_test.go delete mode 100644 vendor/github.com/lib/pq/rows_test.go delete mode 100644 vendor/github.com/lib/pq/ssl_test.go delete mode 100644 vendor/github.com/lib/pq/url_test.go delete mode 100644 vendor/github.com/lib/pq/uuid_test.go delete mode 100644 vendor/github.com/tdewolff/minify/.gitattributes delete mode 100644 vendor/github.com/tdewolff/minify/.gitignore delete mode 100644 vendor/github.com/tdewolff/minify/.goreleaser.yml delete mode 100644 vendor/github.com/tdewolff/minify/.travis.yml delete mode 100644 vendor/github.com/tdewolff/minify/LICENSE.md delete mode 100644 vendor/github.com/tdewolff/minify/README.md delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/css_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/html_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/js_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/json_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/main_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_ace.js delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_amazon.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_arctic.svg delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_bbc.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_blogpost.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_books.xml delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_bootstrap.css delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_catalog.xml delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_dot.js delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_es6.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_gopher.svg delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_gumby.css delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_jquery.js delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_jqueryui.js delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_large.json delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_moment.js delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_omg.xml delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_stackoverflow.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_testsuite.json delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_twitter.json delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_usa.svg delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/sample_wikipedia.html delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/svg_test.go delete mode 100644 vendor/github.com/tdewolff/minify/benchmarks/xml_test.go delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/README.md delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/main.go delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/minify_bash_tab_completion delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/util.go delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/util_test.go delete mode 100644 vendor/github.com/tdewolff/minify/cmd/minify/watch.go delete mode 100644 vendor/github.com/tdewolff/minify/common.go delete mode 100644 vendor/github.com/tdewolff/minify/common_test.go delete mode 100644 vendor/github.com/tdewolff/minify/css/css.go delete mode 100644 vendor/github.com/tdewolff/minify/css/css_test.go delete mode 100644 vendor/github.com/tdewolff/minify/css/table.go delete mode 100644 vendor/github.com/tdewolff/minify/html/buffer.go delete mode 100644 vendor/github.com/tdewolff/minify/html/buffer_test.go delete mode 100644 vendor/github.com/tdewolff/minify/html/html.go delete mode 100644 vendor/github.com/tdewolff/minify/html/html_test.go delete mode 100644 vendor/github.com/tdewolff/minify/html/table.go delete mode 100644 vendor/github.com/tdewolff/minify/js/js.go delete mode 100644 vendor/github.com/tdewolff/minify/js/js_test.go delete mode 100644 vendor/github.com/tdewolff/minify/json/json.go delete mode 100644 vendor/github.com/tdewolff/minify/json/json_test.go delete mode 100644 vendor/github.com/tdewolff/minify/minify.go delete mode 100644 vendor/github.com/tdewolff/minify/minify_test.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/buffer.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/buffer_test.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/pathdata.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/pathdata_test.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/svg.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/svg_test.go delete mode 100644 vendor/github.com/tdewolff/minify/svg/table.go delete mode 100644 vendor/github.com/tdewolff/minify/xml/buffer.go delete mode 100644 vendor/github.com/tdewolff/minify/xml/buffer_test.go delete mode 100644 vendor/github.com/tdewolff/minify/xml/xml.go delete mode 100644 vendor/github.com/tdewolff/minify/xml/xml_test.go delete mode 100644 vendor/github.com/tdewolff/parse/.travis.yml delete mode 100644 vendor/github.com/tdewolff/parse/LICENSE.md delete mode 100644 vendor/github.com/tdewolff/parse/README.md delete mode 100644 vendor/github.com/tdewolff/parse/buffer/buffer.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/lexer.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/lexer_test.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/reader.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/reader_test.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/streamlexer.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/streamlexer_test.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/writer.go delete mode 100644 vendor/github.com/tdewolff/parse/buffer/writer_test.go delete mode 100644 vendor/github.com/tdewolff/parse/common.go delete mode 100644 vendor/github.com/tdewolff/parse/common_test.go delete mode 100644 vendor/github.com/tdewolff/parse/css/README.md delete mode 100644 vendor/github.com/tdewolff/parse/css/hash.go delete mode 100644 vendor/github.com/tdewolff/parse/css/hash_test.go delete mode 100644 vendor/github.com/tdewolff/parse/css/lex.go delete mode 100644 vendor/github.com/tdewolff/parse/css/lex_test.go delete mode 100644 vendor/github.com/tdewolff/parse/css/parse.go delete mode 100644 vendor/github.com/tdewolff/parse/css/parse_test.go delete mode 100644 vendor/github.com/tdewolff/parse/css/util.go delete mode 100644 vendor/github.com/tdewolff/parse/css/util_test.go delete mode 100644 vendor/github.com/tdewolff/parse/error.go delete mode 100644 vendor/github.com/tdewolff/parse/html/README.md delete mode 100644 vendor/github.com/tdewolff/parse/html/hash.go delete mode 100644 vendor/github.com/tdewolff/parse/html/hash_test.go delete mode 100644 vendor/github.com/tdewolff/parse/html/lex.go delete mode 100644 vendor/github.com/tdewolff/parse/html/lex_test.go delete mode 100644 vendor/github.com/tdewolff/parse/html/util.go delete mode 100644 vendor/github.com/tdewolff/parse/html/util_test.go delete mode 100644 vendor/github.com/tdewolff/parse/js/README.md delete mode 100644 vendor/github.com/tdewolff/parse/js/hash.go delete mode 100644 vendor/github.com/tdewolff/parse/js/hash_test.go delete mode 100644 vendor/github.com/tdewolff/parse/js/lex.go delete mode 100644 vendor/github.com/tdewolff/parse/js/lex_test.go delete mode 100644 vendor/github.com/tdewolff/parse/json/README.md delete mode 100644 vendor/github.com/tdewolff/parse/json/parse.go delete mode 100644 vendor/github.com/tdewolff/parse/json/parse_test.go delete mode 100644 vendor/github.com/tdewolff/parse/position.go delete mode 100644 vendor/github.com/tdewolff/parse/position_test.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/float.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/float_test.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/int.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/int_test.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/price.go delete mode 100644 vendor/github.com/tdewolff/parse/strconv/price_test.go delete mode 100644 vendor/github.com/tdewolff/parse/svg/hash.go delete mode 100644 vendor/github.com/tdewolff/parse/svg/hash_test.go delete mode 100644 vendor/github.com/tdewolff/parse/util.go delete mode 100644 vendor/github.com/tdewolff/parse/util_test.go delete mode 100644 vendor/github.com/tdewolff/parse/xml/README.md delete mode 100644 vendor/github.com/tdewolff/parse/xml/lex.go delete mode 100644 vendor/github.com/tdewolff/parse/xml/lex_test.go delete mode 100644 vendor/github.com/tdewolff/parse/xml/util.go delete mode 100644 vendor/github.com/tdewolff/parse/xml/util_test.go delete mode 100644 vendor/golang.org/x/crypto/.gitattributes delete mode 100644 vendor/golang.org/x/crypto/.gitignore delete mode 100644 vendor/golang.org/x/crypto/CONTRIBUTING.md delete mode 100644 vendor/golang.org/x/crypto/README.md delete mode 100644 vendor/golang.org/x/crypto/acme/acme_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/autocert_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/cache_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/example_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/renewal_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/http_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/jws_test.go delete mode 100644 vendor/golang.org/x/crypto/acme/types_test.go delete mode 100644 vendor/golang.org/x/crypto/argon2/argon2.go delete mode 100644 vendor/golang.org/x/crypto/argon2/argon2_test.go delete mode 100644 vendor/golang.org/x/crypto/argon2/blake2b.go delete mode 100644 vendor/golang.org/x/crypto/argon2/blamka_amd64.go delete mode 100644 vendor/golang.org/x/crypto/argon2/blamka_amd64.s delete mode 100644 vendor/golang.org/x/crypto/argon2/blamka_generic.go delete mode 100644 vendor/golang.org/x/crypto/argon2/blamka_ref.go delete mode 100644 vendor/golang.org/x/crypto/bcrypt/bcrypt_test.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.s delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_amd64.s delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_generic.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_ref.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_test.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2x.go delete mode 100644 vendor/golang.org/x/crypto/blake2b/register.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_386.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_386.s delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_amd64.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_amd64.s delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_generic.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_ref.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_test.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2x.go delete mode 100644 vendor/golang.org/x/crypto/blake2s/register.go delete mode 100644 vendor/golang.org/x/crypto/blowfish/blowfish_test.go delete mode 100644 vendor/golang.org/x/crypto/bn256/bn256.go delete mode 100644 vendor/golang.org/x/crypto/bn256/bn256_test.go delete mode 100644 vendor/golang.org/x/crypto/bn256/constants.go delete mode 100644 vendor/golang.org/x/crypto/bn256/curve.go delete mode 100644 vendor/golang.org/x/crypto/bn256/example_test.go delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp12.go delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp2.go delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp6.go delete mode 100644 vendor/golang.org/x/crypto/bn256/optate.go delete mode 100644 vendor/golang.org/x/crypto/bn256/twist.go delete mode 100644 vendor/golang.org/x/crypto/cast5/cast5.go delete mode 100644 vendor/golang.org/x/crypto/cast5/cast5_test.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_test.go delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_vectors_test.go delete mode 100644 vendor/golang.org/x/crypto/codereview.cfg delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/asn1.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/asn1_test.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/builder.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/cryptobyte_test.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/example_test.go delete mode 100644 vendor/golang.org/x/crypto/cryptobyte/string.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/const_amd64.h delete mode 100644 vendor/golang.org/x/crypto/curve25519/const_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/cswap_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519_test.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/doc.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/freeze_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/mul_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/square_amd64.s delete mode 100644 vendor/golang.org/x/crypto/ed25519/ed25519.go delete mode 100644 vendor/golang.org/x/crypto/ed25519/ed25519_test.go delete mode 100644 vendor/golang.org/x/crypto/ed25519/internal/edwards25519/const.go delete mode 100644 vendor/golang.org/x/crypto/ed25519/internal/edwards25519/edwards25519.go delete mode 100644 vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz delete mode 100644 vendor/golang.org/x/crypto/hkdf/example_test.go delete mode 100644 vendor/golang.org/x/crypto/hkdf/hkdf.go delete mode 100644 vendor/golang.org/x/crypto/hkdf/hkdf_test.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/asm_s390x.s delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/chacha_generic.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/chacha_noasm.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/chacha_s390x.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/chacha_test.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/vectors_test.go delete mode 100644 vendor/golang.org/x/crypto/internal/chacha20/xor.go delete mode 100644 vendor/golang.org/x/crypto/internal/subtle/aliasing.go delete mode 100644 vendor/golang.org/x/crypto/internal/subtle/aliasing_appengine.go delete mode 100644 vendor/golang.org/x/crypto/internal/subtle/aliasing_test.go delete mode 100644 vendor/golang.org/x/crypto/md4/example_test.go delete mode 100644 vendor/golang.org/x/crypto/md4/md4.go delete mode 100644 vendor/golang.org/x/crypto/md4/md4_test.go delete mode 100644 vendor/golang.org/x/crypto/md4/md4block.go delete mode 100644 vendor/golang.org/x/crypto/nacl/auth/auth.go delete mode 100644 vendor/golang.org/x/crypto/nacl/auth/auth_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/auth/example_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/box/box.go delete mode 100644 vendor/golang.org/x/crypto/nacl/box/box_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/box/example_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/example_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/secretbox_test.go delete mode 100644 vendor/golang.org/x/crypto/nacl/sign/sign.go delete mode 100644 vendor/golang.org/x/crypto/nacl/sign/sign_test.go delete mode 100644 vendor/golang.org/x/crypto/ocsp/ocsp.go delete mode 100644 vendor/golang.org/x/crypto/ocsp/ocsp_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/armor.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/armor_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/encode.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/canonical_text.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/canonical_text_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/clearsign/clearsign.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/clearsign/clearsign_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/elgamal/elgamal.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/elgamal/elgamal_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/errors/errors.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/keys.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/keys_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/compressed.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/compressed_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/config.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/encrypted_key.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/encrypted_key_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/literal.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/ocfb.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/ocfb_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/one_pass_signature.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/opaque.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/opaque_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/packet.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/packet_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/private_key.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/private_key_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_v3.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_v3_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/reader.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_v3.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_v3_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetric_key_encrypted.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetric_key_encrypted_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userattribute.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userattribute_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userid.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userid_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/read.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/read_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/s2k/s2k.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/s2k/s2k_test.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/write.go delete mode 100644 vendor/golang.org/x/crypto/openpgp/write_test.go delete mode 100644 vendor/golang.org/x/crypto/otr/libotr_test_helper.c delete mode 100644 vendor/golang.org/x/crypto/otr/otr.go delete mode 100644 vendor/golang.org/x/crypto/otr/otr_test.go delete mode 100644 vendor/golang.org/x/crypto/otr/smp.go delete mode 100644 vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go delete mode 100644 vendor/golang.org/x/crypto/pbkdf2/pbkdf2_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/bmp-string.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/bmp-string_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/crypto.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/crypto_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/errors.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/bench_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/rc2.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/rc2_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/mac.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/mac_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pbkdf.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pbkdf_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pkcs12.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pkcs12_test.go delete mode 100644 vendor/golang.org/x/crypto/pkcs12/safebags.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/poly1305.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/poly1305_test.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_amd64.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_amd64.s delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_arm.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_arm.s delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_noasm.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_ref.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_s390x.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_s390x.s delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_vmsl_s390x.s delete mode 100644 vendor/golang.org/x/crypto/poly1305/vectors_test.go delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160.go delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160_test.go delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160block.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa2020_amd64.s delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa208.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa20_ref.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa_test.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa20.go delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa20_test.go delete mode 100644 vendor/golang.org/x/crypto/scrypt/example_test.go delete mode 100644 vendor/golang.org/x/crypto/scrypt/scrypt.go delete mode 100644 vendor/golang.org/x/crypto/scrypt/scrypt_test.go delete mode 100644 vendor/golang.org/x/crypto/sha3/doc.go delete mode 100644 vendor/golang.org/x/crypto/sha3/hashes.go delete mode 100644 vendor/golang.org/x/crypto/sha3/hashes_generic.go delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf.go delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.go delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.s delete mode 100644 vendor/golang.org/x/crypto/sha3/register.go delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3.go delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_s390x.go delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_s390x.s delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_test.go delete mode 100644 vendor/golang.org/x/crypto/sha3/shake.go delete mode 100644 vendor/golang.org/x/crypto/sha3/shake_generic.go delete mode 100644 vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate delete mode 100644 vendor/golang.org/x/crypto/sha3/xor.go delete mode 100644 vendor/golang.org/x/crypto/sha3/xor_generic.go delete mode 100644 vendor/golang.org/x/crypto/sha3/xor_unaligned.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/client.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/client_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/example_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/forward.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/keyring.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/keyring_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/server.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/server_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/testdata_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/benchmark_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/buffer.go delete mode 100644 vendor/golang.org/x/crypto/ssh/buffer_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/certs.go delete mode 100644 vendor/golang.org/x/crypto/ssh/certs_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/channel.go delete mode 100644 vendor/golang.org/x/crypto/ssh/cipher.go delete mode 100644 vendor/golang.org/x/crypto/ssh/cipher_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/client.go delete mode 100644 vendor/golang.org/x/crypto/ssh/client_auth.go delete mode 100644 vendor/golang.org/x/crypto/ssh/client_auth_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/client_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/common.go delete mode 100644 vendor/golang.org/x/crypto/ssh/connection.go delete mode 100644 vendor/golang.org/x/crypto/ssh/doc.go delete mode 100644 vendor/golang.org/x/crypto/ssh/example_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/handshake.go delete mode 100644 vendor/golang.org/x/crypto/ssh/handshake_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/kex.go delete mode 100644 vendor/golang.org/x/crypto/ssh/kex_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/keys.go delete mode 100644 vendor/golang.org/x/crypto/ssh/keys_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/knownhosts/knownhosts.go delete mode 100644 vendor/golang.org/x/crypto/ssh/knownhosts/knownhosts_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/mac.go delete mode 100644 vendor/golang.org/x/crypto/ssh/mempipe_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/messages.go delete mode 100644 vendor/golang.org/x/crypto/ssh/messages_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/mux.go delete mode 100644 vendor/golang.org/x/crypto/ssh/mux_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/server.go delete mode 100644 vendor/golang.org/x/crypto/ssh/session.go delete mode 100644 vendor/golang.org/x/crypto/ssh/session_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/streamlocal.go delete mode 100644 vendor/golang.org/x/crypto/ssh/tcpip.go delete mode 100644 vendor/golang.org/x/crypto/ssh/tcpip_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/terminal_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/agent_unix_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/banner_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/cert_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/dial_unix_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/doc.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/forward_unix_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/multi_auth_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/session_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/sshd_test_pw.c delete mode 100644 vendor/golang.org/x/crypto/ssh/test/test_unix_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/test/testdata_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata/doc.go delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata/keys.go delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata_test.go delete mode 100644 vendor/golang.org/x/crypto/ssh/transport.go delete mode 100644 vendor/golang.org/x/crypto/ssh/transport_test.go delete mode 100644 vendor/golang.org/x/crypto/tea/cipher.go delete mode 100644 vendor/golang.org/x/crypto/tea/tea_test.go delete mode 100644 vendor/golang.org/x/crypto/twofish/twofish.go delete mode 100644 vendor/golang.org/x/crypto/twofish/twofish_test.go delete mode 100644 vendor/golang.org/x/crypto/xtea/block.go delete mode 100644 vendor/golang.org/x/crypto/xtea/cipher.go delete mode 100644 vendor/golang.org/x/crypto/xtea/xtea_test.go delete mode 100644 vendor/golang.org/x/crypto/xts/xts.go delete mode 100644 vendor/golang.org/x/crypto/xts/xts_test.go delete mode 100644 vendor/golang.org/x/net/.gitattributes delete mode 100644 vendor/golang.org/x/net/.gitignore delete mode 100644 vendor/golang.org/x/net/CONTRIBUTING.md delete mode 100644 vendor/golang.org/x/net/README.md delete mode 100644 vendor/golang.org/x/net/bpf/asm.go delete mode 100644 vendor/golang.org/x/net/bpf/constants.go delete mode 100644 vendor/golang.org/x/net/bpf/doc.go delete mode 100644 vendor/golang.org/x/net/bpf/instructions.go delete mode 100644 vendor/golang.org/x/net/bpf/instructions_test.go delete mode 100644 vendor/golang.org/x/net/bpf/setter.go delete mode 100644 vendor/golang.org/x/net/bpf/testdata/all_instructions.bpf delete mode 100644 vendor/golang.org/x/net/bpf/testdata/all_instructions.txt delete mode 100644 vendor/golang.org/x/net/bpf/vm.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_aluop_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_bpf_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_extension_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_instructions.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_jump_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_load_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_ret_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_scratch_test.go delete mode 100644 vendor/golang.org/x/net/bpf/vm_test.go delete mode 100644 vendor/golang.org/x/net/codereview.cfg delete mode 100644 vendor/golang.org/x/net/context/context_test.go delete mode 100644 vendor/golang.org/x/net/context/ctxhttp/ctxhttp_17_test.go delete mode 100644 vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17_test.go delete mode 100644 vendor/golang.org/x/net/context/ctxhttp/ctxhttp_test.go delete mode 100644 vendor/golang.org/x/net/context/withtimeout_test.go delete mode 100644 vendor/golang.org/x/net/dict/dict.go delete mode 100644 vendor/golang.org/x/net/dns/dnsmessage/example_test.go delete mode 100644 vendor/golang.org/x/net/dns/dnsmessage/message.go delete mode 100644 vendor/golang.org/x/net/dns/dnsmessage/message_test.go delete mode 100644 vendor/golang.org/x/net/html/atom/atom_test.go delete mode 100644 vendor/golang.org/x/net/html/atom/table_test.go delete mode 100644 vendor/golang.org/x/net/html/charset/charset_test.go delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/HTTP-charset.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-UTF-8-BOM.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-charset.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-content.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/No-encoding-declaration.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/README delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-charset.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-content.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/meta-charset-attribute.html delete mode 100644 vendor/golang.org/x/net/html/charset/testdata/meta-content-attribute.html delete mode 100644 vendor/golang.org/x/net/html/entity_test.go delete mode 100644 vendor/golang.org/x/net/html/escape_test.go delete mode 100644 vendor/golang.org/x/net/html/example_test.go delete mode 100644 vendor/golang.org/x/net/html/node_test.go delete mode 100644 vendor/golang.org/x/net/html/parse_test.go delete mode 100644 vendor/golang.org/x/net/html/render_test.go delete mode 100644 vendor/golang.org/x/net/html/testdata/go/template.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/go1.html delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/README delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/adoption01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/comments01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/doctype01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/entities01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/entities02.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/html5test-com.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/inbody01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/isindex.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/plain-text-unsafe.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/ruby.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/scriptdata01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/scripted/webkit01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tables01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/template.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests1.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests10.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests11.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests12.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests14.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests15.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests16.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests17.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests18.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests19.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests2.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests20.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests21.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests22.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests23.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests24.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests25.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests26.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests3.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests4.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests5.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests6.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests7.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests8.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests9.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tests_innerHTML_1.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/tricky01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/webkit01.dat delete mode 100644 vendor/golang.org/x/net/html/testdata/webkit/webkit02.dat delete mode 100644 vendor/golang.org/x/net/html/token_test.go delete mode 100644 vendor/golang.org/x/net/http/httpguts/guts.go delete mode 100644 vendor/golang.org/x/net/http/httpguts/httplex.go delete mode 100644 vendor/golang.org/x/net/http/httpguts/httplex_test.go delete mode 100644 vendor/golang.org/x/net/http/httpproxy/export_test.go delete mode 100644 vendor/golang.org/x/net/http/httpproxy/go19_test.go delete mode 100644 vendor/golang.org/x/net/http/httpproxy/proxy.go delete mode 100644 vendor/golang.org/x/net/http/httpproxy/proxy_test.go delete mode 100644 vendor/golang.org/x/net/http2/.gitignore delete mode 100644 vendor/golang.org/x/net/http2/Dockerfile delete mode 100644 vendor/golang.org/x/net/http2/Makefile delete mode 100644 vendor/golang.org/x/net/http2/README delete mode 100644 vendor/golang.org/x/net/http2/ciphers.go delete mode 100644 vendor/golang.org/x/net/http2/ciphers_test.go delete mode 100644 vendor/golang.org/x/net/http2/client_conn_pool.go delete mode 100644 vendor/golang.org/x/net/http2/configure_transport.go delete mode 100644 vendor/golang.org/x/net/http2/databuffer.go delete mode 100644 vendor/golang.org/x/net/http2/databuffer_test.go delete mode 100644 vendor/golang.org/x/net/http2/errors.go delete mode 100644 vendor/golang.org/x/net/http2/errors_test.go delete mode 100644 vendor/golang.org/x/net/http2/flow.go delete mode 100644 vendor/golang.org/x/net/http2/flow_test.go delete mode 100644 vendor/golang.org/x/net/http2/frame.go delete mode 100644 vendor/golang.org/x/net/http2/frame_test.go delete mode 100644 vendor/golang.org/x/net/http2/go16.go delete mode 100644 vendor/golang.org/x/net/http2/go17.go delete mode 100644 vendor/golang.org/x/net/http2/go17_not18.go delete mode 100644 vendor/golang.org/x/net/http2/go18.go delete mode 100644 vendor/golang.org/x/net/http2/go18_test.go delete mode 100644 vendor/golang.org/x/net/http2/go19.go delete mode 100644 vendor/golang.org/x/net/http2/go19_test.go delete mode 100644 vendor/golang.org/x/net/http2/gotrack.go delete mode 100644 vendor/golang.org/x/net/http2/gotrack_test.go delete mode 100644 vendor/golang.org/x/net/http2/h2demo/.gitignore delete mode 100644 vendor/golang.org/x/net/http2/h2demo/Dockerfile delete mode 100644 vendor/golang.org/x/net/http2/h2demo/Dockerfile.0 delete mode 100644 vendor/golang.org/x/net/http2/h2demo/Makefile delete mode 100644 vendor/golang.org/x/net/http2/h2demo/README delete mode 100644 vendor/golang.org/x/net/http2/h2demo/deployment-prod.yaml delete mode 100644 vendor/golang.org/x/net/http2/h2demo/h2demo.go delete mode 100644 vendor/golang.org/x/net/http2/h2demo/launch.go delete mode 100644 vendor/golang.org/x/net/http2/h2demo/rootCA.key delete mode 100644 vendor/golang.org/x/net/http2/h2demo/rootCA.pem delete mode 100644 vendor/golang.org/x/net/http2/h2demo/rootCA.srl delete mode 100644 vendor/golang.org/x/net/http2/h2demo/server.crt delete mode 100644 vendor/golang.org/x/net/http2/h2demo/server.key delete mode 100644 vendor/golang.org/x/net/http2/h2demo/service.yaml delete mode 100644 vendor/golang.org/x/net/http2/h2demo/tmpl.go delete mode 100644 vendor/golang.org/x/net/http2/h2i/README.md delete mode 100644 vendor/golang.org/x/net/http2/h2i/h2i.go delete mode 100644 vendor/golang.org/x/net/http2/headermap.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/encode.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/encode_test.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/hpack.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/hpack_test.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/huffman.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/tables.go delete mode 100644 vendor/golang.org/x/net/http2/hpack/tables_test.go delete mode 100644 vendor/golang.org/x/net/http2/http2.go delete mode 100644 vendor/golang.org/x/net/http2/http2_test.go delete mode 100644 vendor/golang.org/x/net/http2/not_go16.go delete mode 100644 vendor/golang.org/x/net/http2/not_go17.go delete mode 100644 vendor/golang.org/x/net/http2/not_go18.go delete mode 100644 vendor/golang.org/x/net/http2/not_go19.go delete mode 100644 vendor/golang.org/x/net/http2/pipe.go delete mode 100644 vendor/golang.org/x/net/http2/pipe_test.go delete mode 100644 vendor/golang.org/x/net/http2/server.go delete mode 100644 vendor/golang.org/x/net/http2/server_push_test.go delete mode 100644 vendor/golang.org/x/net/http2/server_test.go delete mode 100644 vendor/golang.org/x/net/http2/testdata/draft-ietf-httpbis-http2.xml delete mode 100644 vendor/golang.org/x/net/http2/transport.go delete mode 100644 vendor/golang.org/x/net/http2/transport_test.go delete mode 100644 vendor/golang.org/x/net/http2/write.go delete mode 100644 vendor/golang.org/x/net/http2/writesched.go delete mode 100644 vendor/golang.org/x/net/http2/writesched_priority.go delete mode 100644 vendor/golang.org/x/net/http2/writesched_priority_test.go delete mode 100644 vendor/golang.org/x/net/http2/writesched_random.go delete mode 100644 vendor/golang.org/x/net/http2/writesched_random_test.go delete mode 100644 vendor/golang.org/x/net/http2/writesched_test.go delete mode 100644 vendor/golang.org/x/net/http2/z_spec_test.go delete mode 100644 vendor/golang.org/x/net/icmp/diag_test.go delete mode 100644 vendor/golang.org/x/net/icmp/dstunreach.go delete mode 100644 vendor/golang.org/x/net/icmp/echo.go delete mode 100644 vendor/golang.org/x/net/icmp/endpoint.go delete mode 100644 vendor/golang.org/x/net/icmp/example_test.go delete mode 100644 vendor/golang.org/x/net/icmp/extension.go delete mode 100644 vendor/golang.org/x/net/icmp/extension_test.go delete mode 100644 vendor/golang.org/x/net/icmp/helper_posix.go delete mode 100644 vendor/golang.org/x/net/icmp/interface.go delete mode 100644 vendor/golang.org/x/net/icmp/ipv4.go delete mode 100644 vendor/golang.org/x/net/icmp/ipv4_test.go delete mode 100644 vendor/golang.org/x/net/icmp/ipv6.go delete mode 100644 vendor/golang.org/x/net/icmp/listen_posix.go delete mode 100644 vendor/golang.org/x/net/icmp/listen_stub.go delete mode 100644 vendor/golang.org/x/net/icmp/message.go delete mode 100644 vendor/golang.org/x/net/icmp/message_test.go delete mode 100644 vendor/golang.org/x/net/icmp/messagebody.go delete mode 100644 vendor/golang.org/x/net/icmp/mpls.go delete mode 100644 vendor/golang.org/x/net/icmp/multipart.go delete mode 100644 vendor/golang.org/x/net/icmp/multipart_test.go delete mode 100644 vendor/golang.org/x/net/icmp/packettoobig.go delete mode 100644 vendor/golang.org/x/net/icmp/paramprob.go delete mode 100644 vendor/golang.org/x/net/icmp/sys_freebsd.go delete mode 100644 vendor/golang.org/x/net/icmp/timeexceeded.go delete mode 100644 vendor/golang.org/x/net/idna/example_test.go delete mode 100644 vendor/golang.org/x/net/idna/idna.go delete mode 100644 vendor/golang.org/x/net/idna/idna_test.go delete mode 100644 vendor/golang.org/x/net/idna/punycode.go delete mode 100644 vendor/golang.org/x/net/idna/punycode_test.go delete mode 100644 vendor/golang.org/x/net/idna/tables.go delete mode 100644 vendor/golang.org/x/net/idna/trie.go delete mode 100644 vendor/golang.org/x/net/idna/trieval.go delete mode 100644 vendor/golang.org/x/net/internal/iana/const.go delete mode 100644 vendor/golang.org/x/net/internal/iana/gen.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_bsd.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_nobsd.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_posix.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_stub.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_unix.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/helper_windows.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/interface.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/rlimit.go delete mode 100644 vendor/golang.org/x/net/internal/nettest/stack.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr_linux_32bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr_solaris_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/cmsghdr_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_darwin.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_dragonfly.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_freebsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_linux.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_netbsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_openbsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/defs_solaris.go delete mode 100644 vendor/golang.org/x/net/internal/socket/error_unix.go delete mode 100644 vendor/golang.org/x/net/internal/socket/error_windows.go delete mode 100644 vendor/golang.org/x/net/internal/socket/iovec_32bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/iovec_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/iovec_solaris_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/iovec_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/mmsghdr_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/mmsghdr_unix.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_bsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_linux.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_linux_32bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_solaris_64bit.go delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn_mmsg.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn_msg.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn_nommsg.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn_nomsg.go delete mode 100644 vendor/golang.org/x/net/internal/socket/rawconn_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/reflect.go delete mode 100644 vendor/golang.org/x/net/internal/socket/socket.go delete mode 100644 vendor/golang.org/x/net/internal/socket/socket_go1_9_test.go delete mode 100644 vendor/golang.org/x/net/internal/socket/socket_test.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_bsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_bsdvar.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_darwin.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_386.s delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_mips.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_s390x.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_linux_s390x.s delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_netbsd.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_posix.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_solaris.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_solaris_amd64.s delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_stub.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_unix.go delete mode 100644 vendor/golang.org/x/net/internal/socket/sys_windows.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_darwin_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_darwin_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_darwin_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_darwin_arm64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_freebsd_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_freebsd_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_arm64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_mips.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_mips64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_mips64le.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_mipsle.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_linux_s390x.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_netbsd_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_netbsd_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_openbsd_386.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_openbsd_arm.go delete mode 100644 vendor/golang.org/x/net/internal/socket/zsys_solaris_amd64.go delete mode 100644 vendor/golang.org/x/net/internal/socks/client.go delete mode 100644 vendor/golang.org/x/net/internal/socks/dial_test.go delete mode 100644 vendor/golang.org/x/net/internal/socks/socks.go delete mode 100644 vendor/golang.org/x/net/internal/sockstest/server.go delete mode 100644 vendor/golang.org/x/net/internal/sockstest/server_test.go delete mode 100644 vendor/golang.org/x/net/internal/timeseries/timeseries.go delete mode 100644 vendor/golang.org/x/net/internal/timeseries/timeseries_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/batch.go delete mode 100644 vendor/golang.org/x/net/ipv4/bpf_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/control.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_bsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_pktinfo.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_unix.go delete mode 100644 vendor/golang.org/x/net/ipv4/control_windows.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_dragonfly.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_freebsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_linux.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_netbsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_openbsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/defs_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv4/dgramopt.go delete mode 100644 vendor/golang.org/x/net/ipv4/doc.go delete mode 100644 vendor/golang.org/x/net/ipv4/endpoint.go delete mode 100644 vendor/golang.org/x/net/ipv4/example_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/gen.go delete mode 100644 vendor/golang.org/x/net/ipv4/genericopt.go delete mode 100644 vendor/golang.org/x/net/ipv4/header.go delete mode 100644 vendor/golang.org/x/net/ipv4/header_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/helper.go delete mode 100644 vendor/golang.org/x/net/ipv4/iana.go delete mode 100644 vendor/golang.org/x/net/ipv4/icmp.go delete mode 100644 vendor/golang.org/x/net/ipv4/icmp_linux.go delete mode 100644 vendor/golang.org/x/net/ipv4/icmp_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/icmp_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/multicast_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/multicastlistener_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/multicastsockopt_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/packet.go delete mode 100644 vendor/golang.org/x/net/ipv4/packet_go1_8.go delete mode 100644 vendor/golang.org/x/net/ipv4/packet_go1_9.go delete mode 100644 vendor/golang.org/x/net/ipv4/payload.go delete mode 100644 vendor/golang.org/x/net/ipv4/payload_cmsg.go delete mode 100644 vendor/golang.org/x/net/ipv4/payload_cmsg_go1_8.go delete mode 100644 vendor/golang.org/x/net/ipv4/payload_cmsg_go1_9.go delete mode 100644 vendor/golang.org/x/net/ipv4/payload_nocmsg.go delete mode 100644 vendor/golang.org/x/net/ipv4/readwrite_go1_8_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/readwrite_go1_9_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/readwrite_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/sockopt.go delete mode 100644 vendor/golang.org/x/net/ipv4/sockopt_posix.go delete mode 100644 vendor/golang.org/x/net/ipv4/sockopt_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_asmreq.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_asmreq_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_asmreqn.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_asmreqn_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_bpf.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_bpf_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_bsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_freebsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_linux.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_ssmreq.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_ssmreq_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_stub.go delete mode 100644 vendor/golang.org/x/net/ipv4/sys_windows.go delete mode 100644 vendor/golang.org/x/net/ipv4/unicast_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/unicastsockopt_test.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_freebsd_386.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_freebsd_arm.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_386.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_amd64.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_arm.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_arm64.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mips.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mips64.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mips64le.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mipsle.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_ppc.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_s390x.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_netbsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_openbsd.go delete mode 100644 vendor/golang.org/x/net/ipv4/zsys_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv6/batch.go delete mode 100644 vendor/golang.org/x/net/ipv6/bpf_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/control.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_rfc2292_unix.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_rfc3542_unix.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_unix.go delete mode 100644 vendor/golang.org/x/net/ipv6/control_windows.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_dragonfly.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_freebsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_linux.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_netbsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_openbsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/defs_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv6/dgramopt.go delete mode 100644 vendor/golang.org/x/net/ipv6/doc.go delete mode 100644 vendor/golang.org/x/net/ipv6/endpoint.go delete mode 100644 vendor/golang.org/x/net/ipv6/example_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/gen.go delete mode 100644 vendor/golang.org/x/net/ipv6/genericopt.go delete mode 100644 vendor/golang.org/x/net/ipv6/header.go delete mode 100644 vendor/golang.org/x/net/ipv6/header_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/helper.go delete mode 100644 vendor/golang.org/x/net/ipv6/iana.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_bsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_linux.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/icmp_windows.go delete mode 100644 vendor/golang.org/x/net/ipv6/mocktransponder_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/multicast_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/multicastlistener_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/multicastsockopt_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/payload.go delete mode 100644 vendor/golang.org/x/net/ipv6/payload_cmsg.go delete mode 100644 vendor/golang.org/x/net/ipv6/payload_cmsg_go1_8.go delete mode 100644 vendor/golang.org/x/net/ipv6/payload_cmsg_go1_9.go delete mode 100644 vendor/golang.org/x/net/ipv6/payload_nocmsg.go delete mode 100644 vendor/golang.org/x/net/ipv6/readwrite_go1_8_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/readwrite_go1_9_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/readwrite_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/sockopt.go delete mode 100644 vendor/golang.org/x/net/ipv6/sockopt_posix.go delete mode 100644 vendor/golang.org/x/net/ipv6/sockopt_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/sockopt_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_asmreq.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_asmreq_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_bpf.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_bpf_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_bsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_freebsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_linux.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_solaris.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_ssmreq.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_ssmreq_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_stub.go delete mode 100644 vendor/golang.org/x/net/ipv6/sys_windows.go delete mode 100644 vendor/golang.org/x/net/ipv6/unicast_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/unicastsockopt_test.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_darwin.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_freebsd_386.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_freebsd_arm.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_386.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_amd64.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_arm.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_arm64.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mips.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mips64.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mips64le.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mipsle.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_ppc.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_ppc64.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_s390x.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_netbsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_openbsd.go delete mode 100644 vendor/golang.org/x/net/ipv6/zsys_solaris.go delete mode 100644 vendor/golang.org/x/net/lif/address.go delete mode 100644 vendor/golang.org/x/net/lif/address_test.go delete mode 100644 vendor/golang.org/x/net/lif/binary.go delete mode 100644 vendor/golang.org/x/net/lif/defs_solaris.go delete mode 100644 vendor/golang.org/x/net/lif/lif.go delete mode 100644 vendor/golang.org/x/net/lif/link.go delete mode 100644 vendor/golang.org/x/net/lif/link_test.go delete mode 100644 vendor/golang.org/x/net/lif/sys.go delete mode 100644 vendor/golang.org/x/net/lif/sys_solaris_amd64.s delete mode 100644 vendor/golang.org/x/net/lif/syscall.go delete mode 100644 vendor/golang.org/x/net/lif/zsys_solaris_amd64.go delete mode 100644 vendor/golang.org/x/net/nettest/conntest.go delete mode 100644 vendor/golang.org/x/net/nettest/conntest_go16.go delete mode 100644 vendor/golang.org/x/net/nettest/conntest_go17.go delete mode 100644 vendor/golang.org/x/net/nettest/conntest_test.go delete mode 100644 vendor/golang.org/x/net/netutil/listen.go delete mode 100644 vendor/golang.org/x/net/netutil/listen_test.go delete mode 100644 vendor/golang.org/x/net/proxy/direct.go delete mode 100644 vendor/golang.org/x/net/proxy/per_host.go delete mode 100644 vendor/golang.org/x/net/proxy/per_host_test.go delete mode 100644 vendor/golang.org/x/net/proxy/proxy.go delete mode 100644 vendor/golang.org/x/net/proxy/proxy_test.go delete mode 100644 vendor/golang.org/x/net/proxy/socks5.go delete mode 100644 vendor/golang.org/x/net/publicsuffix/gen.go delete mode 100644 vendor/golang.org/x/net/publicsuffix/list.go delete mode 100644 vendor/golang.org/x/net/publicsuffix/list_test.go delete mode 100644 vendor/golang.org/x/net/publicsuffix/table.go delete mode 100644 vendor/golang.org/x/net/publicsuffix/table_test.go delete mode 100644 vendor/golang.org/x/net/route/address.go delete mode 100644 vendor/golang.org/x/net/route/address_darwin_test.go delete mode 100644 vendor/golang.org/x/net/route/address_test.go delete mode 100644 vendor/golang.org/x/net/route/binary.go delete mode 100644 vendor/golang.org/x/net/route/defs_darwin.go delete mode 100644 vendor/golang.org/x/net/route/defs_dragonfly.go delete mode 100644 vendor/golang.org/x/net/route/defs_freebsd.go delete mode 100644 vendor/golang.org/x/net/route/defs_netbsd.go delete mode 100644 vendor/golang.org/x/net/route/defs_openbsd.go delete mode 100644 vendor/golang.org/x/net/route/interface.go delete mode 100644 vendor/golang.org/x/net/route/interface_announce.go delete mode 100644 vendor/golang.org/x/net/route/interface_classic.go delete mode 100644 vendor/golang.org/x/net/route/interface_freebsd.go delete mode 100644 vendor/golang.org/x/net/route/interface_multicast.go delete mode 100644 vendor/golang.org/x/net/route/interface_openbsd.go delete mode 100644 vendor/golang.org/x/net/route/message.go delete mode 100644 vendor/golang.org/x/net/route/message_darwin_test.go delete mode 100644 vendor/golang.org/x/net/route/message_freebsd_test.go delete mode 100644 vendor/golang.org/x/net/route/message_test.go delete mode 100644 vendor/golang.org/x/net/route/route.go delete mode 100644 vendor/golang.org/x/net/route/route_classic.go delete mode 100644 vendor/golang.org/x/net/route/route_openbsd.go delete mode 100644 vendor/golang.org/x/net/route/route_test.go delete mode 100644 vendor/golang.org/x/net/route/sys.go delete mode 100644 vendor/golang.org/x/net/route/sys_darwin.go delete mode 100644 vendor/golang.org/x/net/route/sys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/route/sys_freebsd.go delete mode 100644 vendor/golang.org/x/net/route/sys_netbsd.go delete mode 100644 vendor/golang.org/x/net/route/sys_openbsd.go delete mode 100644 vendor/golang.org/x/net/route/syscall.go delete mode 100644 vendor/golang.org/x/net/route/zsys_darwin.go delete mode 100644 vendor/golang.org/x/net/route/zsys_dragonfly.go delete mode 100644 vendor/golang.org/x/net/route/zsys_freebsd_386.go delete mode 100644 vendor/golang.org/x/net/route/zsys_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/net/route/zsys_freebsd_arm.go delete mode 100644 vendor/golang.org/x/net/route/zsys_netbsd.go delete mode 100644 vendor/golang.org/x/net/route/zsys_openbsd.go delete mode 100644 vendor/golang.org/x/net/trace/events.go delete mode 100644 vendor/golang.org/x/net/trace/histogram.go delete mode 100644 vendor/golang.org/x/net/trace/histogram_test.go delete mode 100644 vendor/golang.org/x/net/trace/trace.go delete mode 100644 vendor/golang.org/x/net/trace/trace_go16.go delete mode 100644 vendor/golang.org/x/net/trace/trace_go17.go delete mode 100644 vendor/golang.org/x/net/trace/trace_test.go delete mode 100644 vendor/golang.org/x/net/webdav/file.go delete mode 100644 vendor/golang.org/x/net/webdav/file_go1.6.go delete mode 100644 vendor/golang.org/x/net/webdav/file_go1.7.go delete mode 100644 vendor/golang.org/x/net/webdav/file_test.go delete mode 100644 vendor/golang.org/x/net/webdav/if.go delete mode 100644 vendor/golang.org/x/net/webdav/if_test.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/README delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/atom_test.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/example_test.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/marshal.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/marshal_test.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/read.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/read_test.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/typeinfo.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/xml.go delete mode 100644 vendor/golang.org/x/net/webdav/internal/xml/xml_test.go delete mode 100644 vendor/golang.org/x/net/webdav/litmus_test_server.go delete mode 100644 vendor/golang.org/x/net/webdav/lock.go delete mode 100644 vendor/golang.org/x/net/webdav/lock_test.go delete mode 100644 vendor/golang.org/x/net/webdav/prop.go delete mode 100644 vendor/golang.org/x/net/webdav/prop_test.go delete mode 100644 vendor/golang.org/x/net/webdav/webdav.go delete mode 100644 vendor/golang.org/x/net/webdav/webdav_test.go delete mode 100644 vendor/golang.org/x/net/webdav/xml.go delete mode 100644 vendor/golang.org/x/net/webdav/xml_test.go delete mode 100644 vendor/golang.org/x/net/websocket/client.go delete mode 100644 vendor/golang.org/x/net/websocket/dial.go delete mode 100644 vendor/golang.org/x/net/websocket/dial_test.go delete mode 100644 vendor/golang.org/x/net/websocket/exampledial_test.go delete mode 100644 vendor/golang.org/x/net/websocket/examplehandler_test.go delete mode 100644 vendor/golang.org/x/net/websocket/hybi.go delete mode 100644 vendor/golang.org/x/net/websocket/hybi_test.go delete mode 100644 vendor/golang.org/x/net/websocket/server.go delete mode 100644 vendor/golang.org/x/net/websocket/websocket.go delete mode 100644 vendor/golang.org/x/net/websocket/websocket_test.go delete mode 100644 vendor/golang.org/x/net/xsrftoken/xsrf.go delete mode 100644 vendor/golang.org/x/net/xsrftoken/xsrf_test.go delete mode 100644 vendor/golang.org/x/oauth2/amazon/amazon.go delete mode 100644 vendor/golang.org/x/oauth2/bitbucket/bitbucket.go delete mode 100644 vendor/golang.org/x/oauth2/cern/cern.go delete mode 100644 vendor/golang.org/x/oauth2/clientcredentials/clientcredentials.go delete mode 100644 vendor/golang.org/x/oauth2/clientcredentials/clientcredentials_test.go delete mode 100644 vendor/golang.org/x/oauth2/example_test.go delete mode 100644 vendor/golang.org/x/oauth2/facebook/facebook.go delete mode 100644 vendor/golang.org/x/oauth2/fitbit/fitbit.go delete mode 100644 vendor/golang.org/x/oauth2/foursquare/foursquare.go delete mode 100644 vendor/golang.org/x/oauth2/github/github.go delete mode 100644 vendor/golang.org/x/oauth2/gitlab/gitlab.go delete mode 100644 vendor/golang.org/x/oauth2/google/appengine.go delete mode 100644 vendor/golang.org/x/oauth2/google/appengine_hook.go delete mode 100644 vendor/golang.org/x/oauth2/google/appengineflex_hook.go delete mode 100644 vendor/golang.org/x/oauth2/google/default.go delete mode 100644 vendor/golang.org/x/oauth2/google/doc_go19.go delete mode 100644 vendor/golang.org/x/oauth2/google/doc_not_go19.go delete mode 100644 vendor/golang.org/x/oauth2/google/example_test.go delete mode 100644 vendor/golang.org/x/oauth2/google/go19.go delete mode 100644 vendor/golang.org/x/oauth2/google/google.go delete mode 100644 vendor/golang.org/x/oauth2/google/google_test.go delete mode 100644 vendor/golang.org/x/oauth2/google/jwt.go delete mode 100644 vendor/golang.org/x/oauth2/google/jwt_test.go delete mode 100644 vendor/golang.org/x/oauth2/google/not_go19.go delete mode 100644 vendor/golang.org/x/oauth2/google/sdk.go delete mode 100644 vendor/golang.org/x/oauth2/google/sdk_test.go delete mode 100644 vendor/golang.org/x/oauth2/google/testdata/gcloud/credentials delete mode 100644 vendor/golang.org/x/oauth2/google/testdata/gcloud/properties delete mode 100644 vendor/golang.org/x/oauth2/heroku/heroku.go delete mode 100644 vendor/golang.org/x/oauth2/hipchat/hipchat.go delete mode 100644 vendor/golang.org/x/oauth2/internal/token_test.go delete mode 100644 vendor/golang.org/x/oauth2/jira/jira.go delete mode 100644 vendor/golang.org/x/oauth2/jira/jira_test.go delete mode 100644 vendor/golang.org/x/oauth2/jws/jws.go delete mode 100644 vendor/golang.org/x/oauth2/jws/jws_test.go delete mode 100644 vendor/golang.org/x/oauth2/jwt/example_test.go delete mode 100644 vendor/golang.org/x/oauth2/jwt/jwt.go delete mode 100644 vendor/golang.org/x/oauth2/jwt/jwt_test.go delete mode 100644 vendor/golang.org/x/oauth2/kakao/kakao.go delete mode 100644 vendor/golang.org/x/oauth2/linkedin/linkedin.go delete mode 100644 vendor/golang.org/x/oauth2/mailchimp/mailchimp.go delete mode 100644 vendor/golang.org/x/oauth2/mailru/mailru.go delete mode 100644 vendor/golang.org/x/oauth2/mediamath/mediamath.go delete mode 100644 vendor/golang.org/x/oauth2/microsoft/microsoft.go delete mode 100644 vendor/golang.org/x/oauth2/oauth2_test.go delete mode 100644 vendor/golang.org/x/oauth2/odnoklassniki/odnoklassniki.go delete mode 100644 vendor/golang.org/x/oauth2/paypal/paypal.go delete mode 100644 vendor/golang.org/x/oauth2/slack/slack.go delete mode 100644 vendor/golang.org/x/oauth2/spotify/spotify.go delete mode 100644 vendor/golang.org/x/oauth2/stackoverflow/stackoverflow.go delete mode 100644 vendor/golang.org/x/oauth2/token_test.go delete mode 100644 vendor/golang.org/x/oauth2/transport_test.go delete mode 100644 vendor/golang.org/x/oauth2/twitch/twitch.go delete mode 100644 vendor/golang.org/x/oauth2/uber/uber.go delete mode 100644 vendor/golang.org/x/oauth2/vk/vk.go delete mode 100644 vendor/golang.org/x/oauth2/yahoo/yahoo.go delete mode 100644 vendor/golang.org/x/oauth2/yandex/yandex.go delete mode 100644 vendor/golang.org/x/sys/.gitattributes delete mode 100644 vendor/golang.org/x/sys/.gitignore delete mode 100644 vendor/golang.org/x/sys/CONTRIBUTING.md delete mode 100644 vendor/golang.org/x/sys/README.md delete mode 100644 vendor/golang.org/x/sys/codereview.cfg delete mode 100644 vendor/golang.org/x/sys/cpu/cpu.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_arm.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_arm64.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_gc_x86.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_gccgo.c delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_gccgo.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_mips64x.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_mipsx.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_s390x.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_test.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_x86.go delete mode 100644 vendor/golang.org/x/sys/cpu/cpu_x86.s delete mode 100644 vendor/golang.org/x/sys/plan9/asm.s delete mode 100644 vendor/golang.org/x/sys/plan9/asm_plan9_386.s delete mode 100644 vendor/golang.org/x/sys/plan9/asm_plan9_amd64.s delete mode 100644 vendor/golang.org/x/sys/plan9/asm_plan9_arm.s delete mode 100644 vendor/golang.org/x/sys/plan9/const_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/dir_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/env_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/errors_plan9.go delete mode 100755 vendor/golang.org/x/sys/plan9/mkall.sh delete mode 100755 vendor/golang.org/x/sys/plan9/mkerrors.sh delete mode 100755 vendor/golang.org/x/sys/plan9/mksyscall.pl delete mode 100755 vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh delete mode 100644 vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/pwd_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/race.go delete mode 100644 vendor/golang.org/x/sys/plan9/race0.go delete mode 100644 vendor/golang.org/x/sys/plan9/str.go delete mode 100644 vendor/golang.org/x/sys/plan9/syscall.go delete mode 100644 vendor/golang.org/x/sys/plan9/syscall_plan9.go delete mode 100644 vendor/golang.org/x/sys/plan9/syscall_test.go delete mode 100644 vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go delete mode 100644 vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go delete mode 100644 vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go delete mode 100644 vendor/golang.org/x/sys/plan9/zsysnum_plan9.go rename vendor/golang.org/x/sys/unix/{example_test.go => aliases.go} (56%) delete mode 100644 vendor/golang.org/x/sys/unix/creds_test.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_linux_test.go delete mode 100644 vendor/golang.org/x/sys/unix/export_test.go create mode 100644 vendor/golang.org/x/sys/unix/ioctl.go delete mode 100644 vendor/golang.org/x/sys/unix/linux/Dockerfile delete mode 100644 vendor/golang.org/x/sys/unix/linux/mkall.go delete mode 100755 vendor/golang.org/x/sys/unix/linux/mksysnum.pl delete mode 100644 vendor/golang.org/x/sys/unix/linux/types.go mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mkall.sh mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mkerrors.sh mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksyscall.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksyscall_solaris.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysnum_darwin.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl mode change 100755 => 100644 vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl delete mode 100644 vendor/golang.org/x/sys/unix/mmap_unix_test.go delete mode 100644 vendor/golang.org/x/sys/unix/openbsd_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_bsd_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_solaris_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_test.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_unix_test.go delete mode 100644 vendor/golang.org/x/sys/unix/timestruct_test.go create mode 100644 vendor/golang.org/x/sys/unix/xattr_bsd.go delete mode 100644 vendor/golang.org/x/sys/unix/xattr_test.go rename vendor/golang.org/x/sys/{cpu/cpu_ppc64x.go => windows/aliases.go} (54%) delete mode 100644 vendor/golang.org/x/sys/windows/registry/export_test.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/key.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/mksyscall.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/registry_test.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/syscall.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/value.go delete mode 100644 vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/debug/log.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/debug/service.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/event.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/eventlog/install.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/eventlog/log.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/eventlog/log_test.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/example/beep.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/example/install.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/example/main.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/example/manage.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/example/service.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/go12.c delete mode 100644 vendor/golang.org/x/sys/windows/svc/go12.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/go13.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/mgr/config.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/mgr/mgr.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/mgr/mgr_test.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/mgr/recovery.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/mgr/service.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/security.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/service.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/svc_test.go delete mode 100644 vendor/golang.org/x/sys/windows/svc/sys_386.s delete mode 100644 vendor/golang.org/x/sys/windows/svc/sys_amd64.s delete mode 100644 vendor/golang.org/x/sys/windows/syscall_test.go delete mode 100644 vendor/golang.org/x/sys/windows/syscall_windows_test.go delete mode 100644 vendor/golang.org/x/text/.gitattributes delete mode 100644 vendor/golang.org/x/text/.gitignore delete mode 100644 vendor/golang.org/x/text/CONTRIBUTING.md delete mode 100644 vendor/golang.org/x/text/README.md delete mode 100644 vendor/golang.org/x/text/cases/cases.go delete mode 100644 vendor/golang.org/x/text/cases/context.go delete mode 100644 vendor/golang.org/x/text/cases/context_test.go delete mode 100644 vendor/golang.org/x/text/cases/example_test.go delete mode 100644 vendor/golang.org/x/text/cases/fold.go delete mode 100644 vendor/golang.org/x/text/cases/fold_test.go delete mode 100644 vendor/golang.org/x/text/cases/gen.go delete mode 100644 vendor/golang.org/x/text/cases/gen_trieval.go delete mode 100644 vendor/golang.org/x/text/cases/icu.go delete mode 100644 vendor/golang.org/x/text/cases/icu_test.go delete mode 100644 vendor/golang.org/x/text/cases/info.go delete mode 100644 vendor/golang.org/x/text/cases/map.go delete mode 100644 vendor/golang.org/x/text/cases/map_test.go delete mode 100644 vendor/golang.org/x/text/cases/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/cases/tables10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/cases/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/cases/tables9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/cases/trieval.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/common.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/doc.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/extract/catalog.go delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/extracted.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/out.gotext.json delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/extract/main.go delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/locales/de/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/locales/en-US/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/locales/extracted.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/locales/zh/out.gotext.json delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/main.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/extract_http/pkg/pkg.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/rewrite/main.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/examples/rewrite/printer.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/extract.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/generate.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/main.go delete mode 100644 vendor/golang.org/x/text/cmd/gotext/rewrite.go delete mode 100644 vendor/golang.org/x/text/codereview.cfg delete mode 100644 vendor/golang.org/x/text/collate/build/builder.go delete mode 100644 vendor/golang.org/x/text/collate/build/builder_test.go delete mode 100644 vendor/golang.org/x/text/collate/build/colelem.go delete mode 100644 vendor/golang.org/x/text/collate/build/colelem_test.go delete mode 100644 vendor/golang.org/x/text/collate/build/contract.go delete mode 100644 vendor/golang.org/x/text/collate/build/contract_test.go delete mode 100644 vendor/golang.org/x/text/collate/build/order.go delete mode 100644 vendor/golang.org/x/text/collate/build/order_test.go delete mode 100644 vendor/golang.org/x/text/collate/build/table.go delete mode 100644 vendor/golang.org/x/text/collate/build/trie.go delete mode 100644 vendor/golang.org/x/text/collate/build/trie_test.go delete mode 100644 vendor/golang.org/x/text/collate/collate.go delete mode 100644 vendor/golang.org/x/text/collate/collate_test.go delete mode 100644 vendor/golang.org/x/text/collate/export_test.go delete mode 100644 vendor/golang.org/x/text/collate/index.go delete mode 100644 vendor/golang.org/x/text/collate/maketables.go delete mode 100644 vendor/golang.org/x/text/collate/option.go delete mode 100644 vendor/golang.org/x/text/collate/option_test.go delete mode 100644 vendor/golang.org/x/text/collate/reg_test.go delete mode 100644 vendor/golang.org/x/text/collate/sort.go delete mode 100644 vendor/golang.org/x/text/collate/sort_test.go delete mode 100644 vendor/golang.org/x/text/collate/table_test.go delete mode 100644 vendor/golang.org/x/text/collate/tables.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/Makefile delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/chars.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/col.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/colcmp.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/darwin.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/gen.go delete mode 100644 vendor/golang.org/x/text/collate/tools/colcmp/icu.go delete mode 100644 vendor/golang.org/x/text/currency/common.go delete mode 100644 vendor/golang.org/x/text/currency/currency.go delete mode 100644 vendor/golang.org/x/text/currency/currency_test.go delete mode 100644 vendor/golang.org/x/text/currency/example_test.go delete mode 100644 vendor/golang.org/x/text/currency/format.go delete mode 100644 vendor/golang.org/x/text/currency/format_test.go delete mode 100644 vendor/golang.org/x/text/currency/gen.go delete mode 100644 vendor/golang.org/x/text/currency/gen_common.go delete mode 100644 vendor/golang.org/x/text/currency/query.go delete mode 100644 vendor/golang.org/x/text/currency/query_test.go delete mode 100644 vendor/golang.org/x/text/currency/tables.go delete mode 100644 vendor/golang.org/x/text/currency/tables_test.go delete mode 100644 vendor/golang.org/x/text/date/data_test.go delete mode 100644 vendor/golang.org/x/text/date/gen.go delete mode 100644 vendor/golang.org/x/text/date/gen_test.go delete mode 100644 vendor/golang.org/x/text/date/tables.go delete mode 100644 vendor/golang.org/x/text/doc.go delete mode 100644 vendor/golang.org/x/text/encoding/charmap/charmap_test.go delete mode 100644 vendor/golang.org/x/text/encoding/encoding_test.go delete mode 100644 vendor/golang.org/x/text/encoding/example_test.go delete mode 100644 vendor/golang.org/x/text/encoding/htmlindex/htmlindex_test.go delete mode 100644 vendor/golang.org/x/text/encoding/ianaindex/example_test.go delete mode 100644 vendor/golang.org/x/text/encoding/ianaindex/gen.go delete mode 100644 vendor/golang.org/x/text/encoding/ianaindex/ianaindex.go delete mode 100644 vendor/golang.org/x/text/encoding/ianaindex/ianaindex_test.go delete mode 100644 vendor/golang.org/x/text/encoding/ianaindex/tables.go delete mode 100644 vendor/golang.org/x/text/encoding/internal/enctest/enctest.go delete mode 100644 vendor/golang.org/x/text/encoding/japanese/all_test.go delete mode 100644 vendor/golang.org/x/text/encoding/korean/all_test.go delete mode 100644 vendor/golang.org/x/text/encoding/simplifiedchinese/all_test.go delete mode 100644 vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/candide-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/rashomon-iso-2022-jp.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/rashomon-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-hz-gb2312.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt delete mode 100644 vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-utf-8.txt delete mode 100644 vendor/golang.org/x/text/encoding/traditionalchinese/all_test.go delete mode 100644 vendor/golang.org/x/text/encoding/unicode/unicode_test.go delete mode 100644 vendor/golang.org/x/text/encoding/unicode/utf32/utf32.go delete mode 100644 vendor/golang.org/x/text/encoding/unicode/utf32/utf32_test.go delete mode 100644 vendor/golang.org/x/text/feature/plural/common.go delete mode 100644 vendor/golang.org/x/text/feature/plural/data_test.go delete mode 100644 vendor/golang.org/x/text/feature/plural/example_test.go delete mode 100644 vendor/golang.org/x/text/feature/plural/gen.go delete mode 100644 vendor/golang.org/x/text/feature/plural/gen_common.go delete mode 100644 vendor/golang.org/x/text/feature/plural/message.go delete mode 100644 vendor/golang.org/x/text/feature/plural/message_test.go delete mode 100644 vendor/golang.org/x/text/feature/plural/plural.go delete mode 100644 vendor/golang.org/x/text/feature/plural/plural_test.go delete mode 100644 vendor/golang.org/x/text/feature/plural/tables.go delete mode 100644 vendor/golang.org/x/text/gen.go delete mode 100644 vendor/golang.org/x/text/internal/catmsg/catmsg.go delete mode 100644 vendor/golang.org/x/text/internal/catmsg/catmsg_test.go delete mode 100644 vendor/golang.org/x/text/internal/catmsg/codec.go delete mode 100644 vendor/golang.org/x/text/internal/catmsg/varint.go delete mode 100644 vendor/golang.org/x/text/internal/catmsg/varint_test.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/cldrtree.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/cldrtree_test.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/generate.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/option.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test1/common/main/root.xml delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test1/output.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test2/common/main/en.xml delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test2/common/main/en_001.xml delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test2/common/main/en_GB.xml delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test2/common/main/root.xml delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/testdata/test2/output.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/tree.go delete mode 100644 vendor/golang.org/x/text/internal/cldrtree/type.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/collate_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/collelem.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/collelem_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/colltab.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/colltab_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/contract.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/contract_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/iter.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/iter_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/numeric.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/numeric_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/table.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/trie.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/trie_test.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/weighter.go delete mode 100644 vendor/golang.org/x/text/internal/colltab/weighter_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/README delete mode 100644 vendor/golang.org/x/text/internal/export/idna/common_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/example_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/gen.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/gen10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/gen9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/gen_common.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/gen_trieval.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/idna10.0.0.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/idna10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/idna9.0.0.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/idna9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/idna_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/punycode.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/punycode_test.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/trie.go delete mode 100644 vendor/golang.org/x/text/internal/export/idna/trieval.go delete mode 100644 vendor/golang.org/x/text/internal/format/format.go delete mode 100644 vendor/golang.org/x/text/internal/format/parser.go delete mode 100644 vendor/golang.org/x/text/internal/format/parser_test.go delete mode 100644 vendor/golang.org/x/text/internal/gen.go delete mode 100644 vendor/golang.org/x/text/internal/gen/code.go delete mode 100644 vendor/golang.org/x/text/internal/gen/gen.go delete mode 100644 vendor/golang.org/x/text/internal/gen_test.go delete mode 100644 vendor/golang.org/x/text/internal/internal.go delete mode 100644 vendor/golang.org/x/text/internal/internal_test.go delete mode 100644 vendor/golang.org/x/text/internal/match.go delete mode 100644 vendor/golang.org/x/text/internal/match_test.go delete mode 100644 vendor/golang.org/x/text/internal/number/common.go delete mode 100644 vendor/golang.org/x/text/internal/number/decimal.go delete mode 100644 vendor/golang.org/x/text/internal/number/decimal_test.go delete mode 100644 vendor/golang.org/x/text/internal/number/format.go delete mode 100644 vendor/golang.org/x/text/internal/number/format_test.go delete mode 100644 vendor/golang.org/x/text/internal/number/gen.go delete mode 100644 vendor/golang.org/x/text/internal/number/gen_common.go delete mode 100644 vendor/golang.org/x/text/internal/number/number.go delete mode 100644 vendor/golang.org/x/text/internal/number/number_test.go delete mode 100644 vendor/golang.org/x/text/internal/number/pattern.go delete mode 100644 vendor/golang.org/x/text/internal/number/pattern_test.go delete mode 100644 vendor/golang.org/x/text/internal/number/roundingmode_string.go delete mode 100644 vendor/golang.org/x/text/internal/number/tables.go delete mode 100644 vendor/golang.org/x/text/internal/number/tables_test.go delete mode 100644 vendor/golang.org/x/text/internal/stringset/set.go delete mode 100644 vendor/golang.org/x/text/internal/stringset/set_test.go delete mode 100644 vendor/golang.org/x/text/internal/tables.go delete mode 100644 vendor/golang.org/x/text/internal/tag/tag_test.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/codesize.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/flag.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/gc.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/gccgo.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/go1_6.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/go1_7.go delete mode 100644 vendor/golang.org/x/text/internal/testtext/text.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/compact.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/data_test.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/example_compact_test.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/example_test.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/gen_test.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/print.go delete mode 100644 vendor/golang.org/x/text/internal/triegen/triegen.go delete mode 100644 vendor/golang.org/x/text/internal/ucd/example_test.go delete mode 100644 vendor/golang.org/x/text/internal/ucd/ucd.go delete mode 100644 vendor/golang.org/x/text/internal/ucd/ucd_test.go delete mode 100644 vendor/golang.org/x/text/language/coverage_test.go delete mode 100644 vendor/golang.org/x/text/language/display/dict.go delete mode 100644 vendor/golang.org/x/text/language/display/dict_test.go delete mode 100644 vendor/golang.org/x/text/language/display/display.go delete mode 100644 vendor/golang.org/x/text/language/display/display_test.go delete mode 100644 vendor/golang.org/x/text/language/display/examples_test.go delete mode 100644 vendor/golang.org/x/text/language/display/lookup.go delete mode 100644 vendor/golang.org/x/text/language/display/maketables.go delete mode 100644 vendor/golang.org/x/text/language/display/tables.go delete mode 100644 vendor/golang.org/x/text/language/examples_test.go delete mode 100644 vendor/golang.org/x/text/language/httpexample_test.go delete mode 100644 vendor/golang.org/x/text/language/language_test.go delete mode 100644 vendor/golang.org/x/text/language/lookup_test.go delete mode 100644 vendor/golang.org/x/text/language/match_test.go delete mode 100644 vendor/golang.org/x/text/language/parse_test.go delete mode 100644 vendor/golang.org/x/text/language/testdata/CLDRLocaleMatcherTest.txt delete mode 100644 vendor/golang.org/x/text/language/testdata/GoLocaleMatcherTest.txt delete mode 100644 vendor/golang.org/x/text/message/catalog.go delete mode 100644 vendor/golang.org/x/text/message/catalog/catalog.go delete mode 100644 vendor/golang.org/x/text/message/catalog/catalog_test.go delete mode 100644 vendor/golang.org/x/text/message/catalog/dict.go delete mode 100644 vendor/golang.org/x/text/message/catalog/go19.go delete mode 100644 vendor/golang.org/x/text/message/catalog/gopre19.go delete mode 100644 vendor/golang.org/x/text/message/catalog_test.go delete mode 100644 vendor/golang.org/x/text/message/doc.go delete mode 100644 vendor/golang.org/x/text/message/examples_test.go delete mode 100644 vendor/golang.org/x/text/message/fmt_test.go delete mode 100644 vendor/golang.org/x/text/message/format.go delete mode 100644 vendor/golang.org/x/text/message/message.go delete mode 100644 vendor/golang.org/x/text/message/message_test.go delete mode 100644 vendor/golang.org/x/text/message/pipeline/extract.go delete mode 100644 vendor/golang.org/x/text/message/pipeline/generate.go delete mode 100644 vendor/golang.org/x/text/message/pipeline/message.go delete mode 100644 vendor/golang.org/x/text/message/pipeline/pipeline.go delete mode 100644 vendor/golang.org/x/text/message/pipeline/rewrite.go delete mode 100644 vendor/golang.org/x/text/message/print.go delete mode 100644 vendor/golang.org/x/text/number/doc.go delete mode 100644 vendor/golang.org/x/text/number/examples_test.go delete mode 100644 vendor/golang.org/x/text/number/format.go delete mode 100644 vendor/golang.org/x/text/number/format_test.go delete mode 100644 vendor/golang.org/x/text/number/number.go delete mode 100644 vendor/golang.org/x/text/number/number_test.go delete mode 100644 vendor/golang.org/x/text/number/option.go delete mode 100644 vendor/golang.org/x/text/runes/cond_test.go delete mode 100644 vendor/golang.org/x/text/runes/example_test.go delete mode 100644 vendor/golang.org/x/text/runes/runes_test.go delete mode 100644 vendor/golang.org/x/text/search/index.go delete mode 100644 vendor/golang.org/x/text/search/pattern.go delete mode 100644 vendor/golang.org/x/text/search/pattern_test.go delete mode 100644 vendor/golang.org/x/text/search/search.go delete mode 100644 vendor/golang.org/x/text/search/tables.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bench_test.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/secure/bidirule/bidirule_test.go delete mode 100644 vendor/golang.org/x/text/secure/doc.go delete mode 100644 vendor/golang.org/x/text/secure/precis/benchmark_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/class.go delete mode 100644 vendor/golang.org/x/text/secure/precis/class_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/context.go delete mode 100644 vendor/golang.org/x/text/secure/precis/doc.go delete mode 100644 vendor/golang.org/x/text/secure/precis/enforce10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/enforce9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/enforce_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/gen.go delete mode 100644 vendor/golang.org/x/text/secure/precis/gen_trieval.go delete mode 100644 vendor/golang.org/x/text/secure/precis/nickname.go delete mode 100644 vendor/golang.org/x/text/secure/precis/options.go delete mode 100644 vendor/golang.org/x/text/secure/precis/profile.go delete mode 100644 vendor/golang.org/x/text/secure/precis/profile_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/profiles.go delete mode 100644 vendor/golang.org/x/text/secure/precis/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/secure/precis/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/secure/precis/tables_test.go delete mode 100644 vendor/golang.org/x/text/secure/precis/transformer.go delete mode 100644 vendor/golang.org/x/text/secure/precis/trieval.go delete mode 100644 vendor/golang.org/x/text/transform/examples_test.go delete mode 100644 vendor/golang.org/x/text/transform/transform_test.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/bidi.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/bracket.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/core.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/core_test.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/gen.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/gen_ranges.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/gen_trieval.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/prop.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/ranges_test.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/tables_test.go delete mode 100644 vendor/golang.org/x/text/unicode/bidi/trieval.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/base.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/cldr.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/cldr_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/collate.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/collate_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/data_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/decode.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/examples_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/makexml.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/resolve.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/resolve_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/slice.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/slice_test.go delete mode 100644 vendor/golang.org/x/text/unicode/cldr/xml.go delete mode 100644 vendor/golang.org/x/text/unicode/doc.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/composition.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/composition_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/data10.0.0_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/data9.0.0_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/example_iter_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/example_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/forminfo.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/forminfo_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/input.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/iter.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/iter_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/maketables.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/normalize.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/normalize_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/readwriter.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/readwriter_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/transform.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/transform_test.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/trie.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/triegen.go delete mode 100644 vendor/golang.org/x/text/unicode/norm/ucd_test.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/gen.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/merge.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/merge_test.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/rangetable.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/rangetable_test.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/rangetable/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/bits.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/example_test.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/gen.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/gen_bits.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/runenames.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/runenames_test.go delete mode 100644 vendor/golang.org/x/text/unicode/runenames/tables.go delete mode 100644 vendor/golang.org/x/text/width/common_test.go delete mode 100644 vendor/golang.org/x/text/width/example_test.go delete mode 100644 vendor/golang.org/x/text/width/gen.go delete mode 100644 vendor/golang.org/x/text/width/gen_common.go delete mode 100644 vendor/golang.org/x/text/width/gen_trieval.go delete mode 100644 vendor/golang.org/x/text/width/kind_string.go delete mode 100644 vendor/golang.org/x/text/width/runes_test.go delete mode 100644 vendor/golang.org/x/text/width/tables10.0.0.go delete mode 100644 vendor/golang.org/x/text/width/tables9.0.0.go delete mode 100644 vendor/golang.org/x/text/width/tables_test.go delete mode 100644 vendor/golang.org/x/text/width/transform.go delete mode 100644 vendor/golang.org/x/text/width/transform_test.go delete mode 100644 vendor/golang.org/x/text/width/trieval.go delete mode 100644 vendor/golang.org/x/text/width/width.go delete mode 100644 vendor/google.golang.org/appengine/.travis.yml delete mode 100644 vendor/google.golang.org/appengine/CONTRIBUTING.md delete mode 100644 vendor/google.golang.org/appengine/README.md delete mode 100644 vendor/google.golang.org/appengine/aetest/doc.go delete mode 100644 vendor/google.golang.org/appengine/aetest/instance.go delete mode 100644 vendor/google.golang.org/appengine/aetest/instance_classic.go delete mode 100644 vendor/google.golang.org/appengine/aetest/instance_test.go delete mode 100644 vendor/google.golang.org/appengine/aetest/instance_vm.go delete mode 100644 vendor/google.golang.org/appengine/aetest/user.go delete mode 100644 vendor/google.golang.org/appengine/appengine.go delete mode 100644 vendor/google.golang.org/appengine/appengine_test.go delete mode 100644 vendor/google.golang.org/appengine/appengine_vm.go delete mode 100644 vendor/google.golang.org/appengine/blobstore/blobstore.go delete mode 100644 vendor/google.golang.org/appengine/blobstore/blobstore_test.go delete mode 100644 vendor/google.golang.org/appengine/blobstore/read.go delete mode 100644 vendor/google.golang.org/appengine/capability/capability.go delete mode 100644 vendor/google.golang.org/appengine/channel/channel.go delete mode 100644 vendor/google.golang.org/appengine/channel/channel_test.go delete mode 100644 vendor/google.golang.org/appengine/cloudsql/cloudsql.go delete mode 100644 vendor/google.golang.org/appengine/cloudsql/cloudsql_classic.go delete mode 100644 vendor/google.golang.org/appengine/cloudsql/cloudsql_vm.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aebundler/aebundler.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aedeploy/aedeploy.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/ae.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/ae_test.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/fix.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/main.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/main_test.go delete mode 100644 vendor/google.golang.org/appengine/cmd/aefix/typecheck.go delete mode 100644 vendor/google.golang.org/appengine/datastore/datastore.go delete mode 100644 vendor/google.golang.org/appengine/datastore/datastore_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/doc.go delete mode 100644 vendor/google.golang.org/appengine/datastore/key.go delete mode 100644 vendor/google.golang.org/appengine/datastore/key_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/load.go delete mode 100644 vendor/google.golang.org/appengine/datastore/load_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/metadata.go delete mode 100644 vendor/google.golang.org/appengine/datastore/prop.go delete mode 100644 vendor/google.golang.org/appengine/datastore/prop_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/query.go delete mode 100644 vendor/google.golang.org/appengine/datastore/query_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/save.go delete mode 100644 vendor/google.golang.org/appengine/datastore/time_test.go delete mode 100644 vendor/google.golang.org/appengine/datastore/transaction.go delete mode 100644 vendor/google.golang.org/appengine/delay/delay.go delete mode 100644 vendor/google.golang.org/appengine/delay/delay_go17.go delete mode 100644 vendor/google.golang.org/appengine/delay/delay_go17_test.go delete mode 100644 vendor/google.golang.org/appengine/delay/delay_pre17.go delete mode 100644 vendor/google.golang.org/appengine/delay/delay_test.go delete mode 100644 vendor/google.golang.org/appengine/demos/guestbook/app.yaml delete mode 100644 vendor/google.golang.org/appengine/demos/guestbook/favicon.ico delete mode 100644 vendor/google.golang.org/appengine/demos/guestbook/guestbook.go delete mode 100644 vendor/google.golang.org/appengine/demos/guestbook/index.yaml delete mode 100644 vendor/google.golang.org/appengine/demos/guestbook/templates/guestbook.html delete mode 100644 vendor/google.golang.org/appengine/demos/helloworld/app.yaml delete mode 100644 vendor/google.golang.org/appengine/demos/helloworld/favicon.ico delete mode 100644 vendor/google.golang.org/appengine/demos/helloworld/helloworld.go delete mode 100644 vendor/google.golang.org/appengine/errors.go delete mode 100644 vendor/google.golang.org/appengine/file/file.go delete mode 100644 vendor/google.golang.org/appengine/identity.go delete mode 100644 vendor/google.golang.org/appengine/image/image.go delete mode 100644 vendor/google.golang.org/appengine/internal/aetesting/fake.go delete mode 100644 vendor/google.golang.org/appengine/internal/api_race_test.go delete mode 100644 vendor/google.golang.org/appengine/internal/api_test.go delete mode 100644 vendor/google.golang.org/appengine/internal/app_id_test.go delete mode 100644 vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/blobstore/blobstore_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/blobstore/blobstore_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/capability/capability_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/capability/capability_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/channel/channel_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/channel/channel_service.proto mode change 100755 => 100644 vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto delete mode 100644 vendor/google.golang.org/appengine/internal/image/images_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/image/images_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/internal_vm_test.go delete mode 100644 vendor/google.golang.org/appengine/internal/mail/mail_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/mail/mail_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/memcache/memcache_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/memcache/memcache_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/modules/modules_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/net_test.go mode change 100755 => 100644 vendor/google.golang.org/appengine/internal/regen.sh delete mode 100644 vendor/google.golang.org/appengine/internal/search/search.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/search/search.proto delete mode 100644 vendor/google.golang.org/appengine/internal/socket/socket_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/socket/socket_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/system/system_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/system/system_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/taskqueue/taskqueue_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/taskqueue/taskqueue_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/user/user_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/user/user_service.proto delete mode 100644 vendor/google.golang.org/appengine/internal/xmpp/xmpp_service.pb.go delete mode 100644 vendor/google.golang.org/appengine/internal/xmpp/xmpp_service.proto delete mode 100644 vendor/google.golang.org/appengine/log/api.go delete mode 100644 vendor/google.golang.org/appengine/log/log.go delete mode 100644 vendor/google.golang.org/appengine/log/log_test.go delete mode 100644 vendor/google.golang.org/appengine/mail/mail.go delete mode 100644 vendor/google.golang.org/appengine/mail/mail_test.go delete mode 100644 vendor/google.golang.org/appengine/memcache/memcache.go delete mode 100644 vendor/google.golang.org/appengine/memcache/memcache_test.go delete mode 100644 vendor/google.golang.org/appengine/module/module.go delete mode 100644 vendor/google.golang.org/appengine/module/module_test.go delete mode 100644 vendor/google.golang.org/appengine/namespace.go delete mode 100644 vendor/google.golang.org/appengine/namespace_test.go delete mode 100644 vendor/google.golang.org/appengine/remote_api/client.go delete mode 100644 vendor/google.golang.org/appengine/remote_api/client_test.go delete mode 100644 vendor/google.golang.org/appengine/remote_api/remote_api.go delete mode 100644 vendor/google.golang.org/appengine/runtime/runtime.go delete mode 100644 vendor/google.golang.org/appengine/runtime/runtime_test.go delete mode 100644 vendor/google.golang.org/appengine/search/doc.go delete mode 100644 vendor/google.golang.org/appengine/search/field.go delete mode 100644 vendor/google.golang.org/appengine/search/search.go delete mode 100644 vendor/google.golang.org/appengine/search/search_test.go delete mode 100644 vendor/google.golang.org/appengine/search/struct.go delete mode 100644 vendor/google.golang.org/appengine/search/struct_test.go delete mode 100644 vendor/google.golang.org/appengine/socket/doc.go delete mode 100644 vendor/google.golang.org/appengine/socket/socket_classic.go delete mode 100644 vendor/google.golang.org/appengine/socket/socket_vm.go delete mode 100644 vendor/google.golang.org/appengine/taskqueue/taskqueue.go delete mode 100644 vendor/google.golang.org/appengine/taskqueue/taskqueue_test.go delete mode 100644 vendor/google.golang.org/appengine/timeout.go delete mode 100644 vendor/google.golang.org/appengine/user/oauth.go delete mode 100644 vendor/google.golang.org/appengine/user/user.go delete mode 100644 vendor/google.golang.org/appengine/user/user_classic.go delete mode 100644 vendor/google.golang.org/appengine/user/user_test.go delete mode 100644 vendor/google.golang.org/appengine/user/user_vm.go delete mode 100644 vendor/google.golang.org/appengine/xmpp/xmpp.go delete mode 100644 vendor/google.golang.org/appengine/xmpp/xmpp_test.go create mode 100644 vendor/modules.txt diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index a07954cc..00000000 --- a/Gopkg.lock +++ /dev/null @@ -1,151 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - name = "github.com/PuerkitoBio/goquery" - packages = ["."] - revision = "dc2ec5c7ca4d9aae063b79b9f581dd3ea6afd2b2" - version = "v1.4.1" - -[[projects]] - name = "github.com/andybalholm/cascadia" - packages = ["."] - revision = "901648c87902174f774fac311d7f176f8647bdaa" - version = "v1.0.0" - -[[projects]] - name = "github.com/golang/protobuf" - packages = ["proto"] - revision = "b4deda0973fb4c70b50d226b1af49f3da59f5265" - version = "v1.1.0" - -[[projects]] - name = "github.com/gorilla/context" - packages = ["."] - revision = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42" - version = "v1.1.1" - -[[projects]] - name = "github.com/gorilla/mux" - packages = ["."] - revision = "e3702bed27f0d39777b0b37b664b6280e8ef8fbf" - version = "v1.6.2" - -[[projects]] - branch = "master" - name = "github.com/lib/pq" - packages = [ - ".", - "hstore", - "oid" - ] - revision = "90697d60dd844d5ef6ff15135d0203f65d2f53b8" - -[[projects]] - name = "github.com/tdewolff/minify" - packages = [ - ".", - "css", - "js" - ] - revision = "8d72a4127ae33b755e95bffede9b92e396267ce2" - version = "v2.3.5" - -[[projects]] - name = "github.com/tdewolff/parse" - packages = [ - ".", - "buffer", - "css", - "js", - "strconv" - ] - revision = "d739d6fccb0971177e06352fea02d3552625efb1" - version = "v2.3.3" - -[[projects]] - branch = "master" - name = "golang.org/x/crypto" - packages = [ - "acme", - "acme/autocert", - "bcrypt", - "blowfish", - "ssh/terminal" - ] - revision = "a49355c7e3f8fe157a85be2f77e6e269a0f89602" - -[[projects]] - branch = "master" - name = "golang.org/x/net" - packages = [ - "context", - "context/ctxhttp", - "html", - "html/atom", - "html/charset" - ] - revision = "32a936f46389aa10549d60bd7833e54b01685d09" - -[[projects]] - branch = "master" - name = "golang.org/x/oauth2" - packages = [ - ".", - "internal" - ] - revision = "ef147856a6ddbb60760db74283d2424e98c87bff" - -[[projects]] - branch = "master" - name = "golang.org/x/sys" - packages = [ - "unix", - "windows" - ] - revision = "3c6ecd8f22c6f40fbeec94c000a069d7d87c7624" - -[[projects]] - name = "golang.org/x/text" - packages = [ - "encoding", - "encoding/charmap", - "encoding/htmlindex", - "encoding/internal", - "encoding/internal/identifier", - "encoding/japanese", - "encoding/korean", - "encoding/simplifiedchinese", - "encoding/traditionalchinese", - "encoding/unicode", - "internal/gen", - "internal/tag", - "internal/utf8internal", - "language", - "runes", - "transform", - "unicode/cldr" - ] - revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" - version = "v0.3.0" - -[[projects]] - name = "google.golang.org/appengine" - packages = [ - "internal", - "internal/base", - "internal/datastore", - "internal/log", - "internal/remote_api", - "internal/urlfetch", - "urlfetch" - ] - revision = "b1f26356af11148e710935ed1ac8a7f5702c7612" - version = "v1.1.0" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "bcdb45e8fd281e2a0b71ac72bfeba98a126cdbc8809da17e7e63394237105e32" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index aea8ada3..00000000 --- a/Gopkg.toml +++ /dev/null @@ -1,54 +0,0 @@ - -# Gopkg.toml example -# -# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md -# for detailed Gopkg.toml documentation. -# -# required = ["github.com/user/thing/cmd/thing"] -# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] -# -# [[constraint]] -# name = "github.com/user/project" -# version = "1.0.0" -# -# [[constraint]] -# name = "github.com/user/project2" -# branch = "dev" -# source = "github.com/myfork/project2" -# -# [[override]] -# name = "github.com/x/y" -# version = "2.4.0" - -[metadata.heroku] - root-package = "miniflux.app" - go-version = "go1.10" - ensure = "false" - -[[constraint]] - name = "github.com/PuerkitoBio/goquery" - version = "1.4.1" - -[[constraint]] - name = "github.com/gorilla/mux" - version = "1.6.2" - -[[constraint]] - branch = "master" - name = "github.com/lib/pq" - -[[constraint]] - name = "github.com/tdewolff/minify" - version = "2.3.5" - -[[constraint]] - branch = "master" - name = "golang.org/x/crypto" - -[[constraint]] - branch = "master" - name = "golang.org/x/net" - -[[constraint]] - branch = "master" - name = "golang.org/x/oauth2" diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..92b60253 --- /dev/null +++ b/go.mod @@ -0,0 +1,19 @@ +module miniflux.app + +require ( + github.com/PuerkitoBio/goquery v1.4.1 + github.com/andybalholm/cascadia v1.0.0 // indirect + github.com/golang/protobuf v1.1.0 // indirect + github.com/gorilla/context v1.1.1 // indirect + github.com/gorilla/mux v1.6.2 + github.com/lib/pq v1.0.0 + github.com/tdewolff/minify v2.3.5+incompatible // indirect + github.com/tdewolff/parse v2.3.3+incompatible // indirect + golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac + golang.org/x/net v0.0.0-20180826012351-8a410e7b638d + golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be + golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f // indirect + golang.org/x/sys v0.0.0-20180824143301-4910a1d54f87 // indirect + golang.org/x/text v0.3.0 // indirect + google.golang.org/appengine v1.1.0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..213c0f37 --- /dev/null +++ b/go.sum @@ -0,0 +1,41 @@ +github.com/PuerkitoBio/goquery v1.4.1 h1:smcIRGdYm/w7JSbcdeLHEMzxmsBQvl8lhf0dSw2nzMI= +github.com/PuerkitoBio/goquery v1.4.1/go.mod h1:T9ezsOHcCrDCgA8aF1Cqr3sSYbO/xgdy8/R/XiIMAhA= +github.com/andybalholm/cascadia v1.0.0 h1:hOCXnnZ5A+3eVDX8pvgl4kofXv2ELss0bKcqRySc45o= +github.com/andybalholm/cascadia v1.0.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= +github.com/golang/protobuf v1.1.0 h1:0iH4Ffd/meGoXqF2lSAhZHt8X+cPgkfn/cb6Cce5Vpc= +github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v1.6.2 h1:Pgr17XVTNXAk3q/r4CpKzC5xBM/qW1uVLV+IhRZpIIk= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/lib/pq v0.0.0-20180523175426-90697d60dd84 h1:it29sI2IM490luSc3RAhp5WuCYnc6RtbfLVAB7nmC5M= +github.com/lib/pq v0.0.0-20180523175426-90697d60dd84/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/tdewolff/minify v2.3.5+incompatible h1:oFxBKxTIY1F/1DEJhLeh/T507W56JqZtWVrawFcdadI= +github.com/tdewolff/minify v2.3.5+incompatible/go.mod h1:9Ov578KJUmAWpS6NeZwRZyT56Uf6o3Mcz9CEsg8USYs= +github.com/tdewolff/parse v2.3.3+incompatible h1:q6OSjvHtvBucLb34z24OH1xl5wGdw1mI9Vd38Qj9evs= +github.com/tdewolff/parse v2.3.3+incompatible/go.mod h1:8oBwCsVmUkgHO8M5iCzSIDtpzXOT0WXX9cWhz+bIzJQ= +golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8 h1:h7zdf0RiEvWbYBKIx4b+q41xoUVnMmvsGZnIVE5syG8= +golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac h1:7d7lG9fHOLdL6jZPtnV4LpI41SbohIJ1Atq7U991dMg= +golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180706051357-32a936f46389 h1:U+zCn5sqaq+q4hrnMrz9sgrW1yatwEOUgYkGt3u9ZOU= +golang.org/x/net v0.0.0-20180706051357-32a936f46389/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d h1:g9qWBGx4puODJTMVyoPrpoxPFgVGd+z1DZwjfRu4d0I= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/oauth2 v0.0.0-20180620175406-ef147856a6dd h1:QQhib242ErYDSMitlBm8V7wYCm/1a25hV8qMadIKLPA= +golang.org/x/oauth2 v0.0.0-20180620175406-ef147856a6dd/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180707002001-3c6ecd8f22c6 h1:Cz4Qko2XI4t1PQc1ntprOvCDgdAh1ErauyEFKlFYTxw= +golang.org/x/sys v0.0.0-20180707002001-3c6ecd8f22c6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180824143301-4910a1d54f87 h1:GqwDwfvIpC33dK9bA1fD+JiDUNsuAiQiEkpHqUKze4o= +golang.org/x/sys v0.0.0-20180824143301-4910a1d54f87/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.1.0 h1:igQkv0AAhEIvTEpD5LIpAfav2eeVO9HBTjvKHVJPRSs= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= diff --git a/vendor/github.com/PuerkitoBio/goquery/array_test.go b/vendor/github.com/PuerkitoBio/goquery/array_test.go deleted file mode 100644 index 7857b38f..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/array_test.go +++ /dev/null @@ -1,234 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestFirst(t *testing.T) { - sel := Doc().Find(".pvk-content").First() - assertLength(t, sel.Nodes, 1) -} - -func TestFirstEmpty(t *testing.T) { - sel := Doc().Find(".pvk-zzcontentzz").First() - assertLength(t, sel.Nodes, 0) -} - -func TestFirstInvalid(t *testing.T) { - sel := Doc().Find("").First() - assertLength(t, sel.Nodes, 0) -} - -func TestFirstRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.First().End() - assertEqual(t, sel, sel2) -} - -func TestLast(t *testing.T) { - sel := Doc().Find(".pvk-content").Last() - assertLength(t, sel.Nodes, 1) - - // Should contain Footer - foot := Doc().Find(".footer") - if !sel.Contains(foot.Nodes[0]) { - t.Error("Last .pvk-content should contain .footer.") - } -} - -func TestLastEmpty(t *testing.T) { - sel := Doc().Find(".pvk-zzcontentzz").Last() - assertLength(t, sel.Nodes, 0) -} - -func TestLastInvalid(t *testing.T) { - sel := Doc().Find("").Last() - assertLength(t, sel.Nodes, 0) -} - -func TestLastRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Last().End() - assertEqual(t, sel, sel2) -} - -func TestEq(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(1) - assertLength(t, sel.Nodes, 1) -} - -func TestEqNegative(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(-1) - assertLength(t, sel.Nodes, 1) - - // Should contain Footer - foot := Doc().Find(".footer") - if !sel.Contains(foot.Nodes[0]) { - t.Error("Index -1 of .pvk-content should contain .footer.") - } -} - -func TestEqEmpty(t *testing.T) { - sel := Doc().Find("something_random_that_does_not_exists").Eq(0) - assertLength(t, sel.Nodes, 0) -} - -func TestEqInvalid(t *testing.T) { - sel := Doc().Find("").Eq(0) - assertLength(t, sel.Nodes, 0) -} - -func TestEqInvalidPositive(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(3) - assertLength(t, sel.Nodes, 0) -} - -func TestEqInvalidNegative(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(-4) - assertLength(t, sel.Nodes, 0) -} - -func TestEqRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Eq(1).End() - assertEqual(t, sel, sel2) -} - -func TestSlice(t *testing.T) { - sel := Doc().Find(".pvk-content").Slice(0, 2) - - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#pc1", "#pc2") -} - -func TestSliceToEnd(t *testing.T) { - sel := Doc().Find(".pvk-content").Slice(1, ToEnd) - - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel.Eq(0), "#pc2") - if _, ok := sel.Eq(1).Attr("id"); ok { - t.Error("Want no attribute ID, got one") - } -} - -func TestSliceEmpty(t *testing.T) { - defer assertPanic(t) - Doc().Find("x").Slice(0, 2) -} - -func TestSliceInvalid(t *testing.T) { - defer assertPanic(t) - Doc().Find("").Slice(0, 2) -} - -func TestSliceInvalidToEnd(t *testing.T) { - defer assertPanic(t) - Doc().Find("").Slice(2, ToEnd) -} - -func TestSliceOutOfBounds(t *testing.T) { - defer assertPanic(t) - Doc().Find(".pvk-content").Slice(2, 12) -} - -func TestNegativeSliceStart(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(-2, 3) - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel.Eq(0), "#cf3") -} - -func TestNegativeSliceEnd(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(1, -1) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel.Eq(0), "#cf2") - assertSelectionIs(t, sel.Eq(1), "#cf3") -} - -func TestNegativeSliceBoth(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(-3, -1) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel.Eq(0), "#cf2") - assertSelectionIs(t, sel.Eq(1), "#cf3") -} - -func TestNegativeSliceToEnd(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(-3, ToEnd) - assertLength(t, sel.Nodes, 3) - assertSelectionIs(t, sel, "#cf2", "#cf3", "#cf4") -} - -func TestNegativeSliceOutOfBounds(t *testing.T) { - defer assertPanic(t) - Doc().Find(".container-fluid").Slice(-12, -7) -} - -func TestSliceRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Slice(0, 2).End() - assertEqual(t, sel, sel2) -} - -func TestGet(t *testing.T) { - sel := Doc().Find(".pvk-content") - node := sel.Get(1) - if sel.Nodes[1] != node { - t.Errorf("Expected node %v to be %v.", node, sel.Nodes[1]) - } -} - -func TestGetNegative(t *testing.T) { - sel := Doc().Find(".pvk-content") - node := sel.Get(-3) - if sel.Nodes[0] != node { - t.Errorf("Expected node %v to be %v.", node, sel.Nodes[0]) - } -} - -func TestGetInvalid(t *testing.T) { - defer assertPanic(t) - sel := Doc().Find(".pvk-content") - sel.Get(129) -} - -func TestIndex(t *testing.T) { - sel := Doc().Find(".pvk-content") - if i := sel.Index(); i != 1 { - t.Errorf("Expected index of 1, got %v.", i) - } -} - -func TestIndexSelector(t *testing.T) { - sel := Doc().Find(".hero-unit") - if i := sel.IndexSelector("div"); i != 4 { - t.Errorf("Expected index of 4, got %v.", i) - } -} - -func TestIndexSelectorInvalid(t *testing.T) { - sel := Doc().Find(".hero-unit") - if i := sel.IndexSelector(""); i != -1 { - t.Errorf("Expected index of -1, got %v.", i) - } -} - -func TestIndexOfNode(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - if i := sel.IndexOfNode(sel.Nodes[1]); i != 1 { - t.Errorf("Expected index of 1, got %v.", i) - } -} - -func TestIndexOfNilNode(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - if i := sel.IndexOfNode(nil); i != -1 { - t.Errorf("Expected index of -1, got %v.", i) - } -} - -func TestIndexOfSelection(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".hero-unit") - if i := sel.IndexOfSelection(sel2); i != 4 { - t.Errorf("Expected index of 4, got %v.", i) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.0 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.0 deleted file mode 100644 index eb584783..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.0 +++ /dev/null @@ -1,436 +0,0 @@ -PASS -BenchmarkFirst 20000000 92.9 ns/op -BenchmarkLast 20000000 91.6 ns/op -BenchmarkEq 20000000 90.6 ns/op -BenchmarkSlice 20000000 86.7 ns/op -BenchmarkGet 1000000000 2.14 ns/op -BenchmarkIndex 500000 5308 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 50000 54962 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 11.4 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 12.1 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 5000 327144 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 50000 52945 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 205 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 203 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2639 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 50000 30182 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 50000 34855 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 66052 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 69721 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 66077 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 20000 80021 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 66256 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 20000 79568 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 569441 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 230585 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 231470 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.65 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 9558 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 16809 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkAttr 50000000 37.5 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 100000 18583 ns/op -BenchmarkLength 2000000000 0.80 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 666 ns/op -BenchmarkIs 50000 34328 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 50000 32423 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2707 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 66976 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 66740 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 701722 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.9 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 50000 55444 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 10000 127984 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 355944 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 355596 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 500000 5656 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 200000 9007 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 1000000 1237 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 5613 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 47026 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 51438 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 91820 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 95156 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 10000 134383 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 235456 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 235936 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 50000 32451 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 50000 30570 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 50000 30729 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 10000 106704 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 10000 115592 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 50000 54449 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 50000 58503 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 20000 77698 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 20000 85034 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 50000 56458 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 50000 60163 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 50000 47679 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 50000 51563 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 10000 213998 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 10000 140720 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 20000 90702 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 5000 456039 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 10000 167944 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 20000 82059 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 10000 150883 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 10000 146578 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 10000 148284 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 10000 154303 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 10000 149062 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 10000 150584 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -ok github.com/PuerkitoBio/goquery 188.326s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1 deleted file mode 100644 index c0d9d06c..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1 +++ /dev/null @@ -1,438 +0,0 @@ -PASS -BenchmarkFirst 20000000 96.2 ns/op -BenchmarkLast 20000000 95.8 ns/op -BenchmarkEq 20000000 94.4 ns/op -BenchmarkSlice 20000000 89.9 ns/op -BenchmarkGet 1000000000 2.31 ns/op -BenchmarkIndex 1000000 1911 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 50000 56034 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 11.8 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 12.1 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 5000 336823 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 50000 54709 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 209 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 202 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2634 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 50000 31049 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 50000 35167 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 68974 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 74760 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 68670 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 20000 81357 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 68388 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 20000 82108 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 582934 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 241602 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 243612 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.14 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 9848 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 17569 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkAttr 50000000 37.6 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 100000 19345 ns/op -BenchmarkLength 2000000000 0.80 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 688 ns/op -BenchmarkIs 50000 35061 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 50000 32789 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2816 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 68272 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 68107 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 709386 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 12.4 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 50000 56342 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 10000 131878 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 374240 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 374447 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 200000 9721 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 200000 12909 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 1000000 1869 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 5941 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 46223 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 51452 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 93967 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 97617 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 10000 138898 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 247817 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 246055 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 50000 33201 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 50000 31486 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 50000 31754 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 20000 94749 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 10000 103926 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 50000 33782 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 50000 37108 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 64769 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 71050 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 50000 33908 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 50000 37353 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 50000 31056 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 50000 34286 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 10000 202553 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 20000 98693 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 50000 45532 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 5000 454378 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 10000 123594 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 50000 37509 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 10000 109317 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 10000 105959 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 10000 107132 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 10000 114474 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 10000 107592 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 10000 107495 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -ok github.com/PuerkitoBio/goquery 187.652s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg b/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg deleted file mode 100644 index 849a70b7..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - - -+0.10% - -BenchmarkFirst - - --0.10% - -BenchmarkLast - - -+2.86% - -BenchmarkEq - - -+2.67% - -BenchmarkSlice - - --10.82% - -BenchmarkGet - - --44.06% - -BenchmarkIndex - - --52.26% - -BenchmarkIndexSelector - - --9.32% - -BenchmarkIndexOfNode - - --2.48% - -BenchmarkIndexOfSelection - - --34.96% - -BenchmarkMetalReviewExample - - --59.16% - -BenchmarkAdd - - -+0.00% - -BenchmarkAddSelection - - -+3.47% - -BenchmarkAddNodes - - --2.51% - -BenchmarkAndSelf - - --13.96% - -BenchmarkFilter - - --14.53% - -BenchmarkNot - - --3.81% - -BenchmarkFilterFunction - - --2.83% - -BenchmarkNotFunction - - --4.63% - -BenchmarkFilterNodes - - --2.32% - -BenchmarkNotNodes - - --4.23% - -BenchmarkFilterSelection - - --3.31% - -BenchmarkNotSelection - - --33.69% - -BenchmarkHas - - --4.53% - -BenchmarkHasNodes - - --5.30% - -BenchmarkHasSelection - - -+11.35% - -BenchmarkEnd - - --3.33% - -BenchmarkEach - - --9.16% - -BenchmarkMap - - --19.15% - -BenchmarkAttr - - --3.24% - -BenchmarkText - - --61.25% - -BenchmarkLength - - --11.92% - -BenchmarkHtml - - --16.46% - -BenchmarkIs - - --27.31% - -BenchmarkIsPositional - - --13.49% - -BenchmarkIsFunction - - --1.71% - -BenchmarkIsSelection - - --3.03% - -BenchmarkIsNodes - - --20.30% - -BenchmarkHasClass - - --11.29% - -BenchmarkContains - - --50.88% - -BenchmarkFind - - --45.28% - -BenchmarkFindWithinSelection - - -+22.95% - -BenchmarkFindSelection - - -+22.68% - -BenchmarkFindNodes - - --65.08% - -BenchmarkContents - - --59.77% - -BenchmarkContentsFiltered - - --64.31% - -BenchmarkChildren - - --39.56% - -BenchmarkChildrenFiltered - - --6.61% - -BenchmarkParent - - --10.92% - -BenchmarkParentFiltered - - --1.72% - -BenchmarkParents - - --2.37% - -BenchmarkParentsFiltered - - --47.60% - -BenchmarkParentsUntil - - --36.39% - -BenchmarkParentsUntilSelection - - --35.99% - -BenchmarkParentsUntilNodes - - --48.84% - -BenchmarkParentsFilteredUntil - - --32.75% - -BenchmarkParentsFilteredUntilSelection - - --33.12% - -BenchmarkParentsFilteredUntilNodes - - --29.78% - -BenchmarkSiblings - - --30.89% - -BenchmarkSiblingsFiltered - - --68.19% - -BenchmarkNext - - --66.59% - -BenchmarkNextFiltered - - --31.08% - -BenchmarkNextAll - - --30.03% - -BenchmarkNextAllFiltered - - --68.32% - -BenchmarkPrev - - --66.65% - -BenchmarkPrevFiltered - - --43.33% - -BenchmarkPrevAll - - --43.24% - -BenchmarkPrevAllFiltered - - --54.27% - -BenchmarkNextUntil - - --37.90% - -BenchmarkNextUntilSelection - - --43.21% - -BenchmarkNextUntilNodes - - --49.33% - -BenchmarkPrevUntil - - --37.02% - -BenchmarkPrevUntilSelection - - --44.59% - -BenchmarkPrevUntilNodes - - --57.79% - -BenchmarkNextFilteredUntil - - --36.61% - -BenchmarkNextFilteredUntilSelection - - --37.81% - -BenchmarkNextFilteredUntilNodes - - --59.21% - -BenchmarkPrevFilteredUntil - - --36.20% - -BenchmarkPrevFilteredUntilSelection - - --36.05% - -BenchmarkPrevFilteredUntilNodes - - diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0 deleted file mode 100644 index 3ea8dcb1..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0 +++ /dev/null @@ -1,459 +0,0 @@ -PASS -BenchmarkFirst 20000000 94.3 ns/op -BenchmarkLast 20000000 94.7 ns/op -BenchmarkEq 20000000 93.7 ns/op -BenchmarkSlice 20000000 89.9 ns/op -BenchmarkGet 1000000000 2.72 ns/op -BenchmarkIndex 1000000 1834 ns/op ---- BENCH: BenchmarkIndex -bench_array_test.go:73: Index=3 -bench_array_test.go:73: Index=3 -bench_array_test.go:73: Index=3 -bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 50000 53958 ns/op ---- BENCH: BenchmarkIndexSelector -bench_array_test.go:85: IndexSelector=4 -bench_array_test.go:85: IndexSelector=4 -bench_array_test.go:85: IndexSelector=4 -bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 10.1 ns/op ---- BENCH: BenchmarkIndexOfNode -bench_array_test.go:99: IndexOfNode=2 -bench_array_test.go:99: IndexOfNode=2 -bench_array_test.go:99: IndexOfNode=2 -bench_array_test.go:99: IndexOfNode=2 -bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 10.9 ns/op ---- BENCH: BenchmarkIndexOfSelection -bench_array_test.go:111: IndexOfSelection=2 -bench_array_test.go:111: IndexOfSelection=2 -bench_array_test.go:111: IndexOfSelection=2 -bench_array_test.go:111: IndexOfSelection=2 -bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 5000 326712 ns/op ---- BENCH: BenchmarkMetalReviewExample -bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 -bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 50000 51776 ns/op ---- BENCH: BenchmarkAdd -bench_expand_test.go:20: Add=43 -bench_expand_test.go:20: Add=43 -bench_expand_test.go:20: Add=43 -bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 196 ns/op ---- BENCH: BenchmarkAddSelection -bench_expand_test.go:37: AddSelection=43 -bench_expand_test.go:37: AddSelection=43 -bench_expand_test.go:37: AddSelection=43 -bench_expand_test.go:37: AddSelection=43 -bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 191 ns/op ---- BENCH: BenchmarkAddNodes -bench_expand_test.go:55: AddNodes=43 -bench_expand_test.go:55: AddNodes=43 -bench_expand_test.go:55: AddNodes=43 -bench_expand_test.go:55: AddNodes=43 -bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2495 ns/op ---- BENCH: BenchmarkAndSelf -bench_expand_test.go:71: AndSelf=44 -bench_expand_test.go:71: AndSelf=44 -bench_expand_test.go:71: AndSelf=44 -bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 50000 30974 ns/op ---- BENCH: BenchmarkFilter -bench_filter_test.go:20: Filter=13 -bench_filter_test.go:20: Filter=13 -bench_filter_test.go:20: Filter=13 -bench_filter_test.go:20: Filter=13 -BenchmarkNot 50000 35322 ns/op ---- BENCH: BenchmarkNot -bench_filter_test.go:36: Not=371 -bench_filter_test.go:36: Not=371 -bench_filter_test.go:36: Not=371 -bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 65644 ns/op ---- BENCH: BenchmarkFilterFunction -bench_filter_test.go:55: FilterFunction=112 -bench_filter_test.go:55: FilterFunction=112 -bench_filter_test.go:55: FilterFunction=112 -bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 69245 ns/op ---- BENCH: BenchmarkNotFunction -bench_filter_test.go:74: NotFunction=261 -bench_filter_test.go:74: NotFunction=261 -bench_filter_test.go:74: NotFunction=261 -bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 64824 ns/op ---- BENCH: BenchmarkFilterNodes -bench_filter_test.go:92: FilterNodes=2 -bench_filter_test.go:92: FilterNodes=2 -bench_filter_test.go:92: FilterNodes=2 -bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 20000 76247 ns/op ---- BENCH: BenchmarkNotNodes -bench_filter_test.go:110: NotNodes=360 -bench_filter_test.go:110: NotNodes=360 -bench_filter_test.go:110: NotNodes=360 -bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 66154 ns/op ---- BENCH: BenchmarkFilterSelection -bench_filter_test.go:127: FilterSelection=2 -bench_filter_test.go:127: FilterSelection=2 -bench_filter_test.go:127: FilterSelection=2 -bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 20000 76336 ns/op ---- BENCH: BenchmarkNotSelection -bench_filter_test.go:144: NotSelection=360 -bench_filter_test.go:144: NotSelection=360 -bench_filter_test.go:144: NotSelection=360 -bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 569495 ns/op ---- BENCH: BenchmarkHas -bench_filter_test.go:160: Has=13 -bench_filter_test.go:160: Has=13 -bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 227059 ns/op ---- BENCH: BenchmarkHasNodes -bench_filter_test.go:178: HasNodes=15 -bench_filter_test.go:178: HasNodes=15 -bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 227167 ns/op ---- BENCH: BenchmarkHasSelection -bench_filter_test.go:195: HasSelection=15 -bench_filter_test.go:195: HasSelection=15 -bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 3.99 ns/op ---- BENCH: BenchmarkEnd -bench_filter_test.go:211: End=373 -bench_filter_test.go:211: End=373 -bench_filter_test.go:211: End=373 -bench_filter_test.go:211: End=373 -bench_filter_test.go:211: End=373 -bench_filter_test.go:211: End=373 -BenchmarkEach 200000 9354 ns/op ---- BENCH: BenchmarkEach -bench_iteration_test.go:22: Each=59 -bench_iteration_test.go:22: Each=59 -bench_iteration_test.go:22: Each=59 -bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 16557 ns/op ---- BENCH: BenchmarkMap -bench_iteration_test.go:41: Map=59 -bench_iteration_test.go:41: Map=59 -bench_iteration_test.go:41: Map=59 -bench_iteration_test.go:41: Map=59 -BenchmarkAttr 50000000 36.4 ns/op ---- BENCH: BenchmarkAttr -bench_property_test.go:16: Attr=firstHeading -bench_property_test.go:16: Attr=firstHeading -bench_property_test.go:16: Attr=firstHeading -bench_property_test.go:16: Attr=firstHeading -bench_property_test.go:16: Attr=firstHeading -BenchmarkText 100000 18473 ns/op -BenchmarkLength 2000000000 0.76 ns/op ---- BENCH: BenchmarkLength -bench_property_test.go:37: Length=14 -bench_property_test.go:37: Length=14 -bench_property_test.go:37: Length=14 -bench_property_test.go:37: Length=14 -bench_property_test.go:37: Length=14 -bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 666 ns/op -BenchmarkIs 50000 35174 ns/op ---- BENCH: BenchmarkIs -bench_query_test.go:16: Is=true -bench_query_test.go:16: Is=true -bench_query_test.go:16: Is=true -bench_query_test.go:16: Is=true -BenchmarkIsPositional 50000 31814 ns/op ---- BENCH: BenchmarkIsPositional -bench_query_test.go:28: IsPositional=true -bench_query_test.go:28: IsPositional=true -bench_query_test.go:28: IsPositional=true -bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2754 ns/op ---- BENCH: BenchmarkIsFunction -bench_query_test.go:43: IsFunction=true -bench_query_test.go:43: IsFunction=true -bench_query_test.go:43: IsFunction=true -bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 66260 ns/op ---- BENCH: BenchmarkIsSelection -bench_query_test.go:56: IsSelection=true -bench_query_test.go:56: IsSelection=true -bench_query_test.go:56: IsSelection=true -bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 64682 ns/op ---- BENCH: BenchmarkIsNodes -bench_query_test.go:70: IsNodes=true -bench_query_test.go:70: IsNodes=true -bench_query_test.go:70: IsNodes=true -bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 672953 ns/op ---- BENCH: BenchmarkHasClass -bench_query_test.go:82: HasClass=true -bench_query_test.go:82: HasClass=true -bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.3 ns/op ---- BENCH: BenchmarkContains -bench_query_test.go:96: Contains=true -bench_query_test.go:96: Contains=true -bench_query_test.go:96: Contains=true -bench_query_test.go:96: Contains=true -bench_query_test.go:96: Contains=true -BenchmarkFind 50000 53780 ns/op ---- BENCH: BenchmarkFind -bench_traversal_test.go:18: Find=41 -bench_traversal_test.go:18: Find=41 -bench_traversal_test.go:18: Find=41 -bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 10000 125963 ns/op ---- BENCH: BenchmarkFindWithinSelection -bench_traversal_test.go:34: FindWithinSelection=39 -bench_traversal_test.go:34: FindWithinSelection=39 -bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 357318 ns/op ---- BENCH: BenchmarkFindSelection -bench_traversal_test.go:51: FindSelection=73 -bench_traversal_test.go:51: FindSelection=73 -bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 357587 ns/op ---- BENCH: BenchmarkFindNodes -bench_traversal_test.go:69: FindNodes=73 -bench_traversal_test.go:69: FindNodes=73 -bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 200000 9135 ns/op ---- BENCH: BenchmarkContents -bench_traversal_test.go:85: Contents=16 -bench_traversal_test.go:85: Contents=16 -bench_traversal_test.go:85: Contents=16 -bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 200000 12383 ns/op ---- BENCH: BenchmarkContentsFiltered -bench_traversal_test.go:101: ContentsFiltered=1 -bench_traversal_test.go:101: ContentsFiltered=1 -bench_traversal_test.go:101: ContentsFiltered=1 -bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 1000000 1809 ns/op ---- BENCH: BenchmarkChildren -bench_traversal_test.go:117: Children=2 -bench_traversal_test.go:117: Children=2 -bench_traversal_test.go:117: Children=2 -bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 5814 ns/op ---- BENCH: BenchmarkChildrenFiltered -bench_traversal_test.go:133: ChildrenFiltered=2 -bench_traversal_test.go:133: ChildrenFiltered=2 -bench_traversal_test.go:133: ChildrenFiltered=2 -bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 44810 ns/op ---- BENCH: BenchmarkParent -bench_traversal_test.go:149: Parent=55 -bench_traversal_test.go:149: Parent=55 -bench_traversal_test.go:149: Parent=55 -bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 48795 ns/op ---- BENCH: BenchmarkParentFiltered -bench_traversal_test.go:165: ParentFiltered=4 -bench_traversal_test.go:165: ParentFiltered=4 -bench_traversal_test.go:165: ParentFiltered=4 -bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 89102 ns/op ---- BENCH: BenchmarkParents -bench_traversal_test.go:181: Parents=73 -bench_traversal_test.go:181: Parents=73 -bench_traversal_test.go:181: Parents=73 -bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 93953 ns/op ---- BENCH: BenchmarkParentsFiltered -bench_traversal_test.go:197: ParentsFiltered=18 -bench_traversal_test.go:197: ParentsFiltered=18 -bench_traversal_test.go:197: ParentsFiltered=18 -bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 10000 130783 ns/op ---- BENCH: BenchmarkParentsUntil -bench_traversal_test.go:213: ParentsUntil=52 -bench_traversal_test.go:213: ParentsUntil=52 -bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 231797 ns/op ---- BENCH: BenchmarkParentsUntilSelection -bench_traversal_test.go:230: ParentsUntilSelection=70 -bench_traversal_test.go:230: ParentsUntilSelection=70 -bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 233761 ns/op ---- BENCH: BenchmarkParentsUntilNodes -bench_traversal_test.go:248: ParentsUntilNodes=70 -bench_traversal_test.go:248: ParentsUntilNodes=70 -bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 50000 31360 ns/op ---- BENCH: BenchmarkParentsFilteredUntil -bench_traversal_test.go:264: ParentsFilteredUntil=2 -bench_traversal_test.go:264: ParentsFilteredUntil=2 -bench_traversal_test.go:264: ParentsFilteredUntil=2 -bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 50000 30272 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection -bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 50000 30327 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes -bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 20000 89862 ns/op ---- BENCH: BenchmarkSiblings -bench_traversal_test.go:315: Siblings=293 -bench_traversal_test.go:315: Siblings=293 -bench_traversal_test.go:315: Siblings=293 -bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 20000 97948 ns/op ---- BENCH: BenchmarkSiblingsFiltered -bench_traversal_test.go:331: SiblingsFiltered=46 -bench_traversal_test.go:331: SiblingsFiltered=46 -bench_traversal_test.go:331: SiblingsFiltered=46 -bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 50000 31975 ns/op ---- BENCH: BenchmarkNext -bench_traversal_test.go:347: Next=49 -bench_traversal_test.go:347: Next=49 -bench_traversal_test.go:347: Next=49 -bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 50000 34887 ns/op ---- BENCH: BenchmarkNextFiltered -bench_traversal_test.go:363: NextFiltered=6 -bench_traversal_test.go:363: NextFiltered=6 -bench_traversal_test.go:363: NextFiltered=6 -bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 60734 ns/op ---- BENCH: BenchmarkNextAll -bench_traversal_test.go:379: NextAll=234 -bench_traversal_test.go:379: NextAll=234 -bench_traversal_test.go:379: NextAll=234 -bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 67428 ns/op ---- BENCH: BenchmarkNextAllFiltered -bench_traversal_test.go:395: NextAllFiltered=33 -bench_traversal_test.go:395: NextAllFiltered=33 -bench_traversal_test.go:395: NextAllFiltered=33 -bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 50000 32399 ns/op ---- BENCH: BenchmarkPrev -bench_traversal_test.go:411: Prev=49 -bench_traversal_test.go:411: Prev=49 -bench_traversal_test.go:411: Prev=49 -bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 50000 34944 ns/op ---- BENCH: BenchmarkPrevFiltered -bench_traversal_test.go:429: PrevFiltered=7 -bench_traversal_test.go:429: PrevFiltered=7 -bench_traversal_test.go:429: PrevFiltered=7 -bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 29360 ns/op ---- BENCH: BenchmarkPrevAll -bench_traversal_test.go:445: PrevAll=78 -bench_traversal_test.go:445: PrevAll=78 -bench_traversal_test.go:445: PrevAll=78 -bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 50000 32291 ns/op ---- BENCH: BenchmarkPrevAllFiltered -bench_traversal_test.go:461: PrevAllFiltered=6 -bench_traversal_test.go:461: PrevAllFiltered=6 -bench_traversal_test.go:461: PrevAllFiltered=6 -bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 10000 191890 ns/op ---- BENCH: BenchmarkNextUntil -bench_traversal_test.go:477: NextUntil=84 -bench_traversal_test.go:477: NextUntil=84 -bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 20000 92054 ns/op ---- BENCH: BenchmarkNextUntilSelection -bench_traversal_test.go:494: NextUntilSelection=42 -bench_traversal_test.go:494: NextUntilSelection=42 -bench_traversal_test.go:494: NextUntilSelection=42 -bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 50000 43401 ns/op ---- BENCH: BenchmarkNextUntilNodes -bench_traversal_test.go:512: NextUntilNodes=12 -bench_traversal_test.go:512: NextUntilNodes=12 -bench_traversal_test.go:512: NextUntilNodes=12 -bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 5000 433383 ns/op ---- BENCH: BenchmarkPrevUntil -bench_traversal_test.go:528: PrevUntil=238 -bench_traversal_test.go:528: PrevUntil=238 -bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 10000 116423 ns/op ---- BENCH: BenchmarkPrevUntilSelection -bench_traversal_test.go:545: PrevUntilSelection=49 -bench_traversal_test.go:545: PrevUntilSelection=49 -bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 50000 35338 ns/op ---- BENCH: BenchmarkPrevUntilNodes -bench_traversal_test.go:563: PrevUntilNodes=11 -bench_traversal_test.go:563: PrevUntilNodes=11 -bench_traversal_test.go:563: PrevUntilNodes=11 -bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 10000 104686 ns/op ---- BENCH: BenchmarkNextFilteredUntil -bench_traversal_test.go:579: NextFilteredUntil=22 -bench_traversal_test.go:579: NextFilteredUntil=22 -bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 20000 99485 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection -bench_traversal_test.go:596: NextFilteredUntilSelection=22 -bench_traversal_test.go:596: NextFilteredUntilSelection=22 -bench_traversal_test.go:596: NextFilteredUntilSelection=22 -bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 20000 99452 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes -bench_traversal_test.go:614: NextFilteredUntilNodes=22 -bench_traversal_test.go:614: NextFilteredUntilNodes=22 -bench_traversal_test.go:614: NextFilteredUntilNodes=22 -bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 10000 112640 ns/op ---- BENCH: BenchmarkPrevFilteredUntil -bench_traversal_test.go:630: PrevFilteredUntil=20 -bench_traversal_test.go:630: PrevFilteredUntil=20 -bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 10000 103702 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection -bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 10000 103277 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes -bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 6530 ns/op ---- BENCH: BenchmarkClosest -bench_traversal_test.go:681: Closest=2 -bench_traversal_test.go:681: Closest=2 -bench_traversal_test.go:681: Closest=2 -bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 1000000 1135 ns/op ---- BENCH: BenchmarkClosestSelection -bench_traversal_test.go:698: ClosestSelection=2 -bench_traversal_test.go:698: ClosestSelection=2 -bench_traversal_test.go:698: ClosestSelection=2 -bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 1000000 1133 ns/op ---- BENCH: BenchmarkClosestNodes -bench_traversal_test.go:715: ClosestNodes=2 -bench_traversal_test.go:715: ClosestNodes=2 -bench_traversal_test.go:715: ClosestNodes=2 -bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 192.541s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg b/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg deleted file mode 100644 index eaabc618..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg +++ /dev/null @@ -1,420 +0,0 @@ - - - - - - - - -+2.12% - -BenchmarkFirst - - -+1.06% - -BenchmarkLast - - -+3.63% - -BenchmarkEq - - -+2.67% - -BenchmarkSlice - - --24.26% - -BenchmarkGet - - --41.71% - -BenchmarkIndex - - --50.42% - -BenchmarkIndexSelector - - -+5.94% - -BenchmarkIndexOfNode - - -+8.26% - -BenchmarkIndexOfSelection - - --32.94% - -BenchmarkMetalReviewExample - - --56.84% - -BenchmarkAdd - - -+6.63% - -BenchmarkAddSelection - - -+9.42% - -BenchmarkAddNodes - - -+2.93% - -BenchmarkAndSelf - - --13.75% - -BenchmarkFilter - - --14.90% - -BenchmarkNot - - -+1.07% - -BenchmarkFilterFunction - - -+4.91% - -BenchmarkNotFunction - - -+1.03% - -BenchmarkFilterNodes - - -+4.22% - -BenchmarkNotNodes - - --1.00% - -BenchmarkFilterSelection - - -+4.00% - -BenchmarkNotSelection - - --32.12% - -BenchmarkHas - - -+1.59% - -BenchmarkHasNodes - - -+1.56% - -BenchmarkHasSelection - - -+15.54% - -BenchmarkEnd - - -+1.77% - -BenchmarkEach - - --3.61% - -BenchmarkMap - - --16.48% - -BenchmarkAttr - - -+1.33% - -BenchmarkText - - --59.21% - -BenchmarkLength - - --9.01% - -BenchmarkHtml - - --16.73% - -BenchmarkIs - - --25.08% - -BenchmarkIsPositional - - --11.55% - -BenchmarkIsFunction - - -+1.28% - -BenchmarkIsSelection - - -+2.10% - -BenchmarkIsNodes - - --15.99% - -BenchmarkHasClass - - --2.65% - -BenchmarkContains - - --48.54% - -BenchmarkFind - - --42.71% - -BenchmarkFindWithinSelection - - -+28.77% - -BenchmarkFindSelection - - -+28.47% - -BenchmarkFindNodes - - --62.84% - -BenchmarkContents - - --58.06% - -BenchmarkContentsFiltered - - --63.13% - -BenchmarkChildren - - --38.24% - -BenchmarkChildrenFiltered - - --3.66% - -BenchmarkParent - - --6.06% - -BenchmarkParentFiltered - - -+3.64% - -BenchmarkParents - - -+1.44% - -BenchmarkParentsFiltered - - --44.35% - -BenchmarkParentsUntil - - --31.99% - -BenchmarkParentsUntilSelection - - --32.62% - -BenchmarkParentsUntilNodes - - --45.83% - -BenchmarkParentsFilteredUntil - - --30.05% - -BenchmarkParentsFilteredUntilSelection - - --29.97% - -BenchmarkParentsFilteredUntilNodes - - --25.96% - -BenchmarkSiblings - - --26.67% - -BenchmarkSiblingsFiltered - - --66.40% - -BenchmarkNext - - --64.46% - -BenchmarkNextFiltered - - --26.50% - -BenchmarkNextAll - - --26.27% - -BenchmarkNextAllFiltered - - --66.84% - -BenchmarkPrev - - --64.35% - -BenchmarkPrevFiltered - - --40.05% - -BenchmarkPrevAll - - --39.74% - -BenchmarkPrevAllFiltered - - --51.73% - -BenchmarkNextUntil - - --33.42% - -BenchmarkNextUntilSelection - - --40.42% - -BenchmarkNextUntilNodes - - --46.87% - -BenchmarkPrevUntil - - --33.14% - -BenchmarkPrevUntilSelection - - --41.19% - -BenchmarkPrevUntilNodes - - --55.92% - -BenchmarkNextFilteredUntil - - --32.49% - -BenchmarkNextFilteredUntilSelection - - --33.00% - -BenchmarkNextFilteredUntilNodes - - --58.54% - -BenchmarkPrevFilteredUntil - - --33.80% - -BenchmarkPrevFilteredUntilSelection - - --33.44% - -BenchmarkPrevFilteredUntilNodes - - --24.82% - -BenchmarkClosest - - --34.45% - -BenchmarkClosestSelection - - --35.30% - -BenchmarkClosestNodes - - diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 deleted file mode 100644 index 1f2a426d..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 +++ /dev/null @@ -1,470 +0,0 @@ -PASS -BenchmarkFirst 20000000 96.3 ns/op -BenchmarkLast 20000000 95.7 ns/op -BenchmarkEq 20000000 97.1 ns/op -BenchmarkSlice 20000000 92.3 ns/op -BenchmarkGet 1000000000 2.06 ns/op -BenchmarkIndex 1000000 1069 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 100000 26750 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 10.7 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 11.8 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 10000 219078 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 100000 22345 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 209 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 209 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2568 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 100000 26715 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 50000 30058 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 66346 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 72646 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 65493 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 20000 79466 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 65494 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 20000 79387 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 386571 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 230664 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 230705 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.61 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 9520 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 15960 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkAttr 50000000 30.4 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 100000 18718 ns/op -BenchmarkLength 2000000000 0.31 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 606 ns/op -BenchmarkIs 100000 29289 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 100000 23834 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2436 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 67106 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 66042 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 565347 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.0 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 100000 27677 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 50000 72162 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 460124 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 459390 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 500000 3395 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 500000 5193 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 5000000 667 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 3591 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 43168 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 45836 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 92348 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 95306 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 50000 72782 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 157639 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 157510 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 100000 16987 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 100000 21174 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 100000 21238 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 50000 66536 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 50000 71822 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 200000 10745 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 200000 12399 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 44640 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 49713 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 200000 10743 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 200000 12456 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 17600 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 100000 19460 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 20000 92630 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 50000 61285 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 100000 25859 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 10000 230236 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 20000 77837 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 100000 20784 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 50000 46147 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 50000 67164 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 50000 66628 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 50000 46697 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 50000 68646 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 50000 68745 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 4909 ns/op ---- BENCH: BenchmarkClosest - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 5000000 744 ns/op ---- BENCH: BenchmarkClosestSelection - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 5000000 733 ns/op ---- BENCH: BenchmarkClosestNodes - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 220.793s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.0 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.0 deleted file mode 100644 index 037c9a9d..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.0 +++ /dev/null @@ -1,476 +0,0 @@ -PASS -BenchmarkFirst 20000000 95.5 ns/op -BenchmarkLast 20000000 94.9 ns/op -BenchmarkEq 20000000 95.7 ns/op -BenchmarkSlice 20000000 91.7 ns/op -BenchmarkGet 1000000000 2.05 ns/op -BenchmarkIndex 1000000 1079 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 100000 26972 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 10.8 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 11.7 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 10000 213800 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 100000 21811 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 205 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 202 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2467 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 100000 25643 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 100000 29566 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 66894 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 72183 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 65516 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 20000 78880 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 65232 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 20000 78813 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 388834 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 228552 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 228365 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.62 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 9548 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 15900 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkEachWithBreak 1000000 1650 ns/op ---- BENCH: BenchmarkEachWithBreak - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 -BenchmarkAttr 50000000 30.5 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 100000 18873 ns/op -BenchmarkLength 2000000000 0.31 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 616 ns/op -BenchmarkIs 100000 29499 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 100000 23733 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2404 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 65376 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 65322 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 558933 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.1 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 100000 27841 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 50000 72096 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 457349 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 459324 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 500000 3435 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 500000 5241 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 5000000 667 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 3639 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 44867 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 46476 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 92559 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 96142 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 50000 73931 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 159820 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 158811 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 100000 17203 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 100000 21358 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 100000 21338 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 50000 66463 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 50000 72503 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 200000 10881 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 200000 12588 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 45075 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 50455 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 200000 10933 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 200000 12579 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 17751 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 100000 19702 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 20000 93586 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 50000 61155 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 100000 25805 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 10000 232225 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 20000 78316 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 100000 20657 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 50000 46567 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 50000 67227 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 50000 66995 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 50000 47361 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 50000 68802 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 50000 68928 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 4922 ns/op ---- BENCH: BenchmarkClosest - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 5000000 738 ns/op ---- BENCH: BenchmarkClosestSelection - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 5000000 737 ns/op ---- BENCH: BenchmarkClosestNodes - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 224.003s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2 deleted file mode 100644 index 0a8704c8..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2 +++ /dev/null @@ -1,478 +0,0 @@ -PASS -BenchmarkFirst 20000000 88.4 ns/op -BenchmarkLast 20000000 88.2 ns/op -BenchmarkEq 20000000 87.4 ns/op -BenchmarkSlice 20000000 84.9 ns/op -BenchmarkGet 2000000000 1.99 ns/op -BenchmarkIndex 2000000 906 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 100000 22276 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 200000000 9.72 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 10.4 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 10000 199277 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 100000 18277 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 200 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 189 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2569 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 100000 25195 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 100000 29003 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 60690 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 66008 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 59723 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 50000 72698 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 59598 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 50000 72526 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 367076 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 219710 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 219105 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.58 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 8615 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 200000 14271 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkEachWithBreak 1000000 1497 ns/op ---- BENCH: BenchmarkEachWithBreak - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 -BenchmarkAttr 50000000 30.9 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 200000 13729 ns/op -BenchmarkLength 2000000000 0.31 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 537 ns/op -BenchmarkIs 100000 28904 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 100000 23556 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2195 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 60100 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 59962 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 388679 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.0 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 100000 22779 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 50000 62033 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 446918 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 441753 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 1000000 2807 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 500000 4477 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 5000000 548 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 3304 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 38248 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 40677 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 83043 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 85391 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 50000 65118 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 144028 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 146713 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 100000 15113 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 100000 18881 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 100000 18926 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 50000 63221 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 50000 69028 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 200000 9133 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 200000 10601 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 43089 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 47867 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 200000 9104 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 200000 10579 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 15185 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 100000 17108 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 20000 81087 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 50000 55831 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 100000 23130 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 10000 204673 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 50000 70965 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 100000 18591 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 50000 42004 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 50000 61953 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 50000 62124 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 50000 42861 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 50000 62451 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 50000 62631 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 4684 ns/op ---- BENCH: BenchmarkClosest - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 5000000 622 ns/op ---- BENCH: BenchmarkClosestSelection - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 5000000 617 ns/op ---- BENCH: BenchmarkClosestNodes - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 218.724s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2-take2 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2-take2 deleted file mode 100644 index 02a81187..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2-take2 +++ /dev/null @@ -1,477 +0,0 @@ -PASS -BenchmarkFirst 20000000 88.3 ns/op -BenchmarkLast 20000000 88.9 ns/op -BenchmarkEq 20000000 86.7 ns/op -BenchmarkSlice 20000000 84.1 ns/op -BenchmarkGet 2000000000 1.99 ns/op -BenchmarkIndex 2000000 907 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 200000 13052 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 10.5 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 11.6 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 10000 189556 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 200000 13714 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 200 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 186 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2532 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 100000 25199 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 100000 29162 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 60733 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 66124 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 59489 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 50000 73623 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 60053 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 50000 73477 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 364859 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 226980 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 220471 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.64 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 8811 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 100000 15365 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkEachWithBreak 1000000 1559 ns/op ---- BENCH: BenchmarkEachWithBreak - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 -BenchmarkAttr 50000000 31.7 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 200000 13901 ns/op -BenchmarkLength 2000000000 0.31 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 541 ns/op -BenchmarkIs 100000 29435 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 100000 22938 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2185 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 60607 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 61599 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 395436 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.0 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 200000 13788 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 50000 54253 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 438879 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 437225 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 1000000 2844 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 500000 4528 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 5000000 552 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 3345 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 39482 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 42113 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 84136 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 86041 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 50000 65844 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 146903 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 146638 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 100000 16413 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 100000 20366 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 100000 18800 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 50000 63443 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 50000 69250 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 200000 9193 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 200000 10767 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 42829 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 48174 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 200000 9114 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 200000 11114 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 16387 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 100000 18322 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 20000 83828 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 50000 58822 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 100000 23173 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 10000 219407 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 20000 76033 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 100000 19417 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 50000 44648 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 50000 62751 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 50000 62035 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 50000 43331 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 50000 64767 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 50000 67808 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 4870 ns/op ---- BENCH: BenchmarkClosest - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 5000000 656 ns/op ---- BENCH: BenchmarkClosestSelection - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 5000000 663 ns/op ---- BENCH: BenchmarkClosestNodes - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 218.007s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 b/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 deleted file mode 100644 index e1bada78..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 +++ /dev/null @@ -1,477 +0,0 @@ -PASS -BenchmarkFirst 20000000 91.0 ns/op -BenchmarkLast 20000000 90.5 ns/op -BenchmarkEq 20000000 90.2 ns/op -BenchmarkSlice 20000000 88.0 ns/op -BenchmarkGet 1000000000 2.04 ns/op -BenchmarkIndex 2000000 935 ns/op ---- BENCH: BenchmarkIndex - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 - bench_array_test.go:73: Index=3 -BenchmarkIndexSelector 100000 23613 ns/op ---- BENCH: BenchmarkIndexSelector - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 - bench_array_test.go:85: IndexSelector=4 -BenchmarkIndexOfNode 100000000 10.2 ns/op ---- BENCH: BenchmarkIndexOfNode - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 - bench_array_test.go:99: IndexOfNode=2 -BenchmarkIndexOfSelection 100000000 11.0 ns/op ---- BENCH: BenchmarkIndexOfSelection - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 - bench_array_test.go:111: IndexOfSelection=2 -BenchmarkMetalReviewExample 10000 213843 ns/op ---- BENCH: BenchmarkMetalReviewExample - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - - bench_example_test.go:41: MetalReviewExample=10 - bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). - Review 1: Over Your Threshold - Facticity (6.0). - Review 2: Nuclear Death Terror - Chaos Reigns (7.5). - Review 3: Evoken - Atra Mors (9.5). - ... [output truncated] -BenchmarkAdd 100000 18671 ns/op ---- BENCH: BenchmarkAdd - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 - bench_expand_test.go:20: Add=43 -BenchmarkAddSelection 10000000 204 ns/op ---- BENCH: BenchmarkAddSelection - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 - bench_expand_test.go:37: AddSelection=43 -BenchmarkAddNodes 10000000 195 ns/op ---- BENCH: BenchmarkAddNodes - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 - bench_expand_test.go:55: AddNodes=43 -BenchmarkAndSelf 1000000 2611 ns/op ---- BENCH: BenchmarkAndSelf - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 - bench_expand_test.go:71: AndSelf=44 -BenchmarkFilter 100000 27571 ns/op ---- BENCH: BenchmarkFilter - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 - bench_filter_test.go:20: Filter=13 -BenchmarkNot 50000 32006 ns/op ---- BENCH: BenchmarkNot - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 - bench_filter_test.go:36: Not=371 -BenchmarkFilterFunction 50000 61388 ns/op ---- BENCH: BenchmarkFilterFunction - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 - bench_filter_test.go:55: FilterFunction=112 -BenchmarkNotFunction 50000 66702 ns/op ---- BENCH: BenchmarkNotFunction - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 - bench_filter_test.go:74: NotFunction=261 -BenchmarkFilterNodes 50000 59699 ns/op ---- BENCH: BenchmarkFilterNodes - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 - bench_filter_test.go:92: FilterNodes=2 -BenchmarkNotNodes 50000 73248 ns/op ---- BENCH: BenchmarkNotNodes - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 - bench_filter_test.go:110: NotNodes=360 -BenchmarkFilterSelection 50000 59242 ns/op ---- BENCH: BenchmarkFilterSelection - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 - bench_filter_test.go:127: FilterSelection=2 -BenchmarkNotSelection 50000 73211 ns/op ---- BENCH: BenchmarkNotSelection - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 - bench_filter_test.go:144: NotSelection=360 -BenchmarkHas 5000 395087 ns/op ---- BENCH: BenchmarkHas - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 - bench_filter_test.go:160: Has=13 -BenchmarkHasNodes 10000 215849 ns/op ---- BENCH: BenchmarkHasNodes - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 - bench_filter_test.go:178: HasNodes=15 -BenchmarkHasSelection 10000 215612 ns/op ---- BENCH: BenchmarkHasSelection - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 - bench_filter_test.go:195: HasSelection=15 -BenchmarkEnd 500000000 4.59 ns/op ---- BENCH: BenchmarkEnd - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 - bench_filter_test.go:211: End=373 -BenchmarkEach 200000 8588 ns/op ---- BENCH: BenchmarkEach - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 - bench_iteration_test.go:22: Each=59 -BenchmarkMap 200000 14444 ns/op ---- BENCH: BenchmarkMap - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 - bench_iteration_test.go:41: Map=59 -BenchmarkEachWithBreak 1000000 1490 ns/op ---- BENCH: BenchmarkEachWithBreak - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 - bench_iteration_test.go:61: Each=10 -BenchmarkAttr 50000000 30.9 ns/op ---- BENCH: BenchmarkAttr - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading - bench_property_test.go:16: Attr=firstHeading -BenchmarkText 200000 14017 ns/op -BenchmarkLength 2000000000 0.31 ns/op ---- BENCH: BenchmarkLength - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 - bench_property_test.go:37: Length=14 -BenchmarkHtml 5000000 577 ns/op -BenchmarkIs 50000 31936 ns/op ---- BENCH: BenchmarkIs - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true - bench_query_test.go:16: Is=true -BenchmarkIsPositional 100000 23372 ns/op ---- BENCH: BenchmarkIsPositional - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true - bench_query_test.go:28: IsPositional=true -BenchmarkIsFunction 1000000 2170 ns/op ---- BENCH: BenchmarkIsFunction - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true - bench_query_test.go:43: IsFunction=true -BenchmarkIsSelection 50000 59814 ns/op ---- BENCH: BenchmarkIsSelection - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true - bench_query_test.go:56: IsSelection=true -BenchmarkIsNodes 50000 59629 ns/op ---- BENCH: BenchmarkIsNodes - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true - bench_query_test.go:70: IsNodes=true -BenchmarkHasClass 5000 384894 ns/op ---- BENCH: BenchmarkHasClass - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true - bench_query_test.go:82: HasClass=true -BenchmarkContains 100000000 11.4 ns/op ---- BENCH: BenchmarkContains - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true - bench_query_test.go:96: Contains=true -BenchmarkFind 100000 23545 ns/op ---- BENCH: BenchmarkFind - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 - bench_traversal_test.go:18: Find=41 -BenchmarkFindWithinSelection 50000 63775 ns/op ---- BENCH: BenchmarkFindWithinSelection - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 - bench_traversal_test.go:34: FindWithinSelection=39 -BenchmarkFindSelection 5000 441958 ns/op ---- BENCH: BenchmarkFindSelection - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 - bench_traversal_test.go:51: FindSelection=73 -BenchmarkFindNodes 5000 437717 ns/op ---- BENCH: BenchmarkFindNodes - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 - bench_traversal_test.go:69: FindNodes=73 -BenchmarkContents 1000000 2799 ns/op ---- BENCH: BenchmarkContents - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 - bench_traversal_test.go:85: Contents=16 -BenchmarkContentsFiltered 500000 4489 ns/op ---- BENCH: BenchmarkContentsFiltered - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 - bench_traversal_test.go:101: ContentsFiltered=1 -BenchmarkChildren 5000000 546 ns/op ---- BENCH: BenchmarkChildren - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 - bench_traversal_test.go:117: Children=2 -BenchmarkChildrenFiltered 500000 3472 ns/op ---- BENCH: BenchmarkChildrenFiltered - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 - bench_traversal_test.go:133: ChildrenFiltered=2 -BenchmarkParent 50000 39067 ns/op ---- BENCH: BenchmarkParent - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 - bench_traversal_test.go:149: Parent=55 -BenchmarkParentFiltered 50000 41450 ns/op ---- BENCH: BenchmarkParentFiltered - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 - bench_traversal_test.go:165: ParentFiltered=4 -BenchmarkParents 20000 84864 ns/op ---- BENCH: BenchmarkParents - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 - bench_traversal_test.go:181: Parents=73 -BenchmarkParentsFiltered 20000 87823 ns/op ---- BENCH: BenchmarkParentsFiltered - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 - bench_traversal_test.go:197: ParentsFiltered=18 -BenchmarkParentsUntil 50000 65986 ns/op ---- BENCH: BenchmarkParentsUntil - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 - bench_traversal_test.go:213: ParentsUntil=52 -BenchmarkParentsUntilSelection 10000 149798 ns/op ---- BENCH: BenchmarkParentsUntilSelection - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 - bench_traversal_test.go:230: ParentsUntilSelection=70 -BenchmarkParentsUntilNodes 10000 148144 ns/op ---- BENCH: BenchmarkParentsUntilNodes - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 - bench_traversal_test.go:248: ParentsUntilNodes=70 -BenchmarkParentsFilteredUntil 100000 15579 ns/op ---- BENCH: BenchmarkParentsFilteredUntil - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 - bench_traversal_test.go:264: ParentsFilteredUntil=2 -BenchmarkParentsFilteredUntilSelection 100000 19094 ns/op ---- BENCH: BenchmarkParentsFilteredUntilSelection - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 - bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 -BenchmarkParentsFilteredUntilNodes 100000 19037 ns/op ---- BENCH: BenchmarkParentsFilteredUntilNodes - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 - bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 -BenchmarkSiblings 50000 63891 ns/op ---- BENCH: BenchmarkSiblings - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 - bench_traversal_test.go:315: Siblings=293 -BenchmarkSiblingsFiltered 50000 70424 ns/op ---- BENCH: BenchmarkSiblingsFiltered - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 - bench_traversal_test.go:331: SiblingsFiltered=46 -BenchmarkNext 200000 9350 ns/op ---- BENCH: BenchmarkNext - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 - bench_traversal_test.go:347: Next=49 -BenchmarkNextFiltered 200000 10929 ns/op ---- BENCH: BenchmarkNextFiltered - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 - bench_traversal_test.go:363: NextFiltered=6 -BenchmarkNextAll 50000 43398 ns/op ---- BENCH: BenchmarkNextAll - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 - bench_traversal_test.go:379: NextAll=234 -BenchmarkNextAllFiltered 50000 48519 ns/op ---- BENCH: BenchmarkNextAllFiltered - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 - bench_traversal_test.go:395: NextAllFiltered=33 -BenchmarkPrev 200000 9181 ns/op ---- BENCH: BenchmarkPrev - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 - bench_traversal_test.go:411: Prev=49 -BenchmarkPrevFiltered 200000 10811 ns/op ---- BENCH: BenchmarkPrevFiltered - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 - bench_traversal_test.go:429: PrevFiltered=7 -BenchmarkPrevAll 100000 15589 ns/op ---- BENCH: BenchmarkPrevAll - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 - bench_traversal_test.go:445: PrevAll=78 -BenchmarkPrevAllFiltered 100000 17341 ns/op ---- BENCH: BenchmarkPrevAllFiltered - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 - bench_traversal_test.go:461: PrevAllFiltered=6 -BenchmarkNextUntil 20000 80663 ns/op ---- BENCH: BenchmarkNextUntil - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 - bench_traversal_test.go:477: NextUntil=84 -BenchmarkNextUntilSelection 50000 56496 ns/op ---- BENCH: BenchmarkNextUntilSelection - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 - bench_traversal_test.go:494: NextUntilSelection=42 -BenchmarkNextUntilNodes 100000 23729 ns/op ---- BENCH: BenchmarkNextUntilNodes - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 - bench_traversal_test.go:512: NextUntilNodes=12 -BenchmarkPrevUntil 10000 208267 ns/op ---- BENCH: BenchmarkPrevUntil - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 - bench_traversal_test.go:528: PrevUntil=238 -BenchmarkPrevUntilSelection 50000 72119 ns/op ---- BENCH: BenchmarkPrevUntilSelection - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 - bench_traversal_test.go:545: PrevUntilSelection=49 -BenchmarkPrevUntilNodes 100000 18549 ns/op ---- BENCH: BenchmarkPrevUntilNodes - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 - bench_traversal_test.go:563: PrevUntilNodes=11 -BenchmarkNextFilteredUntil 50000 42339 ns/op ---- BENCH: BenchmarkNextFilteredUntil - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 - bench_traversal_test.go:579: NextFilteredUntil=22 -BenchmarkNextFilteredUntilSelection 50000 61916 ns/op ---- BENCH: BenchmarkNextFilteredUntilSelection - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 - bench_traversal_test.go:596: NextFilteredUntilSelection=22 -BenchmarkNextFilteredUntilNodes 50000 62139 ns/op ---- BENCH: BenchmarkNextFilteredUntilNodes - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 - bench_traversal_test.go:614: NextFilteredUntilNodes=22 -BenchmarkPrevFilteredUntil 50000 43409 ns/op ---- BENCH: BenchmarkPrevFilteredUntil - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 - bench_traversal_test.go:630: PrevFilteredUntil=20 -BenchmarkPrevFilteredUntilSelection 50000 63768 ns/op ---- BENCH: BenchmarkPrevFilteredUntilSelection - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 - bench_traversal_test.go:647: PrevFilteredUntilSelection=20 -BenchmarkPrevFilteredUntilNodes 50000 63543 ns/op ---- BENCH: BenchmarkPrevFilteredUntilNodes - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 - bench_traversal_test.go:665: PrevFilteredUntilNodes=20 -BenchmarkClosest 500000 5110 ns/op ---- BENCH: BenchmarkClosest - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 - bench_traversal_test.go:681: Closest=2 -BenchmarkClosestSelection 5000000 629 ns/op ---- BENCH: BenchmarkClosestSelection - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 - bench_traversal_test.go:698: ClosestSelection=2 -BenchmarkClosestNodes 5000000 627 ns/op ---- BENCH: BenchmarkClosestNodes - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 - bench_traversal_test.go:715: ClosestNodes=2 -ok github.com/PuerkitoBio/goquery 215.785s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.0-go1.7 b/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.0-go1.7 deleted file mode 100644 index 4bc3a1fa..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.0-go1.7 +++ /dev/null @@ -1,85 +0,0 @@ -BenchmarkFirst-4 30000000 50.7 ns/op 48 B/op 1 allocs/op -BenchmarkLast-4 30000000 50.9 ns/op 48 B/op 1 allocs/op -BenchmarkEq-4 30000000 55.7 ns/op 48 B/op 1 allocs/op -BenchmarkSlice-4 500000000 3.45 ns/op 0 B/op 0 allocs/op -BenchmarkGet-4 2000000000 1.68 ns/op 0 B/op 0 allocs/op -BenchmarkIndex-4 3000000 541 ns/op 248 B/op 10 allocs/op -BenchmarkIndexSelector-4 200000 10749 ns/op 2464 B/op 17 allocs/op -BenchmarkIndexOfNode-4 200000000 6.47 ns/op 0 B/op 0 allocs/op -BenchmarkIndexOfSelection-4 200000000 7.27 ns/op 0 B/op 0 allocs/op -BenchmarkMetalReviewExample-4 10000 138426 ns/op 12240 B/op 319 allocs/op -BenchmarkAdd-4 200000 10192 ns/op 208 B/op 9 allocs/op -BenchmarkAddSelection-4 10000000 158 ns/op 48 B/op 1 allocs/op -BenchmarkAddNodes-4 10000000 156 ns/op 48 B/op 1 allocs/op -BenchmarkAndSelf-4 1000000 1588 ns/op 1008 B/op 5 allocs/op -BenchmarkFilter-4 100000 20427 ns/op 360 B/op 8 allocs/op -BenchmarkNot-4 100000 23508 ns/op 136 B/op 5 allocs/op -BenchmarkFilterFunction-4 50000 34178 ns/op 22976 B/op 755 allocs/op -BenchmarkNotFunction-4 50000 38173 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterNodes-4 50000 34001 ns/op 20960 B/op 749 allocs/op -BenchmarkNotNodes-4 30000 40344 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterSelection-4 50000 33308 ns/op 20960 B/op 749 allocs/op -BenchmarkNotSelection-4 30000 40748 ns/op 29120 B/op 757 allocs/op -BenchmarkHas-4 5000 263346 ns/op 1816 B/op 48 allocs/op -BenchmarkHasNodes-4 10000 160840 ns/op 21184 B/op 752 allocs/op -BenchmarkHasSelection-4 10000 165410 ns/op 21184 B/op 752 allocs/op -BenchmarkEnd-4 2000000000 1.01 ns/op 0 B/op 0 allocs/op -BenchmarkEach-4 300000 4664 ns/op 3304 B/op 118 allocs/op -BenchmarkMap-4 200000 8286 ns/op 5572 B/op 184 allocs/op -BenchmarkEachWithBreak-4 2000000 806 ns/op 560 B/op 20 allocs/op -BenchmarkAttr-4 100000000 21.6 ns/op 0 B/op 0 allocs/op -BenchmarkText-4 200000 8909 ns/op 7536 B/op 110 allocs/op -BenchmarkLength-4 2000000000 0.34 ns/op 0 B/op 0 allocs/op -BenchmarkHtml-4 3000000 422 ns/op 120 B/op 2 allocs/op -BenchmarkIs-4 100000 22615 ns/op 88 B/op 4 allocs/op -BenchmarkIsPositional-4 50000 26655 ns/op 1112 B/op 10 allocs/op -BenchmarkIsFunction-4 1000000 1208 ns/op 784 B/op 28 allocs/op -BenchmarkIsSelection-4 50000 33497 ns/op 20960 B/op 749 allocs/op -BenchmarkIsNodes-4 50000 33572 ns/op 20960 B/op 749 allocs/op -BenchmarkHasClass-4 10000 232802 ns/op 14944 B/op 976 allocs/op -BenchmarkContains-4 200000000 7.33 ns/op 0 B/op 0 allocs/op -BenchmarkFind-4 200000 10715 ns/op 2464 B/op 17 allocs/op -BenchmarkFindWithinSelection-4 50000 35878 ns/op 2176 B/op 78 allocs/op -BenchmarkFindSelection-4 10000 194356 ns/op 2672 B/op 82 allocs/op -BenchmarkFindNodes-4 10000 195510 ns/op 2672 B/op 82 allocs/op -BenchmarkContents-4 1000000 2252 ns/op 864 B/op 34 allocs/op -BenchmarkContentsFiltered-4 500000 3015 ns/op 1016 B/op 39 allocs/op -BenchmarkChildren-4 5000000 364 ns/op 152 B/op 7 allocs/op -BenchmarkChildrenFiltered-4 1000000 2212 ns/op 352 B/op 15 allocs/op -BenchmarkParent-4 50000 24643 ns/op 4048 B/op 381 allocs/op -BenchmarkParentFiltered-4 50000 25967 ns/op 4248 B/op 388 allocs/op -BenchmarkParents-4 30000 50000 ns/op 27776 B/op 830 allocs/op -BenchmarkParentsFiltered-4 30000 53107 ns/op 28360 B/op 838 allocs/op -BenchmarkParentsUntil-4 100000 22423 ns/op 10352 B/op 353 allocs/op -BenchmarkParentsUntilSelection-4 20000 86925 ns/op 51144 B/op 1516 allocs/op -BenchmarkParentsUntilNodes-4 20000 87597 ns/op 51144 B/op 1516 allocs/op -BenchmarkParentsFilteredUntil-4 300000 5568 ns/op 2232 B/op 86 allocs/op -BenchmarkParentsFilteredUntilSelection-4 200000 10966 ns/op 5440 B/op 190 allocs/op -BenchmarkParentsFilteredUntilNodes-4 200000 10919 ns/op 5440 B/op 190 allocs/op -BenchmarkSiblings-4 30000 46018 ns/op 15400 B/op 204 allocs/op -BenchmarkSiblingsFiltered-4 30000 50566 ns/op 16496 B/op 213 allocs/op -BenchmarkNext-4 200000 7921 ns/op 3216 B/op 112 allocs/op -BenchmarkNextFiltered-4 200000 8804 ns/op 3416 B/op 118 allocs/op -BenchmarkNextAll-4 50000 31098 ns/op 9912 B/op 138 allocs/op -BenchmarkNextAllFiltered-4 50000 34677 ns/op 11008 B/op 147 allocs/op -BenchmarkPrev-4 200000 7920 ns/op 3216 B/op 112 allocs/op -BenchmarkPrevFiltered-4 200000 8913 ns/op 3416 B/op 118 allocs/op -BenchmarkPrevAll-4 200000 10845 ns/op 4376 B/op 113 allocs/op -BenchmarkPrevAllFiltered-4 100000 12030 ns/op 4576 B/op 119 allocs/op -BenchmarkNextUntil-4 100000 19193 ns/op 5760 B/op 260 allocs/op -BenchmarkNextUntilSelection-4 50000 34829 ns/op 18480 B/op 542 allocs/op -BenchmarkNextUntilNodes-4 100000 14459 ns/op 7944 B/op 248 allocs/op -BenchmarkPrevUntil-4 20000 66296 ns/op 12856 B/op 448 allocs/op -BenchmarkPrevUntilSelection-4 30000 45037 ns/op 23432 B/op 689 allocs/op -BenchmarkPrevUntilNodes-4 200000 11525 ns/op 6152 B/op 203 allocs/op -BenchmarkNextFilteredUntil-4 100000 12940 ns/op 4512 B/op 173 allocs/op -BenchmarkNextFilteredUntilSelection-4 50000 38924 ns/op 19160 B/op 567 allocs/op -BenchmarkNextFilteredUntilNodes-4 50000 38528 ns/op 19160 B/op 567 allocs/op -BenchmarkPrevFilteredUntil-4 100000 12980 ns/op 4664 B/op 175 allocs/op -BenchmarkPrevFilteredUntilSelection-4 50000 39671 ns/op 19936 B/op 587 allocs/op -BenchmarkPrevFilteredUntilNodes-4 50000 39484 ns/op 19936 B/op 587 allocs/op -BenchmarkClosest-4 500000 3310 ns/op 160 B/op 8 allocs/op -BenchmarkClosestSelection-4 5000000 361 ns/op 96 B/op 6 allocs/op -BenchmarkClosestNodes-4 5000000 359 ns/op 96 B/op 6 allocs/op -PASS -ok github.com/PuerkitoBio/goquery 163.718s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1a-go1.7 b/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1a-go1.7 deleted file mode 100644 index 0831aac3..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1a-go1.7 +++ /dev/null @@ -1,85 +0,0 @@ -BenchmarkFirst-4 30000000 50.9 ns/op 48 B/op 1 allocs/op -BenchmarkLast-4 30000000 50.0 ns/op 48 B/op 1 allocs/op -BenchmarkEq-4 30000000 50.5 ns/op 48 B/op 1 allocs/op -BenchmarkSlice-4 500000000 3.53 ns/op 0 B/op 0 allocs/op -BenchmarkGet-4 2000000000 1.66 ns/op 0 B/op 0 allocs/op -BenchmarkIndex-4 2000000 832 ns/op 248 B/op 10 allocs/op -BenchmarkIndexSelector-4 100000 16073 ns/op 3839 B/op 21 allocs/op -BenchmarkIndexOfNode-4 200000000 6.38 ns/op 0 B/op 0 allocs/op -BenchmarkIndexOfSelection-4 200000000 7.14 ns/op 0 B/op 0 allocs/op -BenchmarkMetalReviewExample-4 10000 140737 ns/op 12418 B/op 320 allocs/op -BenchmarkAdd-4 100000 13162 ns/op 974 B/op 10 allocs/op -BenchmarkAddSelection-4 500000 3160 ns/op 814 B/op 2 allocs/op -BenchmarkAddNodes-4 500000 3159 ns/op 814 B/op 2 allocs/op -BenchmarkAndSelf-4 200000 7423 ns/op 2404 B/op 9 allocs/op -BenchmarkFilter-4 100000 19671 ns/op 360 B/op 8 allocs/op -BenchmarkNot-4 100000 22577 ns/op 136 B/op 5 allocs/op -BenchmarkFilterFunction-4 50000 33960 ns/op 22976 B/op 755 allocs/op -BenchmarkNotFunction-4 50000 37909 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterNodes-4 50000 34196 ns/op 20960 B/op 749 allocs/op -BenchmarkNotNodes-4 30000 40446 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterSelection-4 50000 33091 ns/op 20960 B/op 749 allocs/op -BenchmarkNotSelection-4 30000 40609 ns/op 29120 B/op 757 allocs/op -BenchmarkHas-4 5000 262936 ns/op 2371 B/op 50 allocs/op -BenchmarkHasNodes-4 10000 148631 ns/op 21184 B/op 752 allocs/op -BenchmarkHasSelection-4 10000 153117 ns/op 21184 B/op 752 allocs/op -BenchmarkEnd-4 2000000000 1.02 ns/op 0 B/op 0 allocs/op -BenchmarkEach-4 300000 4653 ns/op 3304 B/op 118 allocs/op -BenchmarkMap-4 200000 8257 ns/op 5572 B/op 184 allocs/op -BenchmarkEachWithBreak-4 2000000 806 ns/op 560 B/op 20 allocs/op -BenchmarkAttr-4 100000000 22.0 ns/op 0 B/op 0 allocs/op -BenchmarkText-4 200000 8913 ns/op 7536 B/op 110 allocs/op -BenchmarkLength-4 2000000000 0.35 ns/op 0 B/op 0 allocs/op -BenchmarkHtml-4 5000000 398 ns/op 120 B/op 2 allocs/op -BenchmarkIs-4 100000 22392 ns/op 88 B/op 4 allocs/op -BenchmarkIsPositional-4 50000 26259 ns/op 1112 B/op 10 allocs/op -BenchmarkIsFunction-4 1000000 1212 ns/op 784 B/op 28 allocs/op -BenchmarkIsSelection-4 50000 33222 ns/op 20960 B/op 749 allocs/op -BenchmarkIsNodes-4 50000 33408 ns/op 20960 B/op 749 allocs/op -BenchmarkHasClass-4 10000 233208 ns/op 14944 B/op 976 allocs/op -BenchmarkContains-4 200000000 7.57 ns/op 0 B/op 0 allocs/op -BenchmarkFind-4 100000 16121 ns/op 3839 B/op 21 allocs/op -BenchmarkFindWithinSelection-4 20000 68019 ns/op 11521 B/op 97 allocs/op -BenchmarkFindSelection-4 5000 387582 ns/op 59787 B/op 176 allocs/op -BenchmarkFindNodes-4 5000 389246 ns/op 59797 B/op 176 allocs/op -BenchmarkContents-4 200000 11475 ns/op 2878 B/op 42 allocs/op -BenchmarkContentsFiltered-4 200000 11222 ns/op 2498 B/op 46 allocs/op -BenchmarkChildren-4 2000000 650 ns/op 152 B/op 7 allocs/op -BenchmarkChildrenFiltered-4 500000 2568 ns/op 352 B/op 15 allocs/op -BenchmarkParent-4 2000 702513 ns/op 194478 B/op 828 allocs/op -BenchmarkParentFiltered-4 2000 690778 ns/op 194658 B/op 835 allocs/op -BenchmarkParents-4 10000 124855 ns/op 49869 B/op 868 allocs/op -BenchmarkParentsFiltered-4 10000 128535 ns/op 50456 B/op 876 allocs/op -BenchmarkParentsUntil-4 20000 72982 ns/op 23802 B/op 388 allocs/op -BenchmarkParentsUntilSelection-4 10000 156099 ns/op 72453 B/op 1549 allocs/op -BenchmarkParentsUntilNodes-4 10000 156610 ns/op 72455 B/op 1549 allocs/op -BenchmarkParentsFilteredUntil-4 100000 15549 ns/op 4068 B/op 94 allocs/op -BenchmarkParentsFilteredUntilSelection-4 100000 20564 ns/op 7276 B/op 198 allocs/op -BenchmarkParentsFilteredUntilNodes-4 100000 20635 ns/op 7276 B/op 198 allocs/op -BenchmarkSiblings-4 3000 565114 ns/op 205910 B/op 336 allocs/op -BenchmarkSiblingsFiltered-4 3000 580264 ns/op 206993 B/op 345 allocs/op -BenchmarkNext-4 20000 93177 ns/op 26810 B/op 169 allocs/op -BenchmarkNextFiltered-4 20000 94171 ns/op 27013 B/op 175 allocs/op -BenchmarkNextAll-4 5000 270320 ns/op 89289 B/op 237 allocs/op -BenchmarkNextAllFiltered-4 5000 275283 ns/op 90375 B/op 246 allocs/op -BenchmarkPrev-4 20000 92777 ns/op 26810 B/op 169 allocs/op -BenchmarkPrevFiltered-4 20000 95577 ns/op 27007 B/op 175 allocs/op -BenchmarkPrevAll-4 20000 86339 ns/op 27515 B/op 151 allocs/op -BenchmarkPrevAllFiltered-4 20000 87759 ns/op 27715 B/op 157 allocs/op -BenchmarkNextUntil-4 10000 163930 ns/op 48541 B/op 330 allocs/op -BenchmarkNextUntilSelection-4 30000 56382 ns/op 23880 B/op 556 allocs/op -BenchmarkNextUntilNodes-4 100000 18883 ns/op 8703 B/op 252 allocs/op -BenchmarkPrevUntil-4 3000 484668 ns/op 145402 B/op 611 allocs/op -BenchmarkPrevUntilSelection-4 20000 72125 ns/op 28865 B/op 705 allocs/op -BenchmarkPrevUntilNodes-4 100000 14722 ns/op 6510 B/op 205 allocs/op -BenchmarkNextFilteredUntil-4 50000 39006 ns/op 10990 B/op 192 allocs/op -BenchmarkNextFilteredUntilSelection-4 20000 66048 ns/op 25641 B/op 586 allocs/op -BenchmarkNextFilteredUntilNodes-4 20000 65314 ns/op 25640 B/op 586 allocs/op -BenchmarkPrevFilteredUntil-4 50000 33312 ns/op 9709 B/op 189 allocs/op -BenchmarkPrevFilteredUntilSelection-4 20000 64197 ns/op 24981 B/op 601 allocs/op -BenchmarkPrevFilteredUntilNodes-4 20000 64505 ns/op 24982 B/op 601 allocs/op -BenchmarkClosest-4 500000 4065 ns/op 160 B/op 8 allocs/op -BenchmarkClosestSelection-4 2000000 756 ns/op 96 B/op 6 allocs/op -BenchmarkClosestNodes-4 2000000 753 ns/op 96 B/op 6 allocs/op -PASS -ok github.com/PuerkitoBio/goquery 162.053s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1b-go1.7 b/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1b-go1.7 deleted file mode 100644 index e8a9e512..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1b-go1.7 +++ /dev/null @@ -1,85 +0,0 @@ -BenchmarkFirst-4 30000000 51.8 ns/op 48 B/op 1 allocs/op -BenchmarkLast-4 30000000 50.1 ns/op 48 B/op 1 allocs/op -BenchmarkEq-4 30000000 51.4 ns/op 48 B/op 1 allocs/op -BenchmarkSlice-4 500000000 3.52 ns/op 0 B/op 0 allocs/op -BenchmarkGet-4 2000000000 1.65 ns/op 0 B/op 0 allocs/op -BenchmarkIndex-4 2000000 787 ns/op 248 B/op 10 allocs/op -BenchmarkIndexSelector-4 100000 16952 ns/op 3839 B/op 21 allocs/op -BenchmarkIndexOfNode-4 200000000 6.42 ns/op 0 B/op 0 allocs/op -BenchmarkIndexOfSelection-4 200000000 7.12 ns/op 0 B/op 0 allocs/op -BenchmarkMetalReviewExample-4 10000 141994 ns/op 12418 B/op 320 allocs/op -BenchmarkAdd-4 200000 10367 ns/op 208 B/op 9 allocs/op -BenchmarkAddSelection-4 10000000 152 ns/op 48 B/op 1 allocs/op -BenchmarkAddNodes-4 10000000 147 ns/op 48 B/op 1 allocs/op -BenchmarkAndSelf-4 1000000 1647 ns/op 1008 B/op 5 allocs/op -BenchmarkFilter-4 100000 19522 ns/op 360 B/op 8 allocs/op -BenchmarkNot-4 100000 22546 ns/op 136 B/op 5 allocs/op -BenchmarkFilterFunction-4 50000 35087 ns/op 22976 B/op 755 allocs/op -BenchmarkNotFunction-4 50000 39123 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterNodes-4 50000 34890 ns/op 20960 B/op 749 allocs/op -BenchmarkNotNodes-4 30000 41145 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterSelection-4 50000 33735 ns/op 20960 B/op 749 allocs/op -BenchmarkNotSelection-4 30000 41334 ns/op 29120 B/op 757 allocs/op -BenchmarkHas-4 5000 264058 ns/op 2370 B/op 50 allocs/op -BenchmarkHasNodes-4 10000 151718 ns/op 21184 B/op 752 allocs/op -BenchmarkHasSelection-4 10000 156955 ns/op 21184 B/op 752 allocs/op -BenchmarkEnd-4 2000000000 1.01 ns/op 0 B/op 0 allocs/op -BenchmarkEach-4 300000 4660 ns/op 3304 B/op 118 allocs/op -BenchmarkMap-4 200000 8404 ns/op 5572 B/op 184 allocs/op -BenchmarkEachWithBreak-4 2000000 806 ns/op 560 B/op 20 allocs/op -BenchmarkAttr-4 100000000 21.6 ns/op 0 B/op 0 allocs/op -BenchmarkText-4 200000 8911 ns/op 7536 B/op 110 allocs/op -BenchmarkLength-4 2000000000 0.34 ns/op 0 B/op 0 allocs/op -BenchmarkHtml-4 3000000 405 ns/op 120 B/op 2 allocs/op -BenchmarkIs-4 100000 22228 ns/op 88 B/op 4 allocs/op -BenchmarkIsPositional-4 50000 26469 ns/op 1112 B/op 10 allocs/op -BenchmarkIsFunction-4 1000000 1240 ns/op 784 B/op 28 allocs/op -BenchmarkIsSelection-4 50000 33709 ns/op 20960 B/op 749 allocs/op -BenchmarkIsNodes-4 50000 33711 ns/op 20960 B/op 749 allocs/op -BenchmarkHasClass-4 10000 236005 ns/op 14944 B/op 976 allocs/op -BenchmarkContains-4 200000000 7.47 ns/op 0 B/op 0 allocs/op -BenchmarkFind-4 100000 16075 ns/op 3839 B/op 21 allocs/op -BenchmarkFindWithinSelection-4 30000 41418 ns/op 3539 B/op 82 allocs/op -BenchmarkFindSelection-4 10000 209490 ns/op 5616 B/op 89 allocs/op -BenchmarkFindNodes-4 10000 208206 ns/op 5614 B/op 89 allocs/op -BenchmarkContents-4 300000 4751 ns/op 1420 B/op 36 allocs/op -BenchmarkContentsFiltered-4 300000 5454 ns/op 1570 B/op 41 allocs/op -BenchmarkChildren-4 3000000 527 ns/op 152 B/op 7 allocs/op -BenchmarkChildrenFiltered-4 1000000 2484 ns/op 352 B/op 15 allocs/op -BenchmarkParent-4 50000 34724 ns/op 6940 B/op 387 allocs/op -BenchmarkParentFiltered-4 50000 35596 ns/op 7141 B/op 394 allocs/op -BenchmarkParents-4 20000 62094 ns/op 30720 B/op 837 allocs/op -BenchmarkParentsFiltered-4 20000 63223 ns/op 31304 B/op 845 allocs/op -BenchmarkParentsUntil-4 50000 30391 ns/op 11828 B/op 358 allocs/op -BenchmarkParentsUntilSelection-4 20000 99962 ns/op 54075 B/op 1523 allocs/op -BenchmarkParentsUntilNodes-4 20000 98763 ns/op 54073 B/op 1523 allocs/op -BenchmarkParentsFilteredUntil-4 200000 7982 ns/op 2787 B/op 88 allocs/op -BenchmarkParentsFilteredUntilSelection-4 100000 13618 ns/op 5995 B/op 192 allocs/op -BenchmarkParentsFilteredUntilNodes-4 100000 13639 ns/op 5994 B/op 192 allocs/op -BenchmarkSiblings-4 20000 75287 ns/op 28453 B/op 225 allocs/op -BenchmarkSiblingsFiltered-4 20000 80139 ns/op 29543 B/op 234 allocs/op -BenchmarkNext-4 100000 14270 ns/op 4659 B/op 117 allocs/op -BenchmarkNextFiltered-4 100000 15352 ns/op 4860 B/op 123 allocs/op -BenchmarkNextAll-4 20000 60811 ns/op 22771 B/op 157 allocs/op -BenchmarkNextAllFiltered-4 20000 69079 ns/op 23871 B/op 166 allocs/op -BenchmarkPrev-4 100000 14417 ns/op 4659 B/op 117 allocs/op -BenchmarkPrevFiltered-4 100000 15443 ns/op 4859 B/op 123 allocs/op -BenchmarkPrevAll-4 100000 22008 ns/op 7346 B/op 120 allocs/op -BenchmarkPrevAllFiltered-4 100000 23212 ns/op 7544 B/op 126 allocs/op -BenchmarkNextUntil-4 50000 30589 ns/op 8767 B/op 267 allocs/op -BenchmarkNextUntilSelection-4 30000 40875 ns/op 19862 B/op 546 allocs/op -BenchmarkNextUntilNodes-4 100000 15987 ns/op 8134 B/op 249 allocs/op -BenchmarkPrevUntil-4 20000 98799 ns/op 25727 B/op 467 allocs/op -BenchmarkPrevUntilSelection-4 30000 51874 ns/op 24875 B/op 694 allocs/op -BenchmarkPrevUntilNodes-4 100000 12901 ns/op 6334 B/op 204 allocs/op -BenchmarkNextFilteredUntil-4 100000 19869 ns/op 5909 B/op 177 allocs/op -BenchmarkNextFilteredUntilSelection-4 30000 45412 ns/op 20557 B/op 571 allocs/op -BenchmarkNextFilteredUntilNodes-4 30000 45363 ns/op 20557 B/op 571 allocs/op -BenchmarkPrevFilteredUntil-4 100000 19357 ns/op 6033 B/op 179 allocs/op -BenchmarkPrevFilteredUntilSelection-4 30000 46396 ns/op 21305 B/op 591 allocs/op -BenchmarkPrevFilteredUntilNodes-4 30000 46133 ns/op 21305 B/op 591 allocs/op -BenchmarkClosest-4 500000 3448 ns/op 160 B/op 8 allocs/op -BenchmarkClosestSelection-4 3000000 528 ns/op 96 B/op 6 allocs/op -BenchmarkClosestNodes-4 3000000 523 ns/op 96 B/op 6 allocs/op -PASS -ok github.com/PuerkitoBio/goquery 162.012s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1c-go1.7 b/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1c-go1.7 deleted file mode 100644 index e522e5a2..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench/v1.0.1c-go1.7 +++ /dev/null @@ -1,86 +0,0 @@ -BenchmarkFirst-4 30000000 51.7 ns/op 48 B/op 1 allocs/op -BenchmarkLast-4 30000000 51.9 ns/op 48 B/op 1 allocs/op -BenchmarkEq-4 30000000 50.0 ns/op 48 B/op 1 allocs/op -BenchmarkSlice-4 500000000 3.47 ns/op 0 B/op 0 allocs/op -BenchmarkGet-4 2000000000 1.68 ns/op 0 B/op 0 allocs/op -BenchmarkIndex-4 2000000 804 ns/op 248 B/op 10 allocs/op -BenchmarkIndexSelector-4 100000 16285 ns/op 3839 B/op 21 allocs/op -BenchmarkIndexOfNode-4 200000000 6.50 ns/op 0 B/op 0 allocs/op -BenchmarkIndexOfSelection-4 200000000 7.02 ns/op 0 B/op 0 allocs/op -BenchmarkMetalReviewExample-4 10000 143160 ns/op 12417 B/op 320 allocs/op -BenchmarkAdd-4 200000 10326 ns/op 208 B/op 9 allocs/op -BenchmarkAddSelection-4 10000000 155 ns/op 48 B/op 1 allocs/op -BenchmarkAddNodes-4 10000000 156 ns/op 48 B/op 1 allocs/op -BenchmarkAddNodesBig-4 20000 94439 ns/op 21847 B/op 37 allocs/op -BenchmarkAndSelf-4 1000000 1791 ns/op 1008 B/op 5 allocs/op -BenchmarkFilter-4 100000 19470 ns/op 360 B/op 8 allocs/op -BenchmarkNot-4 100000 22500 ns/op 136 B/op 5 allocs/op -BenchmarkFilterFunction-4 50000 34578 ns/op 22976 B/op 755 allocs/op -BenchmarkNotFunction-4 50000 38703 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterNodes-4 50000 34486 ns/op 20960 B/op 749 allocs/op -BenchmarkNotNodes-4 30000 41094 ns/op 29120 B/op 757 allocs/op -BenchmarkFilterSelection-4 50000 33623 ns/op 20960 B/op 749 allocs/op -BenchmarkNotSelection-4 30000 41483 ns/op 29120 B/op 757 allocs/op -BenchmarkHas-4 5000 266628 ns/op 2371 B/op 50 allocs/op -BenchmarkHasNodes-4 10000 152617 ns/op 21184 B/op 752 allocs/op -BenchmarkHasSelection-4 10000 156682 ns/op 21184 B/op 752 allocs/op -BenchmarkEnd-4 2000000000 1.00 ns/op 0 B/op 0 allocs/op -BenchmarkEach-4 300000 4712 ns/op 3304 B/op 118 allocs/op -BenchmarkMap-4 200000 8434 ns/op 5572 B/op 184 allocs/op -BenchmarkEachWithBreak-4 2000000 819 ns/op 560 B/op 20 allocs/op -BenchmarkAttr-4 100000000 21.7 ns/op 0 B/op 0 allocs/op -BenchmarkText-4 200000 9376 ns/op 7536 B/op 110 allocs/op -BenchmarkLength-4 2000000000 0.35 ns/op 0 B/op 0 allocs/op -BenchmarkHtml-4 5000000 401 ns/op 120 B/op 2 allocs/op -BenchmarkIs-4 100000 22214 ns/op 88 B/op 4 allocs/op -BenchmarkIsPositional-4 50000 26559 ns/op 1112 B/op 10 allocs/op -BenchmarkIsFunction-4 1000000 1228 ns/op 784 B/op 28 allocs/op -BenchmarkIsSelection-4 50000 33471 ns/op 20960 B/op 749 allocs/op -BenchmarkIsNodes-4 50000 34461 ns/op 20960 B/op 749 allocs/op -BenchmarkHasClass-4 10000 232429 ns/op 14944 B/op 976 allocs/op -BenchmarkContains-4 200000000 7.62 ns/op 0 B/op 0 allocs/op -BenchmarkFind-4 100000 16114 ns/op 3839 B/op 21 allocs/op -BenchmarkFindWithinSelection-4 30000 42520 ns/op 3540 B/op 82 allocs/op -BenchmarkFindSelection-4 10000 209801 ns/op 5615 B/op 89 allocs/op -BenchmarkFindNodes-4 10000 209082 ns/op 5614 B/op 89 allocs/op -BenchmarkContents-4 300000 4836 ns/op 1420 B/op 36 allocs/op -BenchmarkContentsFiltered-4 200000 5495 ns/op 1570 B/op 41 allocs/op -BenchmarkChildren-4 3000000 527 ns/op 152 B/op 7 allocs/op -BenchmarkChildrenFiltered-4 500000 2499 ns/op 352 B/op 15 allocs/op -BenchmarkParent-4 50000 34072 ns/op 6942 B/op 387 allocs/op -BenchmarkParentFiltered-4 50000 36077 ns/op 7141 B/op 394 allocs/op -BenchmarkParents-4 20000 64118 ns/op 30719 B/op 837 allocs/op -BenchmarkParentsFiltered-4 20000 63432 ns/op 31303 B/op 845 allocs/op -BenchmarkParentsUntil-4 50000 29589 ns/op 11829 B/op 358 allocs/op -BenchmarkParentsUntilSelection-4 10000 101033 ns/op 54076 B/op 1523 allocs/op -BenchmarkParentsUntilNodes-4 10000 100584 ns/op 54076 B/op 1523 allocs/op -BenchmarkParentsFilteredUntil-4 200000 8061 ns/op 2787 B/op 88 allocs/op -BenchmarkParentsFilteredUntilSelection-4 100000 13848 ns/op 5995 B/op 192 allocs/op -BenchmarkParentsFilteredUntilNodes-4 100000 13766 ns/op 5995 B/op 192 allocs/op -BenchmarkSiblings-4 20000 75135 ns/op 28453 B/op 225 allocs/op -BenchmarkSiblingsFiltered-4 20000 80532 ns/op 29544 B/op 234 allocs/op -BenchmarkNext-4 100000 14200 ns/op 4660 B/op 117 allocs/op -BenchmarkNextFiltered-4 100000 15284 ns/op 4859 B/op 123 allocs/op -BenchmarkNextAll-4 20000 60889 ns/op 22774 B/op 157 allocs/op -BenchmarkNextAllFiltered-4 20000 65125 ns/op 23869 B/op 166 allocs/op -BenchmarkPrev-4 100000 14448 ns/op 4659 B/op 117 allocs/op -BenchmarkPrevFiltered-4 100000 15444 ns/op 4859 B/op 123 allocs/op -BenchmarkPrevAll-4 100000 22019 ns/op 7344 B/op 120 allocs/op -BenchmarkPrevAllFiltered-4 100000 23307 ns/op 7545 B/op 126 allocs/op -BenchmarkNextUntil-4 50000 30287 ns/op 8766 B/op 267 allocs/op -BenchmarkNextUntilSelection-4 30000 41476 ns/op 19862 B/op 546 allocs/op -BenchmarkNextUntilNodes-4 100000 16106 ns/op 8133 B/op 249 allocs/op -BenchmarkPrevUntil-4 20000 98951 ns/op 25728 B/op 467 allocs/op -BenchmarkPrevUntilSelection-4 30000 52390 ns/op 24875 B/op 694 allocs/op -BenchmarkPrevUntilNodes-4 100000 12986 ns/op 6334 B/op 204 allocs/op -BenchmarkNextFilteredUntil-4 100000 19365 ns/op 5908 B/op 177 allocs/op -BenchmarkNextFilteredUntilSelection-4 30000 45334 ns/op 20555 B/op 571 allocs/op -BenchmarkNextFilteredUntilNodes-4 30000 45292 ns/op 20556 B/op 571 allocs/op -BenchmarkPrevFilteredUntil-4 100000 19412 ns/op 6032 B/op 179 allocs/op -BenchmarkPrevFilteredUntilSelection-4 30000 46286 ns/op 21304 B/op 591 allocs/op -BenchmarkPrevFilteredUntilNodes-4 30000 46554 ns/op 21305 B/op 591 allocs/op -BenchmarkClosest-4 500000 3480 ns/op 160 B/op 8 allocs/op -BenchmarkClosestSelection-4 2000000 722 ns/op 96 B/op 6 allocs/op -BenchmarkClosestNodes-4 2000000 719 ns/op 96 B/op 6 allocs/op -PASS -ok github.com/PuerkitoBio/goquery 160.565s diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_array_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_array_test.go deleted file mode 100644 index 29c7e205..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_array_test.go +++ /dev/null @@ -1,120 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFirst(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.First() - } -} - -func BenchmarkLast(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Last() - } -} - -func BenchmarkEq(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Eq(j) - if j++; j >= sel.Length() { - j = 0 - } - } -} - -func BenchmarkSlice(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Slice(j, j+4) - if j++; j >= (sel.Length() - 4) { - j = 0 - } - } -} - -func BenchmarkGet(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Get(j) - if j++; j >= sel.Length() { - j = 0 - } - } -} - -func BenchmarkIndex(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("#Main") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.Index() - } - if j != 3 { - b.Fatalf("want 3, got %d", j) - } -} - -func BenchmarkIndexSelector(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("#manual-nav dl dd:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexSelector("dd") - } - if j != 4 { - b.Fatalf("want 4, got %d", j) - } -} - -func BenchmarkIndexOfNode(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("span a") - sel2 := DocB().Find("span a:nth-child(3)") - n := sel2.Get(0) - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexOfNode(n) - } - if j != 2 { - b.Fatalf("want 2, got %d", j) - } -} - -func BenchmarkIndexOfSelection(b *testing.B) { - var j int - b.StopTimer() - sel := DocB().Find("span a") - sel2 := DocB().Find("span a:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexOfSelection(sel2) - } - if j != 2 { - b.Fatalf("want 2, got %d", j) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_example_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_example_test.go deleted file mode 100644 index ba9ebe5c..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_example_test.go +++ /dev/null @@ -1,40 +0,0 @@ -package goquery - -import ( - "bytes" - "fmt" - "strconv" - "testing" -) - -func BenchmarkMetalReviewExample(b *testing.B) { - var n int - var buf bytes.Buffer - - b.StopTimer() - doc := loadDoc("metalreview.html") - b.StartTimer() - for i := 0; i < b.N; i++ { - doc.Find(".slider-row:nth-child(1) .slider-item").Each(func(i int, s *Selection) { - var band, title string - var score float64 - var e error - - n++ - // For each item found, get the band, title and score, and print it - band = s.Find("strong").Text() - title = s.Find("em").Text() - if score, e = strconv.ParseFloat(s.Find(".score").Text(), 64); e != nil { - // Not a valid float, ignore score - if n <= 4 { - buf.WriteString(fmt.Sprintf("Review %d: %s - %s.\n", i, band, title)) - } - } else { - // Print all, including score - if n <= 4 { - buf.WriteString(fmt.Sprintf("Review %d: %s - %s (%2.1f).\n", i, band, title, score)) - } - } - }) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_expand_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_expand_test.go deleted file mode 100644 index 61f19475..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_expand_test.go +++ /dev/null @@ -1,104 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkAdd(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Add("h2[title]").Length() - } else { - sel.Add("h2[title]") - } - } - if n != 43 { - b.Fatalf("want 43, got %d", n) - } -} - -func BenchmarkAddSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - sel2 := DocB().Find("h2[title]") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AddSelection(sel2).Length() - } else { - sel.AddSelection(sel2) - } - } - if n != 43 { - b.Fatalf("want 43, got %d", n) - } -} - -func BenchmarkAddNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - sel2 := DocB().Find("h2[title]") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AddNodes(nodes...).Length() - } else { - sel.AddNodes(nodes...) - } - } - if n != 43 { - b.Fatalf("want 43, got %d", n) - } -} - -func BenchmarkAddNodesBig(b *testing.B) { - var n int - - doc := DocW() - sel := doc.Find("li") - // make nodes > 1000 - nodes := sel.Nodes - nodes = append(nodes, nodes...) - nodes = append(nodes, nodes...) - sel = doc.Find("xyz") - b.ResetTimer() - - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AddNodes(nodes...).Length() - } else { - sel.AddNodes(nodes...) - } - } - if n != 373 { - b.Fatalf("want 373, got %d", n) - } -} - -func BenchmarkAndSelf(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd").Parent() - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AndSelf().Length() - } else { - sel.AndSelf() - } - } - if n != 44 { - b.Fatalf("want 44, got %d", n) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_filter_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_filter_test.go deleted file mode 100644 index 38e39f54..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_filter_test.go +++ /dev/null @@ -1,236 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFilter(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Filter(".toclevel-1").Length() - } else { - sel.Filter(".toclevel-1") - } - } - if n != 13 { - b.Fatalf("want 13, got %d", n) - } -} - -func BenchmarkNot(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Not(".toclevel-2").Length() - } else { - sel.Filter(".toclevel-2") - } - } - if n != 371 { - b.Fatalf("want 371, got %d", n) - } -} - -func BenchmarkFilterFunction(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - f := func(i int, s *Selection) bool { - return len(s.Get(0).Attr) > 0 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterFunction(f).Length() - } else { - sel.FilterFunction(f) - } - } - if n != 112 { - b.Fatalf("want 112, got %d", n) - } -} - -func BenchmarkNotFunction(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - f := func(i int, s *Selection) bool { - return len(s.Get(0).Attr) > 0 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotFunction(f).Length() - } else { - sel.NotFunction(f) - } - } - if n != 261 { - b.Fatalf("want 261, got %d", n) - } -} - -func BenchmarkFilterNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterNodes(nodes...).Length() - } else { - sel.FilterNodes(nodes...) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkNotNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-1") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotNodes(nodes...).Length() - } else { - sel.NotNodes(nodes...) - } - } - if n != 360 { - b.Fatalf("want 360, got %d", n) - } -} - -func BenchmarkFilterSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterSelection(sel2).Length() - } else { - sel.FilterSelection(sel2) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkNotSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotSelection(sel2).Length() - } else { - sel.NotSelection(sel2) - } - } - if n != 360 { - b.Fatalf("want 360, got %d", n) - } -} - -func BenchmarkHas(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Has(".editsection").Length() - } else { - sel.Has(".editsection") - } - } - if n != 13 { - b.Fatalf("want 13, got %d", n) - } -} - -func BenchmarkHasNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".tocnumber") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.HasNodes(nodes...).Length() - } else { - sel.HasNodes(nodes...) - } - } - if n != 15 { - b.Fatalf("want 15, got %d", n) - } -} - -func BenchmarkHasSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".tocnumber") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.HasSelection(sel2).Length() - } else { - sel.HasSelection(sel2) - } - } - if n != 15 { - b.Fatalf("want 15, got %d", n) - } -} - -func BenchmarkEnd(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li").Has(".tocnumber") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.End().Length() - } else { - sel.End() - } - } - if n != 373 { - b.Fatalf("want 373, got %d", n) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_iteration_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_iteration_test.go deleted file mode 100644 index 39445b0a..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_iteration_test.go +++ /dev/null @@ -1,68 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkEach(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) { - tmp++ - } - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Each(f) - if n == 0 { - n = tmp - } - } - if n != 59 { - b.Fatalf("want 59, got %d", n) - } -} - -func BenchmarkMap(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) string { - tmp++ - return string(tmp) - } - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Map(f) - if n == 0 { - n = tmp - } - } - if n != 59 { - b.Fatalf("want 59, got %d", n) - } -} - -func BenchmarkEachWithBreak(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) bool { - tmp++ - return tmp < 10 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - tmp = 0 - sel.EachWithBreak(f) - if n == 0 { - n = tmp - } - } - if n != 10 { - b.Fatalf("want 10, got %d", n) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_property_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_property_test.go deleted file mode 100644 index 8acf5bfc..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_property_test.go +++ /dev/null @@ -1,51 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkAttr(b *testing.B) { - var s string - - b.StopTimer() - sel := DocW().Find("h1") - b.StartTimer() - for i := 0; i < b.N; i++ { - s, _ = sel.Attr("id") - } - if s != "firstHeading" { - b.Fatalf("want firstHeading, got %q", s) - } -} - -func BenchmarkText(b *testing.B) { - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Text() - } -} - -func BenchmarkLength(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - n = sel.Length() - } - if n != 14 { - b.Fatalf("want 14, got %d", n) - } -} - -func BenchmarkHtml(b *testing.B) { - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Html() - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_query_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_query_test.go deleted file mode 100644 index 64fdbc4b..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_query_test.go +++ /dev/null @@ -1,111 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkIs(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Is(".toclevel-2") - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkIsPositional(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Is("li:nth-child(2)") - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkIsFunction(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - f := func(i int, s *Selection) bool { - return i == 8 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsFunction(f) - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkIsSelection(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsSelection(sel2) - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkIsNodes(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsNodes(nodes...) - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkHasClass(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("span") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.HasClass("official") - } - if !y { - b.Fatal("want true") - } -} - -func BenchmarkContains(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("span.url") - sel2 := DocW().Find("a[rel=\"nofollow\"]") - node := sel2.Nodes[0] - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Contains(node) - } - if !y { - b.Fatal("want true") - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/bench_traversal_test.go b/vendor/github.com/PuerkitoBio/goquery/bench_traversal_test.go deleted file mode 100644 index de84bcdf..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/bench_traversal_test.go +++ /dev/null @@ -1,802 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFind(b *testing.B) { - var n int - - for i := 0; i < b.N; i++ { - if n == 0 { - n = DocB().Find("dd").Length() - - } else { - DocB().Find("dd") - } - } - if n != 41 { - b.Fatalf("want 41, got %d", n) - } -} - -func BenchmarkFindWithinSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Find("a[class]").Length() - } else { - sel.Find("a[class]") - } - } - if n != 39 { - b.Fatalf("want 39, got %d", n) - } -} - -func BenchmarkFindSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - sel2 := DocW().Find("span") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FindSelection(sel2).Length() - } else { - sel.FindSelection(sel2) - } - } - if n != 73 { - b.Fatalf("want 73, got %d", n) - } -} - -func BenchmarkFindNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - sel2 := DocW().Find("span") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FindNodes(nodes...).Length() - } else { - sel.FindNodes(nodes...) - } - } - if n != 73 { - b.Fatalf("want 73, got %d", n) - } -} - -func BenchmarkContents(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Contents().Length() - } else { - sel.Contents() - } - } - if n != 16 { - b.Fatalf("want 16, got %d", n) - } -} - -func BenchmarkContentsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ContentsFiltered("a[href=\"#Examples\"]").Length() - } else { - sel.ContentsFiltered("a[href=\"#Examples\"]") - } - } - if n != 1 { - b.Fatalf("want 1, got %d", n) - } -} - -func BenchmarkChildren(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Children().Length() - } else { - sel.Children() - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkChildrenFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h3") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ChildrenFiltered(".editsection").Length() - } else { - sel.ChildrenFiltered(".editsection") - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkParent(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Parent().Length() - } else { - sel.Parent() - } - } - if n != 55 { - b.Fatalf("want 55, got %d", n) - } -} - -func BenchmarkParentFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentFiltered("ul[id]").Length() - } else { - sel.ParentFiltered("ul[id]") - } - } - if n != 4 { - b.Fatalf("want 4, got %d", n) - } -} - -func BenchmarkParents(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Parents().Length() - } else { - sel.Parents() - } - } - if n != 73 { - b.Fatalf("want 73, got %d", n) - } -} - -func BenchmarkParentsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFiltered("tr").Length() - } else { - sel.ParentsFiltered("tr") - } - } - if n != 18 { - b.Fatalf("want 18, got %d", n) - } -} - -func BenchmarkParentsUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntil("table").Length() - } else { - sel.ParentsUntil("table") - } - } - if n != 52 { - b.Fatalf("want 52, got %d", n) - } -} - -func BenchmarkParentsUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - sel2 := DocW().Find("#content") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntilSelection(sel2).Length() - } else { - sel.ParentsUntilSelection(sel2) - } - } - if n != 70 { - b.Fatalf("want 70, got %d", n) - } -} - -func BenchmarkParentsUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - sel2 := DocW().Find("#content") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntilNodes(nodes...).Length() - } else { - sel.ParentsUntilNodes(nodes...) - } - } - if n != 70 { - b.Fatalf("want 70, got %d", n) - } -} - -func BenchmarkParentsFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntil(":nth-child(1)", "ul").Length() - } else { - sel.ParentsFilteredUntil(":nth-child(1)", "ul") - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkParentsFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntilSelection(":nth-child(1)", sel2).Length() - } else { - sel.ParentsFilteredUntilSelection(":nth-child(1)", sel2) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkParentsFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - sel2 := DocW().Find("ul") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntilNodes(":nth-child(1)", nodes...).Length() - } else { - sel.ParentsFilteredUntilNodes(":nth-child(1)", nodes...) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkSiblings(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Siblings().Length() - } else { - sel.Siblings() - } - } - if n != 293 { - b.Fatalf("want 293, got %d", n) - } -} - -func BenchmarkSiblingsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.SiblingsFiltered("[class]").Length() - } else { - sel.SiblingsFiltered("[class]") - } - } - if n != 46 { - b.Fatalf("want 46, got %d", n) - } -} - -func BenchmarkNext(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Next().Length() - } else { - sel.Next() - } - } - if n != 49 { - b.Fatalf("want 49, got %d", n) - } -} - -func BenchmarkNextFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFiltered("[class]").Length() - } else { - sel.NextFiltered("[class]") - } - } - if n != 6 { - b.Fatalf("want 6, got %d", n) - } -} - -func BenchmarkNextAll(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextAll().Length() - } else { - sel.NextAll() - } - } - if n != 234 { - b.Fatalf("want 234, got %d", n) - } -} - -func BenchmarkNextAllFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextAllFiltered("[class]").Length() - } else { - sel.NextAllFiltered("[class]") - } - } - if n != 33 { - b.Fatalf("want 33, got %d", n) - } -} - -func BenchmarkPrev(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Prev().Length() - } else { - sel.Prev() - } - } - if n != 49 { - b.Fatalf("want 49, got %d", n) - } -} - -func BenchmarkPrevFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFiltered("[class]").Length() - } else { - sel.PrevFiltered("[class]") - } - } - // There is one more Prev li with a class, compared to Next li with a class - // (confirmed by looking at the HTML, this is ok) - if n != 7 { - b.Fatalf("want 7, got %d", n) - } -} - -func BenchmarkPrevAll(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(4)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevAll().Length() - } else { - sel.PrevAll() - } - } - if n != 78 { - b.Fatalf("want 78, got %d", n) - } -} - -func BenchmarkPrevAllFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(4)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevAllFiltered("[class]").Length() - } else { - sel.PrevAllFiltered("[class]") - } - } - if n != 6 { - b.Fatalf("want 6, got %d", n) - } -} - -func BenchmarkNextUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:first-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntil(":nth-child(4)").Length() - } else { - sel.NextUntil(":nth-child(4)") - } - } - if n != 84 { - b.Fatalf("want 84, got %d", n) - } -} - -func BenchmarkNextUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntilSelection(sel2).Length() - } else { - sel.NextUntilSelection(sel2) - } - } - if n != 42 { - b.Fatalf("want 42, got %d", n) - } -} - -func BenchmarkNextUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("p") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntilNodes(nodes...).Length() - } else { - sel.NextUntilNodes(nodes...) - } - } - if n != 12 { - b.Fatalf("want 12, got %d", n) - } -} - -func BenchmarkPrevUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntil(":nth-child(4)").Length() - } else { - sel.PrevUntil(":nth-child(4)") - } - } - if n != 238 { - b.Fatalf("want 238, got %d", n) - } -} - -func BenchmarkPrevUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntilSelection(sel2).Length() - } else { - sel.PrevUntilSelection(sel2) - } - } - if n != 49 { - b.Fatalf("want 49, got %d", n) - } -} - -func BenchmarkPrevUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("p") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntilNodes(nodes...).Length() - } else { - sel.PrevUntilNodes(nodes...) - } - } - if n != 11 { - b.Fatalf("want 11, got %d", n) - } -} - -func BenchmarkNextFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntil("p", "div").Length() - } else { - sel.NextFilteredUntil("p", "div") - } - } - if n != 22 { - b.Fatalf("want 22, got %d", n) - } -} - -func BenchmarkNextFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntilSelection("p", sel2).Length() - } else { - sel.NextFilteredUntilSelection("p", sel2) - } - } - if n != 22 { - b.Fatalf("want 22, got %d", n) - } -} - -func BenchmarkNextFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntilNodes("p", nodes...).Length() - } else { - sel.NextFilteredUntilNodes("p", nodes...) - } - } - if n != 22 { - b.Fatalf("want 22, got %d", n) - } -} - -func BenchmarkPrevFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntil("p", "div").Length() - } else { - sel.PrevFilteredUntil("p", "div") - } - } - if n != 20 { - b.Fatalf("want 20, got %d", n) - } -} - -func BenchmarkPrevFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntilSelection("p", sel2).Length() - } else { - sel.PrevFilteredUntilSelection("p", sel2) - } - } - if n != 20 { - b.Fatalf("want 20, got %d", n) - } -} - -func BenchmarkPrevFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntilNodes("p", nodes...).Length() - } else { - sel.PrevFilteredUntilNodes("p", nodes...) - } - } - if n != 20 { - b.Fatalf("want 20, got %d", n) - } -} - -func BenchmarkClosest(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Closest(".pvk-content").Length() - } else { - sel.Closest(".pvk-content") - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkClosestSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ClosestSelection(sel2).Length() - } else { - sel.ClosestSelection(sel2) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} - -func BenchmarkClosestNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - nodes := Doc().Find(".pvk-content").Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ClosestNodes(nodes...).Length() - } else { - sel.ClosestNodes(nodes...) - } - } - if n != 2 { - b.Fatalf("want 2, got %d", n) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/doc/tips.md b/vendor/github.com/PuerkitoBio/goquery/doc/tips.md deleted file mode 100644 index 4e789528..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/doc/tips.md +++ /dev/null @@ -1,68 +0,0 @@ -# Tips and tricks - -## Handle Non-UTF8 html Pages - -The `go.net/html` package used by `goquery` requires that the html document is UTF-8 encoded. When you know the encoding of the html page is not UTF-8, you can use the `iconv` package to convert it to UTF-8 (there are various implementation of the `iconv` API, see [godoc.org][iconv] for other options): - -``` -$ go get -u github.com/djimenez/iconv-go -``` - -and then: - -``` -// Load the URL -res, err := http.Get(url) -if err != nil { - // handle error -} -defer res.Body.Close() - -// Convert the designated charset HTML to utf-8 encoded HTML. -// `charset` being one of the charsets known by the iconv package. -utfBody, err := iconv.NewReader(res.Body, charset, "utf-8") -if err != nil { - // handler error -} - -// use utfBody using goquery -doc, err := goquery.NewDocumentFromReader(utfBody) -if err != nil { - // handler error -} -// use doc... -``` - -Thanks to github user @YuheiNakasaka. - -Actually, the official go.text repository covers this use case too, see its [godoc page][text] for the details. - - -## Handle Javascript-based Pages - -`goquery` is great to handle normal html pages, but when most of the page is build dynamically using javascript, there's not much it can do. There are various options when faced with this problem: - -* Use a headless browser such as [webloop][]. -* Use a Go javascript parser package, such as [otto][]. - -You can find a code example using `otto` [in this gist][exotto]. Thanks to github user @cryptix. - -## For Loop - -If all you need is a normal `for` loop over all nodes in the current selection, where `Map/Each`-style iteration is not necessary, you can use the following: - -``` -sel := Doc().Find(".selector") -for i := range sel.Nodes { - single := sel.Eq(i) - // use `single` as a selection of 1 node -} -``` - -Thanks to github user @jmoiron. - -[webloop]: https://github.com/sourcegraph/webloop -[otto]: https://github.com/robertkrimen/otto -[exotto]: https://gist.github.com/cryptix/87127f76a94183747b53 -[iconv]: http://godoc.org/?q=iconv -[text]: https://godoc.org/golang.org/x/text/encoding diff --git a/vendor/github.com/PuerkitoBio/goquery/example_test.go b/vendor/github.com/PuerkitoBio/goquery/example_test.go deleted file mode 100644 index bc97f059..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/example_test.go +++ /dev/null @@ -1,82 +0,0 @@ -package goquery_test - -import ( - "fmt" - "log" - "net/http" - "os" - "strings" - - "github.com/PuerkitoBio/goquery" -) - -// This example scrapes the reviews shown on the home page of metalsucks.net. -func Example() { - // Request the HTML page. - res, err := http.Get("http://metalsucks.net") - if err != nil { - log.Fatal(err) - } - defer res.Body.Close() - if res.StatusCode != 200 { - log.Fatalf("status code error: %d %s", res.StatusCode, res.Status) - } - - // Load the HTML document - doc, err := goquery.NewDocumentFromReader(res.Body) - if err != nil { - log.Fatal(err) - } - - // Find the review items - doc.Find(".sidebar-reviews article .content-block").Each(func(i int, s *goquery.Selection) { - // For each item found, get the band and title - band := s.Find("a").Text() - title := s.Find("i").Text() - fmt.Printf("Review %d: %s - %s\n", i, band, title) - }) - // To see the output of the Example while running the test suite (go test), simply - // remove the leading "x" before Output on the next line. This will cause the - // example to fail (all the "real" tests should pass). - - // xOutput: voluntarily fail the Example output. -} - -// This example shows how to use NewDocumentFromReader from a file. -func ExampleNewDocumentFromReader_file() { - // create from a file - f, err := os.Open("some/file.html") - if err != nil { - log.Fatal(err) - } - defer f.Close() - doc, err := goquery.NewDocumentFromReader(f) - if err != nil { - log.Fatal(err) - } - // use the goquery document... - _ = doc.Find("h1") -} - -// This example shows how to use NewDocumentFromReader from a string. -func ExampleNewDocumentFromReader_string() { - // create from a string - data := ` - - - My document - - -

Header

- -` - - doc, err := goquery.NewDocumentFromReader(strings.NewReader(data)) - if err != nil { - log.Fatal(err) - } - header := doc.Find("h1").Text() - fmt.Println(header) - - // Output: Header -} diff --git a/vendor/github.com/PuerkitoBio/goquery/expand_test.go b/vendor/github.com/PuerkitoBio/goquery/expand_test.go deleted file mode 100644 index c034dc62..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/expand_test.go +++ /dev/null @@ -1,118 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestAdd(t *testing.T) { - sel := Doc().Find("div.row-fluid").Add("a") - assertLength(t, sel.Nodes, 19) -} - -func TestAddInvalid(t *testing.T) { - sel1 := Doc().Find("div.row-fluid") - sel2 := sel1.Add("") - assertLength(t, sel1.Nodes, 9) - assertLength(t, sel2.Nodes, 9) - if sel1 == sel2 { - t.Errorf("selections should not be the same") - } -} - -func TestAddRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Add("a").End() - assertEqual(t, sel, sel2) -} - -func TestAddSelection(t *testing.T) { - sel := Doc().Find("div.row-fluid") - sel2 := Doc().Find("a") - sel = sel.AddSelection(sel2) - assertLength(t, sel.Nodes, 19) -} - -func TestAddSelectionNil(t *testing.T) { - sel := Doc().Find("div.row-fluid") - assertLength(t, sel.Nodes, 9) - - sel = sel.AddSelection(nil) - assertLength(t, sel.Nodes, 9) -} - -func TestAddSelectionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a") - sel2 = sel.AddSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestAddNodes(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - sel2 := Doc().Find(".pvk-content") - sel = sel.AddNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 9) -} - -func TestAddNodesNone(t *testing.T) { - sel := Doc().Find("div.pvk-gutter").AddNodes() - assertLength(t, sel.Nodes, 6) -} - -func TestAddNodesRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a") - sel2 = sel.AddNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestAddNodesBig(t *testing.T) { - doc := DocW() - sel := doc.Find("li") - assertLength(t, sel.Nodes, 373) - sel2 := doc.Find("xyz") - assertLength(t, sel2.Nodes, 0) - - nodes := sel.Nodes - sel2 = sel2.AddNodes(nodes...) - assertLength(t, sel2.Nodes, 373) - nodes2 := append(nodes, nodes...) - sel2 = sel2.End().AddNodes(nodes2...) - assertLength(t, sel2.Nodes, 373) - nodes3 := append(nodes2, nodes...) - sel2 = sel2.End().AddNodes(nodes3...) - assertLength(t, sel2.Nodes, 373) -} - -func TestAndSelf(t *testing.T) { - sel := Doc().Find(".span12").Last().AndSelf() - assertLength(t, sel.Nodes, 2) -} - -func TestAndSelfRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a").AndSelf().End().End() - assertEqual(t, sel, sel2) -} - -func TestAddBack(t *testing.T) { - sel := Doc().Find(".span12").Last().AddBack() - assertLength(t, sel.Nodes, 2) -} - -func TestAddBackRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a").AddBack().End().End() - assertEqual(t, sel, sel2) -} - -func TestAddBackFiltered(t *testing.T) { - sel := Doc().Find(".span12, .footer").Find("h1").AddBackFiltered(".footer") - assertLength(t, sel.Nodes, 2) -} - -func TestAddBackFilteredRollback(t *testing.T) { - sel := Doc().Find(".span12, .footer") - sel2 := sel.Find("h1").AddBackFiltered(".footer").End().End() - assertEqual(t, sel, sel2) -} diff --git a/vendor/github.com/PuerkitoBio/goquery/filter_test.go b/vendor/github.com/PuerkitoBio/goquery/filter_test.go deleted file mode 100644 index f663c08f..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/filter_test.go +++ /dev/null @@ -1,206 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestFilter(t *testing.T) { - sel := Doc().Find(".span12").Filter(".alert") - assertLength(t, sel.Nodes, 1) -} - -func TestFilterNone(t *testing.T) { - sel := Doc().Find(".span12").Filter(".zzalert") - assertLength(t, sel.Nodes, 0) -} - -func TestFilterInvalid(t *testing.T) { - sel := Doc().Find(".span12").Filter("") - assertLength(t, sel.Nodes, 0) -} - -func TestFilterRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Filter(".alert").End() - assertEqual(t, sel, sel2) -} - -func TestFilterFunction(t *testing.T) { - sel := Doc().Find(".pvk-content").FilterFunction(func(i int, s *Selection) bool { - return i > 0 - }) - assertLength(t, sel.Nodes, 2) -} - -func TestFilterFunctionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterFunction(func(i int, s *Selection) bool { - return i > 0 - }).End() - assertEqual(t, sel, sel2) -} - -func TestFilterNode(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterNodes(sel.Nodes[2]) - assertLength(t, sel2.Nodes, 1) -} - -func TestFilterNodeRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterNodes(sel.Nodes[2]).End() - assertEqual(t, sel, sel2) -} - -func TestFilterSelection(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel3 := sel.FilterSelection(sel2) - assertLength(t, sel3.Nodes, 1) -} - -func TestFilterSelectionRollback(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel2 = sel.FilterSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestFilterSelectionNil(t *testing.T) { - var sel2 *Selection - - sel := Doc().Find(".link") - sel3 := sel.FilterSelection(sel2) - assertLength(t, sel3.Nodes, 0) -} - -func TestNot(t *testing.T) { - sel := Doc().Find(".span12").Not(".alert") - assertLength(t, sel.Nodes, 1) -} - -func TestNotInvalid(t *testing.T) { - sel := Doc().Find(".span12").Not("") - assertLength(t, sel.Nodes, 2) -} - -func TestNotRollback(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.Not(".alert").End() - assertEqual(t, sel, sel2) -} - -func TestNotNone(t *testing.T) { - sel := Doc().Find(".span12").Not(".zzalert") - assertLength(t, sel.Nodes, 2) -} - -func TestNotFunction(t *testing.T) { - sel := Doc().Find(".pvk-content").NotFunction(func(i int, s *Selection) bool { - return i > 0 - }) - assertLength(t, sel.Nodes, 1) -} - -func TestNotFunctionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotFunction(func(i int, s *Selection) bool { - return i > 0 - }).End() - assertEqual(t, sel, sel2) -} - -func TestNotNode(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotNodes(sel.Nodes[2]) - assertLength(t, sel2.Nodes, 2) -} - -func TestNotNodeRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotNodes(sel.Nodes[2]).End() - assertEqual(t, sel, sel2) -} - -func TestNotSelection(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel3 := sel.NotSelection(sel2) - assertLength(t, sel3.Nodes, 6) -} - -func TestNotSelectionRollback(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel2 = sel.NotSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestIntersection(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := Doc().Find("div").Intersection(sel) - assertLength(t, sel2.Nodes, 6) -} - -func TestIntersectionRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := Doc().Find("div") - sel2 = sel.Intersection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestHas(t *testing.T) { - sel := Doc().Find(".container-fluid").Has(".center-content") - assertLength(t, sel.Nodes, 2) - // Has() returns the high-level .container-fluid div, and the one that is the immediate parent of center-content -} - -func TestHasInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").Has("") - assertLength(t, sel.Nodes, 0) -} - -func TestHasRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Has(".center-content").End() - assertEqual(t, sel, sel2) -} - -func TestHasNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".center-content") - sel = sel.HasNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 2) - // Has() returns the high-level .container-fluid div, and the one that is the immediate parent of center-content -} - -func TestHasNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".center-content") - sel2 = sel.HasNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestHasSelection(t *testing.T) { - sel := Doc().Find("p") - sel2 := Doc().Find("small") - sel = sel.HasSelection(sel2) - assertLength(t, sel.Nodes, 1) -} - -func TestHasSelectionRollback(t *testing.T) { - sel := Doc().Find("p") - sel2 := Doc().Find("small") - sel2 = sel.HasSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestEnd(t *testing.T) { - sel := Doc().Find("p").Has("small").End() - assertLength(t, sel.Nodes, 4) -} - -func TestEndToTop(t *testing.T) { - sel := Doc().Find("p").Has("small").End().End().End() - assertLength(t, sel.Nodes, 0) -} diff --git a/vendor/github.com/PuerkitoBio/goquery/iteration_test.go b/vendor/github.com/PuerkitoBio/goquery/iteration_test.go deleted file mode 100644 index 9b6aafb7..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/iteration_test.go +++ /dev/null @@ -1,88 +0,0 @@ -package goquery - -import ( - "testing" - - "golang.org/x/net/html" -) - -func TestEach(t *testing.T) { - var cnt int - - sel := Doc().Find(".hero-unit .row-fluid").Each(func(i int, n *Selection) { - cnt++ - t.Logf("At index %v, node %v", i, n.Nodes[0].Data) - }).Find("a") - - if cnt != 4 { - t.Errorf("Expected Each() to call function 4 times, got %v times.", cnt) - } - assertLength(t, sel.Nodes, 6) -} - -func TestEachWithBreak(t *testing.T) { - var cnt int - - sel := Doc().Find(".hero-unit .row-fluid").EachWithBreak(func(i int, n *Selection) bool { - cnt++ - t.Logf("At index %v, node %v", i, n.Nodes[0].Data) - return false - }).Find("a") - - if cnt != 1 { - t.Errorf("Expected Each() to call function 1 time, got %v times.", cnt) - } - assertLength(t, sel.Nodes, 6) -} - -func TestEachEmptySelection(t *testing.T) { - var cnt int - - sel := Doc().Find("zzzz") - sel.Each(func(i int, n *Selection) { - cnt++ - }) - if cnt > 0 { - t.Error("Expected Each() to not be called on empty Selection.") - } - sel2 := sel.Find("div") - assertLength(t, sel2.Nodes, 0) -} - -func TestMap(t *testing.T) { - sel := Doc().Find(".pvk-content") - vals := sel.Map(func(i int, s *Selection) string { - n := s.Get(0) - if n.Type == html.ElementNode { - return n.Data - } - return "" - }) - for _, v := range vals { - if v != "div" { - t.Error("Expected Map array result to be all 'div's.") - } - } - if len(vals) != 3 { - t.Errorf("Expected Map array result to have a length of 3, found %v.", len(vals)) - } -} - -func TestForRange(t *testing.T) { - sel := Doc().Find(".pvk-content") - initLen := sel.Length() - for i := range sel.Nodes { - single := sel.Eq(i) - //h, err := single.Html() - //if err != nil { - // t.Fatal(err) - //} - //fmt.Println(i, h) - if single.Length() != 1 { - t.Errorf("%d: expected length of 1, got %d", i, single.Length()) - } - } - if sel.Length() != initLen { - t.Errorf("expected initial selection to still have length %d, got %d", initLen, sel.Length()) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/manipulation_test.go b/vendor/github.com/PuerkitoBio/goquery/manipulation_test.go deleted file mode 100644 index c5f50225..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/manipulation_test.go +++ /dev/null @@ -1,513 +0,0 @@ -package goquery - -import ( - "testing" -) - -const ( - wrapHtml = "
test string

" -) - -func TestAfter(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").After("#nf6") - - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main + #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAfterMany(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").After("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 1) - assertLength(t, doc.Find("#main #nf6").Nodes, 1) - assertLength(t, doc.Find(".one + #nf6").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestAfterWithRemoved(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Remove() - s.After("#nf6") - - assertLength(t, s.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf6").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestAfterSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AfterSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#main #nf1, #main #nf2").Nodes, 0) - assertLength(t, doc.Find("#foot #nf1, #foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main + #nf1, #nf1 + #nf2").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestAfterHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AfterHtml("new node") - - assertLength(t, doc.Find("#main + strong").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppend(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Append("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendBody(t *testing.T) { - doc := Doc2Clone() - doc.Find("body").Append("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AppendSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - assertLength(t, doc.Find("#foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main #nf1").Nodes, 1) - assertLength(t, doc.Find("#main #nf2").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendSelectionExisting(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AppendSelection(doc.Find("#n1, #n2")) - - assertClass(t, doc.Find("#main :nth-child(1)"), "three") - assertClass(t, doc.Find("#main :nth-child(5)"), "one") - assertClass(t, doc.Find("#main :nth-child(6)"), "two") - printSel(t, doc.Selection) -} - -func TestAppendClone(t *testing.T) { - doc := Doc2Clone() - doc.Find("#n1").AppendSelection(doc.Find("#nf1").Clone()) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 1) - assertLength(t, doc.Find("#main #nf1").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("div").AppendHtml("new node") - - assertLength(t, doc.Find("strong").Nodes, 14) - printSel(t, doc.Selection) -} - -func TestBefore(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Before("#nf6") - - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestBeforeWithRemoved(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Remove() - s.Before("#nf6") - - assertLength(t, s.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf6").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestBeforeSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").BeforeSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#main #nf1, #main #nf2").Nodes, 0) - assertLength(t, doc.Find("#foot #nf1, #foot #nf2").Nodes, 0) - assertLength(t, doc.Find("body > #nf1:first-child, #nf1 + #nf2").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestBeforeHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").BeforeHtml("new node") - - assertLength(t, doc.Find("body > strong:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestEmpty(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Empty() - - assertLength(t, doc.Find("#main").Children().Nodes, 0) - assertLength(t, s.Filter("div").Nodes, 6) - printSel(t, doc.Selection) -} - -func TestPrepend(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Prepend("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependBody(t *testing.T) { - doc := Doc2Clone() - doc.Find("body").Prepend("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").PrependSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - assertLength(t, doc.Find("#foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main #nf1:first-child").Nodes, 1) - assertLength(t, doc.Find("#main #nf2:nth-child(2)").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependSelectionExisting(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").PrependSelection(doc.Find("#n5, #n6")) - - assertClass(t, doc.Find("#main :nth-child(1)"), "five") - assertClass(t, doc.Find("#main :nth-child(2)"), "six") - assertClass(t, doc.Find("#main :nth-child(5)"), "three") - assertClass(t, doc.Find("#main :nth-child(6)"), "four") - printSel(t, doc.Selection) -} - -func TestPrependClone(t *testing.T) { - doc := Doc2Clone() - doc.Find("#n1").PrependSelection(doc.Find("#nf1").Clone()) - - assertLength(t, doc.Find("#foot #nf1:first-child").Nodes, 1) - assertLength(t, doc.Find("#main #nf1:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("div").PrependHtml("new node") - - assertLength(t, doc.Find("strong:first-child").Nodes, 14) - printSel(t, doc.Selection) -} - -func TestRemove(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Remove() - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveAll(t *testing.T) { - doc := Doc2Clone() - doc.Find("*").Remove() - - assertLength(t, doc.Find("*").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveRoot(t *testing.T) { - doc := Doc2Clone() - doc.Find("html").Remove() - - assertLength(t, doc.Find("html").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveFiltered(t *testing.T) { - doc := Doc2Clone() - nf6 := doc.Find("#nf6") - s := doc.Find("div").RemoveFiltered("#nf6") - - assertLength(t, doc.Find("#nf6").Nodes, 0) - assertLength(t, s.Nodes, 1) - if nf6.Nodes[0] != s.Nodes[0] { - t.Error("Removed node does not match original") - } - printSel(t, doc.Selection) -} - -func TestReplaceWith(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#nf6").ReplaceWith("#main") - assertLength(t, doc.Find("#foot #main:last-child").Nodes, 1) - printSel(t, doc.Selection) - - doc.Find("#foot").ReplaceWith("#main") - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("#main").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestReplaceWithHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main, #foot").ReplaceWithHtml("
") - - assertLength(t, doc.Find("#replace").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestSetHtml(t *testing.T) { - doc := Doc2Clone() - q := doc.Find("#main, #foot") - q.SetHtml(`
test
`) - - assertLength(t, doc.Find("#replace").Nodes, 2) - assertLength(t, doc.Find("#main, #foot").Nodes, 2) - - if q.Text() != "testtest" { - t.Errorf("Expected text to be %v, found %v", "testtest", q.Text()) - } - - printSel(t, doc.Selection) -} - -func TestSetHtmlNoMatch(t *testing.T) { - doc := Doc2Clone() - q := doc.Find("#notthere") - q.SetHtml(`
test
`) - - assertLength(t, doc.Find("#replace").Nodes, 0) - - printSel(t, doc.Selection) -} - -func TestSetHtmlEmpty(t *testing.T) { - doc := Doc2Clone() - q := doc.Find("#main") - q.SetHtml(``) - - assertLength(t, doc.Find("#main").Nodes, 1) - assertLength(t, doc.Find("#main").Children().Nodes, 0) - printSel(t, doc.Selection) -} - -func TestSetText(t *testing.T) { - doc := Doc2Clone() - q := doc.Find("#main, #foot") - repl := "
test
" - q.SetText(repl) - - assertLength(t, doc.Find("#replace").Nodes, 0) - assertLength(t, doc.Find("#main, #foot").Nodes, 2) - - if q.Text() != (repl + repl) { - t.Errorf("Expected text to be %v, found %v", (repl + repl), q.Text()) - } - - h, err := q.Html() - if err != nil { - t.Errorf("Error: %v", err) - } - esc := "<div id="replace">test</div>" - if h != esc { - t.Errorf("Expected html to be %v, found %v", esc, h) - } - - printSel(t, doc.Selection) -} - -func TestReplaceWithSelection(t *testing.T) { - doc := Doc2Clone() - sel := doc.Find("#nf6").ReplaceWithSelection(doc.Find("#nf5")) - - assertSelectionIs(t, sel, "#nf6") - assertLength(t, doc.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf5").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrap(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#nf5").Unwrap() - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("body > #nf1").Nodes, 1) - assertLength(t, doc.Find("body > #nf5").Nodes, 1) - - printSel(t, doc.Selection) - - doc = Doc2Clone() - - doc.Find("#nf5, #n1").Unwrap() - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("#main").Nodes, 0) - assertLength(t, doc.Find("body > #n1").Nodes, 1) - assertLength(t, doc.Find("body > #nf5").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapBody(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#main").Unwrap() - assertLength(t, doc.Find("body").Nodes, 1) - assertLength(t, doc.Find("body > #main").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapHead(t *testing.T) { - doc := Doc2Clone() - - doc.Find("title").Unwrap() - assertLength(t, doc.Find("head").Nodes, 0) - assertLength(t, doc.Find("head > title").Nodes, 0) - assertLength(t, doc.Find("title").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapHtml(t *testing.T) { - doc := Doc2Clone() - - doc.Find("head").Unwrap() - assertLength(t, doc.Find("html").Nodes, 0) - assertLength(t, doc.Find("html head").Nodes, 0) - assertLength(t, doc.Find("head").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestWrap(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Wrap("#nf2") - nf1 := doc.Find("#foot #nf2 #nf1") - assertLength(t, nf1.Nodes, 1) - - nf2 := doc.Find("#nf2") - assertLength(t, nf2.Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapEmpty(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Wrap("#doesnt-exist") - - origHtml, _ := Doc2().Html() - newHtml, _ := doc.Html() - - if origHtml != newHtml { - t.Error("Expected the two documents to be identical.") - } - - printSel(t, doc.Selection) -} - -func TestWrapHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapHtml(wrapHtml) - nf2 := doc.Find("#ins #nf2") - assertLength(t, nf2.Nodes, 1) - printSel(t, doc.Selection) -} - -func TestWrapSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").WrapSelection(doc.Find("#nf2")) - nf1 := doc.Find("#foot #nf2 #nf1") - assertLength(t, nf1.Nodes, 1) - - nf2 := doc.Find("#nf2") - assertLength(t, nf2.Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapAll(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapAll("#nf1") - nf1 := doc.Find("#main #nf1") - assertLength(t, nf1.Nodes, 1) - - sel := nf1.Find("#n2 ~ #n4 ~ #n6 ~ #nf2 ~ #nf4 ~ #nf6") - assertLength(t, sel.Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestWrapAllHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapAllHtml(wrapHtml) - nf1 := doc.Find("#main div#ins div p em b #n2 ~ #n4 ~ #n6 ~ #nf2 ~ #nf4 ~ #nf6") - assertLength(t, nf1.Nodes, 1) - printSel(t, doc.Selection) -} - -func TestWrapInnerNoContent(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").WrapInner(".two") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 4) - assertLength(t, doc.Find(".one .two").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapInnerWithContent(t *testing.T) { - doc := Doc3Clone() - doc.Find(".one").WrapInner(".two") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 4) - assertLength(t, doc.Find(".one .two").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapInnerNoWrapper(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").WrapInner(".not-exist") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 2) - assertLength(t, doc.Find(".one").Nodes, 2) - assertLength(t, doc.Find(".one .two").Nodes, 0) - - printSel(t, doc.Selection) -} - -func TestWrapInnerHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#foot").WrapInnerHtml(wrapHtml) - - foot := doc.Find("#foot div#ins div p em b #nf1 ~ #nf2 ~ #nf3") - assertLength(t, foot.Nodes, 1) - - printSel(t, doc.Selection) -} diff --git a/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit b/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit deleted file mode 100755 index 78e43314..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -echo ">>> golint" -for dir in $(go list ./... | grep -v /vendor/) -do - golint "${dir}" -done -echo "<<< golint" -echo - -echo ">>> go vet" -go vet $(go list ./... | grep -v /vendor/) -echo "<<< go vet" -echo - -echo ">>> gosimple" -gosimple $(go list ./... | grep -v /vendor/) -echo "<<< gosimple" -echo - -# Check for gofmt problems and report if any. -gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v /vendor/) -[ -z "$gofiles" ] && echo "EXIT $vetres" && exit $vetres - -if [ -n "$gofiles" ]; then - unformatted=$(gofmt -l $gofiles) - - if [ -n "$unformatted" ]; then - # Some files are not gofmt'd. - echo >&2 "Go files must be formatted with gofmt. Please run:" - for fn in $unformatted; do - echo >&2 " gofmt -w $PWD/$fn" - done - fi -fi -echo - diff --git a/vendor/github.com/PuerkitoBio/goquery/property_test.go b/vendor/github.com/PuerkitoBio/goquery/property_test.go deleted file mode 100644 index 1095dcc8..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/property_test.go +++ /dev/null @@ -1,252 +0,0 @@ -package goquery - -import ( - "regexp" - "strings" - "testing" -) - -func TestAttrExists(t *testing.T) { - if val, ok := Doc().Find("a").Attr("href"); !ok { - t.Error("Expected a value for the href attribute.") - } else { - t.Logf("Href of first anchor: %v.", val) - } -} - -func TestAttrOr(t *testing.T) { - if val := Doc().Find("a").AttrOr("fake-attribute", "alternative"); val != "alternative" { - t.Error("Expected an alternative value for 'fake-attribute' attribute.") - } else { - t.Logf("Value returned for not existing attribute: %v.", val) - } - if val := Doc().Find("zz").AttrOr("fake-attribute", "alternative"); val != "alternative" { - t.Error("Expected an alternative value for 'fake-attribute' on an empty selection.") - } else { - t.Logf("Value returned for empty selection: %v.", val) - } -} - -func TestAttrNotExist(t *testing.T) { - if val, ok := Doc().Find("div.row-fluid").Attr("href"); ok { - t.Errorf("Expected no value for the href attribute, got %v.", val) - } -} - -func TestRemoveAttr(t *testing.T) { - sel := Doc2Clone().Find("div") - - sel.RemoveAttr("id") - - _, ok := sel.Attr("id") - if ok { - t.Error("Expected there to be no id attributes set") - } -} - -func TestSetAttr(t *testing.T) { - sel := Doc2Clone().Find("#main") - - sel.SetAttr("id", "not-main") - - val, ok := sel.Attr("id") - if !ok { - t.Error("Expected an id attribute on main") - } - - if val != "not-main" { - t.Errorf("Expected an attribute id to be not-main, got %s", val) - } -} - -func TestSetAttr2(t *testing.T) { - sel := Doc2Clone().Find("#main") - - sel.SetAttr("foo", "bar") - - val, ok := sel.Attr("foo") - if !ok { - t.Error("Expected an 'foo' attribute on main") - } - - if val != "bar" { - t.Errorf("Expected an attribute 'foo' to be 'bar', got '%s'", val) - } -} - -func TestText(t *testing.T) { - txt := Doc().Find("h1").Text() - if strings.Trim(txt, " \n\r\t") != "Provok.in" { - t.Errorf("Expected text to be Provok.in, found %s.", txt) - } -} - -func TestText2(t *testing.T) { - txt := Doc().Find(".hero-unit .container-fluid .row-fluid:nth-child(1)").Text() - if ok, e := regexp.MatchString(`^\s+Provok\.in\s+Prove your point.\s+$`, txt); !ok || e != nil { - t.Errorf("Expected text to be Provok.in Prove your point., found %s.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestText3(t *testing.T) { - txt := Doc().Find(".pvk-gutter").First().Text() - // There's an   character in there... - if ok, e := regexp.MatchString(`^[\s\x{00A0}]+$`, txt); !ok || e != nil { - t.Errorf("Expected spaces, found <%v>.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestHtml(t *testing.T) { - txt, e := Doc().Find("h1").Html() - if e != nil { - t.Errorf("Error: %s.", e) - } - - if ok, e := regexp.MatchString(`^\s*Provok\.in\s*$`, txt); !ok || e != nil { - t.Errorf("Unexpected HTML content, found %s.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestNbsp(t *testing.T) { - src := `

Some text

` - d, err := NewDocumentFromReader(strings.NewReader(src)) - if err != nil { - t.Fatal(err) - } - txt := d.Find("p").Text() - ix := strings.Index(txt, "\u00a0") - if ix != 4 { - t.Errorf("Text: expected a non-breaking space at index 4, got %d", ix) - } - - h, err := d.Find("p").Html() - if err != nil { - t.Fatal(err) - } - ix = strings.Index(h, "\u00a0") - if ix != 4 { - t.Errorf("Html: expected a non-breaking space at index 4, got %d", ix) - } -} - -func TestAddClass(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("main main main") - - // Make sure that class was only added once - if a, ok := sel.Attr("class"); !ok || a != "main" { - t.Error("Expected #main to have class main") - } -} - -func TestAddClassSimilar(t *testing.T) { - sel := Doc2Clone().Find("#nf5") - sel.AddClass("odd") - - assertClass(t, sel, "odd") - assertClass(t, sel, "odder") - printSel(t, sel.Parent()) -} - -func TestAddEmptyClass(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("") - - // Make sure that class was only added once - if a, ok := sel.Attr("class"); ok { - t.Errorf("Expected #main to not to have a class, have: %s", a) - } -} - -func TestAddClasses(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("a b") - - // Make sure that class was only added once - if !sel.HasClass("a") || !sel.HasClass("b") { - t.Errorf("#main does not have classes") - } -} - -func TestHasClass(t *testing.T) { - sel := Doc().Find("div") - if !sel.HasClass("span12") { - t.Error("Expected at least one div to have class span12.") - } -} - -func TestHasClassNone(t *testing.T) { - sel := Doc().Find("h2") - if sel.HasClass("toto") { - t.Error("Expected h1 to have no class.") - } -} - -func TestHasClassNotFirst(t *testing.T) { - sel := Doc().Find(".alert") - if !sel.HasClass("alert-error") { - t.Error("Expected .alert to also have class .alert-error.") - } -} - -func TestRemoveClass(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - sel.RemoveClass("one row") - - if !sel.HasClass("even") || sel.HasClass("one") || sel.HasClass("row") { - classes, _ := sel.Attr("class") - t.Error("Expected #nf1 to have class even, has ", classes) - } -} - -func TestRemoveClassSimilar(t *testing.T) { - sel := Doc2Clone().Find("#nf5, #nf6") - assertLength(t, sel.Nodes, 2) - - sel.RemoveClass("odd") - assertClass(t, sel.Eq(0), "odder") - printSel(t, sel) -} - -func TestRemoveAllClasses(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - sel.RemoveClass() - - if a, ok := sel.Attr("class"); ok { - t.Error("All classes were not removed, has ", a) - } - - sel = Doc2Clone().Find("#main") - sel.RemoveClass() - if a, ok := sel.Attr("class"); ok { - t.Error("All classes were not removed, has ", a) - } -} - -func TestToggleClass(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - - sel.ToggleClass("one") - if sel.HasClass("one") { - t.Error("Expected #nf1 to not have class one") - } - - sel.ToggleClass("one") - if !sel.HasClass("one") { - t.Error("Expected #nf1 to have class one") - } - - sel.ToggleClass("one even row") - if a, ok := sel.Attr("class"); ok { - t.Errorf("Expected #nf1 to have no classes, have %q", a) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/query_test.go b/vendor/github.com/PuerkitoBio/goquery/query_test.go deleted file mode 100644 index 54b2a2e0..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/query_test.go +++ /dev/null @@ -1,103 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestIs(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(1)") - if !sel.Is("p") { - t.Error("Expected .footer p:nth-child(1) to be p.") - } -} - -func TestIsInvalid(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(1)") - if sel.Is("") { - t.Error("Is should not succeed with invalid selector string") - } -} - -func TestIsPositional(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(2)") - if !sel.Is("p:nth-child(2)") { - t.Error("Expected .footer p:nth-child(2) to be p:nth-child(2).") - } -} - -func TestIsPositionalNot(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(1)") - if sel.Is("p:nth-child(2)") { - t.Error("Expected .footer p:nth-child(1) NOT to be p:nth-child(2).") - } -} - -func TestIsFunction(t *testing.T) { - ok := Doc().Find("div").IsFunction(func(i int, s *Selection) bool { - return s.HasClass("container-fluid") - }) - - if !ok { - t.Error("Expected some div to have a container-fluid class.") - } -} - -func TestIsFunctionRollback(t *testing.T) { - ok := Doc().Find("div").IsFunction(func(i int, s *Selection) bool { - return s.HasClass("container-fluid") - }) - - if !ok { - t.Error("Expected some div to have a container-fluid class.") - } -} - -func TestIsSelection(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".pvk-gutter") - - if !sel.IsSelection(sel2) { - t.Error("Expected some div to have a pvk-gutter class.") - } -} - -func TestIsSelectionNot(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find("a") - - if sel.IsSelection(sel2) { - t.Error("Expected some div NOT to be an anchor.") - } -} - -func TestIsNodes(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".footer") - - if !sel.IsNodes(sel2.Nodes[0]) { - t.Error("Expected some div to have a footer class.") - } -} - -func TestDocContains(t *testing.T) { - sel := Doc().Find("h1") - if !Doc().Contains(sel.Nodes[0]) { - t.Error("Expected document to contain H1 tag.") - } -} - -func TestSelContains(t *testing.T) { - sel := Doc().Find(".row-fluid") - sel2 := Doc().Find("a[ng-click]") - if !sel.Contains(sel2.Nodes[0]) { - t.Error("Expected .row-fluid to contain a[ng-click] tag.") - } -} - -func TestSelNotContains(t *testing.T) { - sel := Doc().Find("a.link") - sel2 := Doc().Find("span") - if sel.Contains(sel2.Nodes[0]) { - t.Error("Expected a.link to NOT contain span tag.") - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/gotesting.html b/vendor/github.com/PuerkitoBio/goquery/testdata/gotesting.html deleted file mode 100644 index ba5348fd..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/gotesting.html +++ /dev/null @@ -1,855 +0,0 @@ - - - - - - testing - The Go Programming Language - - - - - - - - - - -
- -
- - -
-

Package testing

- - - - - - - - - - -
-
-
import "testing"
-
-
-
Overview
-
Index
- - -
Subdirectories
- -
-
- -
- -
-

Overview ▾

-

-Package testing provides support for automated testing of Go packages. -It is intended to be used in concert with the “go test” command, which automates -execution of any function of the form -

-
func TestXxx(*testing.T)
-
-

-where Xxx can be any alphanumeric string (but the first letter must not be in -[a-z]) and serves to identify the test routine. -These TestXxx routines should be declared within the package they are testing. -

-

-Functions of the form -

-
func BenchmarkXxx(*testing.B)
-
-

-are considered benchmarks, and are executed by the "go test" command when -the -test.bench flag is provided. -

-

-A sample benchmark function looks like this: -

-
func BenchmarkHello(b *testing.B) {
-    for i := 0; i < b.N; i++ {
-        fmt.Sprintf("hello")
-    }
-}
-
-

-The benchmark package will vary b.N until the benchmark function lasts -long enough to be timed reliably. The output -

-
testing.BenchmarkHello    10000000    282 ns/op
-
-

-means that the loop ran 10000000 times at a speed of 282 ns per loop. -

-

-If a benchmark needs some expensive setup before running, the timer -may be stopped: -

-
func BenchmarkBigLen(b *testing.B) {
-    b.StopTimer()
-    big := NewBig()
-    b.StartTimer()
-    for i := 0; i < b.N; i++ {
-        big.Len()
-    }
-}
-
-

-The package also runs and verifies example code. Example functions may -include a concluding comment that begins with "Output:" and is compared with -the standard output of the function when the tests are run, as in these -examples of an example: -

-
func ExampleHello() {
-        fmt.Println("hello")
-        // Output: hello
-}
-
-func ExampleSalutations() {
-        fmt.Println("hello, and")
-        fmt.Println("goodbye")
-        // Output:
-        // hello, and
-        // goodbye
-}
-
-

-Example functions without output comments are compiled but not executed. -

-

-The naming convention to declare examples for a function F, a type T and -method M on type T are: -

-
func ExampleF() { ... }
-func ExampleT() { ... }
-func ExampleT_M() { ... }
-
-

-Multiple example functions for a type/function/method may be provided by -appending a distinct suffix to the name. The suffix must start with a -lower-case letter. -

-
func ExampleF_suffix() { ... }
-func ExampleT_suffix() { ... }
-func ExampleT_M_suffix() { ... }
-
-

-The entire test file is presented as the example when it contains a single -example function, at least one other function, type, variable, or constant -declaration, and no test or benchmark functions. -

- -
-
- - -

Index

- -
-
- - - - -
func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)
- - -
func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
- - -
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)
- - -
func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
- - -
func Short() bool
- - - -
type B
- - - -
    func (c *B) Error(args ...interface{})
- - -
    func (c *B) Errorf(format string, args ...interface{})
- - -
    func (c *B) Fail()
- - -
    func (c *B) FailNow()
- - -
    func (c *B) Failed() bool
- - -
    func (c *B) Fatal(args ...interface{})
- - -
    func (c *B) Fatalf(format string, args ...interface{})
- - -
    func (c *B) Log(args ...interface{})
- - -
    func (c *B) Logf(format string, args ...interface{})
- - -
    func (b *B) ResetTimer()
- - -
    func (b *B) SetBytes(n int64)
- - -
    func (b *B) StartTimer()
- - -
    func (b *B) StopTimer()
- - - -
type BenchmarkResult
- - -
    func Benchmark(f func(b *B)) BenchmarkResult
- - - -
    func (r BenchmarkResult) NsPerOp() int64
- - -
    func (r BenchmarkResult) String() string
- - - -
type InternalBenchmark
- - - - -
type InternalExample
- - - - -
type InternalTest
- - - - -
type T
- - - -
    func (c *T) Error(args ...interface{})
- - -
    func (c *T) Errorf(format string, args ...interface{})
- - -
    func (c *T) Fail()
- - -
    func (c *T) FailNow()
- - -
    func (c *T) Failed() bool
- - -
    func (c *T) Fatal(args ...interface{})
- - -
    func (c *T) Fatalf(format string, args ...interface{})
- - -
    func (c *T) Log(args ...interface{})
- - -
    func (c *T) Logf(format string, args ...interface{})
- - -
    func (t *T) Parallel()
- - - -
- - - - -

Package files

-

- - - benchmark.go - - example.go - - testing.go - - -

- - - - - - - -

func Main

-
func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)
-

-An internal function but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - -

func RunBenchmarks

-
func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
-

-An internal function but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - -

func RunExamples

-
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)
- - - - - -

func RunTests

-
func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
- - - - - -

func Short

-
func Short() bool
-

-Short reports whether the -test.short flag is set. -

- - - - - - -

type B

-
type B struct {
-    N int
-    // contains filtered or unexported fields
-}
-

-B is a type passed to Benchmark functions to manage benchmark -timing and to specify the number of iterations to run. -

- - - - - - - - - - - - -

func (*B) Error

-
func (c *B) Error(args ...interface{})
-

-Error is equivalent to Log() followed by Fail(). -

- - - - - -

func (*B) Errorf

-
func (c *B) Errorf(format string, args ...interface{})
-

-Errorf is equivalent to Logf() followed by Fail(). -

- - - - - -

func (*B) Fail

-
func (c *B) Fail()
-

-Fail marks the function as having failed but continues execution. -

- - - - - -

func (*B) FailNow

-
func (c *B) FailNow()
-

-FailNow marks the function as having failed and stops its execution. -Execution will continue at the next test or benchmark. -

- - - - - -

func (*B) Failed

-
func (c *B) Failed() bool
-

-Failed returns whether the function has failed. -

- - - - - -

func (*B) Fatal

-
func (c *B) Fatal(args ...interface{})
-

-Fatal is equivalent to Log() followed by FailNow(). -

- - - - - -

func (*B) Fatalf

-
func (c *B) Fatalf(format string, args ...interface{})
-

-Fatalf is equivalent to Logf() followed by FailNow(). -

- - - - - -

func (*B) Log

-
func (c *B) Log(args ...interface{})
-

-Log formats its arguments using default formatting, analogous to Println(), -and records the text in the error log. -

- - - - - -

func (*B) Logf

-
func (c *B) Logf(format string, args ...interface{})
-

-Logf formats its arguments according to the format, analogous to Printf(), -and records the text in the error log. -

- - - - - -

func (*B) ResetTimer

-
func (b *B) ResetTimer()
-

-ResetTimer sets the elapsed benchmark time to zero. -It does not affect whether the timer is running. -

- - - - - -

func (*B) SetBytes

-
func (b *B) SetBytes(n int64)
-

-SetBytes records the number of bytes processed in a single operation. -If this is called, the benchmark will report ns/op and MB/s. -

- - - - - -

func (*B) StartTimer

-
func (b *B) StartTimer()
-

-StartTimer starts timing a test. This function is called automatically -before a benchmark starts, but it can also used to resume timing after -a call to StopTimer. -

- - - - - -

func (*B) StopTimer

-
func (b *B) StopTimer()
-

-StopTimer stops timing a test. This can be used to pause the timer -while performing complex initialization that you don't -want to measure. -

- - - - - - - -

type BenchmarkResult

-
type BenchmarkResult struct {
-    N     int           // The number of iterations.
-    T     time.Duration // The total time taken.
-    Bytes int64         // Bytes processed in one iteration.
-}
-

-The results of a benchmark run. -

- - - - - - - - - - -

func Benchmark

-
func Benchmark(f func(b *B)) BenchmarkResult
-

-Benchmark benchmarks a single function. Useful for creating -custom benchmarks that do not use the "go test" command. -

- - - - - - -

func (BenchmarkResult) NsPerOp

-
func (r BenchmarkResult) NsPerOp() int64
- - - - - -

func (BenchmarkResult) String

-
func (r BenchmarkResult) String() string
- - - - - - - -

type InternalBenchmark

-
type InternalBenchmark struct {
-    Name string
-    F    func(b *B)
-}
-

-An internal type but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - - - - - - - - - - -

type InternalExample

-
type InternalExample struct {
-    Name   string
-    F      func()
-    Output string
-}
- - - - - - - - - - - - - - -

type InternalTest

-
type InternalTest struct {
-    Name string
-    F    func(*T)
-}
-

-An internal type but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - - - - - - - - - - -

type T

-
type T struct {
-    // contains filtered or unexported fields
-}
-

-T is a type passed to Test functions to manage test state and support formatted test logs. -Logs are accumulated during execution and dumped to standard error when done. -

- - - - - - - - - - - - -

func (*T) Error

-
func (c *T) Error(args ...interface{})
-

-Error is equivalent to Log() followed by Fail(). -

- - - - - -

func (*T) Errorf

-
func (c *T) Errorf(format string, args ...interface{})
-

-Errorf is equivalent to Logf() followed by Fail(). -

- - - - - -

func (*T) Fail

-
func (c *T) Fail()
-

-Fail marks the function as having failed but continues execution. -

- - - - - -

func (*T) FailNow

-
func (c *T) FailNow()
-

-FailNow marks the function as having failed and stops its execution. -Execution will continue at the next test or benchmark. -

- - - - - -

func (*T) Failed

-
func (c *T) Failed() bool
-

-Failed returns whether the function has failed. -

- - - - - -

func (*T) Fatal

-
func (c *T) Fatal(args ...interface{})
-

-Fatal is equivalent to Log() followed by FailNow(). -

- - - - - -

func (*T) Fatalf

-
func (c *T) Fatalf(format string, args ...interface{})
-

-Fatalf is equivalent to Logf() followed by FailNow(). -

- - - - - -

func (*T) Log

-
func (c *T) Log(args ...interface{})
-

-Log formats its arguments using default formatting, analogous to Println(), -and records the text in the error log. -

- - - - - -

func (*T) Logf

-
func (c *T) Logf(format string, args ...interface{})
-

-Logf formats its arguments according to the format, analogous to Printf(), -and records the text in the error log. -

- - - - - -

func (*T) Parallel

-
func (t *T) Parallel()
-

-Parallel signals that this test is to be run in parallel with (and only with) -other parallel tests in this CPU group. -

- - - - - -
- - - - - - - - - - - - -

Subdirectories

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name    Synopsis
..
iotest    Package iotest implements Readers and Writers useful mainly for testing.
quick    Package quick implements utility functions to help with black box testing.
- - - - -
- - - - - - - - diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/gowiki.html b/vendor/github.com/PuerkitoBio/goquery/testdata/gowiki.html deleted file mode 100644 index 2ed6bb71..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/gowiki.html +++ /dev/null @@ -1,1214 +0,0 @@ - - - -Go (programming language) - Wikipedia, the free encyclopedia - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - -
- - -

Go (programming language)

- - -
- -
From Wikipedia, the free encyclopedia
- - -
  (Redirected from Golang)
- - -
- Jump to: navigation, search -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Go
Golang.png
Paradigm(s)compiled, concurrent, imperative, structured
Appeared in2009
Designed byRobert Griesemer
-Rob Pike
-Ken Thompson
DeveloperGoogle Inc.
Stable releaseversion 1.0.2[1] (14 June 2012; 2 months ago (2012-06-14))
Typing disciplinestrong, static
Major implementationsgc (8g, 6g, 5g), gccgo
Influenced byC, Limbo, Modula, Newsqueak, Oberon, Pascal,[2] Python
OSLinux, Mac OS X, FreeBSD, OpenBSD, MS Windows, Plan 9[3]
LicenseBSD-style[4] + Patent grant[5]
Usual filename extensions.go
Websitegolang.org
-

Go is a compiled, garbage-collected, concurrent programming language developed by Google Inc.[6]

-

The initial design of Go was started in September 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.[2] Go was officially announced in November 2009. In May 2010, Rob Pike publicly stated that Go was being used "for real stuff" at Google.[7] Go's "gc" compiler targets the Linux, Mac OS X, FreeBSD, OpenBSD, Plan 9, and Microsoft Windows operating systems and the i386, amd64, and ARM processor architectures.[8]

- - - - -
-
-

Contents

-
- -
-

[edit] Goals

-

Go aims to provide the efficiency of a statically typed compiled language with the ease of programming of a dynamic language.[9] Other goals include:

-
    -
  • Safety: Type-safe and memory-safe.
  • -
  • Good support for concurrency and communication.
  • -
  • Efficient, latency-free garbage collection.
  • -
  • High-speed compilation.
  • -
-

[edit] Description

-

The syntax of Go is broadly similar to that of C: blocks of code are surrounded with curly braces; common control flow structures include for, switch, and if. Unlike C, line-ending semicolons are optional, variable declarations are written differently and are usually optional, type conversions must be made explicit, and new go and select control keywords have been introduced to support concurrent programming. New built-in types include maps, Unicode strings, array slices, and channels for inter-thread communication.

-

Go is designed for exceptionally fast compiling times, even on modest hardware.[10] The language requires garbage collection. Certain concurrency-related structural conventions of Go (channels and alternative channel inputs) are borrowed from Tony Hoare's CSP. Unlike previous concurrent programming languages such as occam or Limbo, Go does not provide any built-in notion of safe or verifiable concurrency.[11]

-

Of features found in C++ or Java, Go does not include type inheritance, generic programming, assertions, method overloading, or pointer arithmetic.[2] Of these, the Go authors express an openness to generic programming, explicitly argue against assertions and pointer arithmetic, while defending the choice to omit type inheritance as giving a more useful language, encouraging heavy use of interfaces instead.[2] Initially, the language did not include exception handling, but in March 2010 a mechanism known as panic/recover was implemented to handle exceptional errors while avoiding some of the problems the Go authors find with exceptions.[12][13]

-

[edit] Type system

-

Go allows a programmer to write functions that can operate on inputs of arbitrary type, provided that the type implements the functions defined by a given interface.

-

Unlike Java, the interfaces a type supports do not need to be specified at the point at which the type is defined, and Go interfaces do not participate in a type hierarchy. A Go interface is best described as a set of methods, each identified by a name and signature. A type is considered to implement an interface if all the required methods have been defined for that type. An interface can be declared to "embed" other interfaces, meaning the declared interface includes the methods defined in the other interfaces.[11]

-

Unlike Java, the in-memory representation of an object does not contain a pointer to a virtual method table. Instead a value of interface type is implemented as a pair of a pointer to the object, and a pointer to a dictionary containing implementations of the interface methods for that type.

-

Consider the following example:

-
-
-
-type Sequence []int
- 
-func (s Sequence) Len() int {
-    return len(s)
-}
- 
-type HasLength interface {
-    Len() int
-}
- 
-func Foo (o HasLength) {
-    ...
-}
-
-
-

These four definitions could have been placed in separate files, in different parts of the program. Notably, the programmer who defined the Sequence type did not need to declare that the type implemented HasLength, and the person who implemented the Len method for Sequence did not need to specify that this method was part of HasLength.

-

[edit] Name visibility

-

Visibility of structures, structure fields, variables, constants, methods, top-level types and functions outside their defining package is defined implicitly according to the capitalization of their identifier.[14]

-

[edit] Concurrency

-

Go provides goroutines, small lightweight threads; the name alludes to coroutines. Goroutines are created with the go statement from anonymous or named functions.

-

Goroutines are executed in parallel with other goroutines, including their caller. They do not necessarily run in separate threads, but a group of goroutines are multiplexed onto multiple threads — execution control is moved between them by blocking them when sending or receiving messages over channels.

-

[edit] Implementations

-

There are currently two Go compilers:

-
    -
  • 6g/8g/5g (the compilers for AMD64, x86, and ARM respectively) with their supporting tools (collectively known as "gc") based on Ken's previous work on Plan 9's C toolchain.
  • -
  • gccgo, a GCC frontend written in C++,[15] and now officially supported as of version 4.6, albeit not part of the standard binary for gcc.[16]
  • -
-

Both compilers work on Unix-like systems, and a port to Microsoft Windows of the gc compiler and runtime have been integrated in the main distribution. Most of the standard libraries also work on Windows.

-

There is also an unmaintained "tiny" runtime environment that allows Go programs to run on bare hardware.[17]

-

[edit] Examples

-

[edit] Hello world

-

The following is a Hello world program in Go:

-
-
-
-package main
- 
-import "fmt"
- 
-func main() {
-        fmt.Println("Hello, World")
-}
-
-
-

Go's automatic semicolon insertion feature requires that opening braces not be placed on their own lines, and this is thus the preferred brace style; the examples shown comply with this style.[18]

-

[edit] Echo

-

Example illustrating how to write a program like the Unix echo command in Go:[19]

-
-
-
-package main
- 
-import (
-        "os"
-        "flag"  // command line option parser
-)
- 
-var omitNewline = flag.Bool("n", false, "don't print final newline")
- 
-const (
-        Space = " "
-        Newline = "\n"
-)
- 
-func main() {
-        flag.Parse()   // Scans the arg list and sets up flags
-        var s string
-        for i := 0; i < flag.NArg(); i++ {
-                if i > 0 {
-                        s += Space
-                }
-                s += flag.Arg(i)
-        }
-        if !*omitNewline {
-                s += Newline
-        }
-        os.Stdout.WriteString(s)
-}
-
-
-

[edit] Reception

-

Go's initial release led to much discussion.

-

Michele Simionato wrote in an article for artima.com:[20]

-
-
Here I just wanted to point out the design choices about interfaces and inheritance. Such ideas are not new and it is a shame that no popular language has followed such particular route in the design space. I hope Go will become popular; if not, I hope such ideas will finally enter in a popular language, we are already 10 or 20 years too late :-(
-
-

Dave Astels at Engine Yard wrote:[21]

-
-
Go is extremely easy to dive into. There are a minimal number of fundamental language concepts and the syntax is clean and designed to be clear and unambiguous. Go is still experimental and still a little rough around the edges.
-
-

Ars Technica interviewed Rob Pike, one of the authors of Go, and asked why a new language was needed. He replied that:[22]

-
-
It wasn't enough to just add features to existing programming languages, because sometimes you can get more in the long run by taking things away. They wanted to start from scratch and rethink everything. ... [But they did not want] to deviate too much from what developers already knew because they wanted to avoid alienating Go's target audience.
-
-

Go was in 15th place on the TIOBE Programming Community Index of programming language popularity in its first year, 2009,[citation needed] surpassing established languages like Pascal. As of March 2012, it ranked 66th in the index.[23]

-

Bruce Eckel stated:[24]

-
-
The complexity of C++ (even more complexity has been added in the new C++), and the resulting impact on productivity, is no longer justified. All the hoops that the C++ programmer had to jump through in order to use a C-compatible language make no sense anymore -- they're just a waste of time and effort. Now, Go makes much more sense for the class of problems that C++ was originally intended to solve.
-
-

[edit] Naming dispute

-

On the day of the general release of the language, Francis McCabe, developer of the Go! programming language (note the exclamation point), requested a name change of Google's language to prevent confusion with his language.[25] The issue was closed by a Google developer on 12 October 2010 with the custom status "Unfortunate", with a comment that "there are many computing products and services named Go. In the 11 months since our release, there has been minimal confusion of the two languages."[26]

-

[edit] See also

- -

[edit] References

- -
-
    -
  1. ^ "golang-announce: go1.0.2 released". https://groups.google.com/forum/#!msg/golang-announce/9-f_fnXNDzw/MiM3tk0iyjYJ. Retrieved 14 June 2012. 
  2. -
  3. ^ a b c d "Language Design FAQ". golang.org. 16 January 2010. http://golang.org/doc/go_faq.html. Retrieved 27 February 2010. 
  4. -
  5. ^ "Go Porting Efforts". Go Language Resources. cat-v. 12 January 2010. http://go-lang.cat-v.org/os-ports. Retrieved 18 January 2010. 
  6. -
  7. ^ "Text file LICENSE". http://golang.org/LICENSE. Retrieved 27 January 2011. 
  8. -
  9. ^ "Additional IP Rights Grant". http://code.google.com/p/go/source/browse/PATENTS. Retrieved 26 July 2012. 
  10. -
  11. ^ Kincaid, Jason (10 November 2009). "Google’s Go: A New Programming Language That’s Python Meets C++". TechCrunch. http://www.techcrunch.com/2009/11/10/google-go-language/. Retrieved 18 January 2010. 
  12. -
  13. ^ Metz, Cade (20 May 2010). "Google programming Frankenstein is a Go". The Register. http://www.theregister.co.uk/2010/05/20/go_in_production_at_google/. 
  14. -
  15. ^ "Installing Go". golang.org. The Go Authors. 11 June 2010. http://golang.org/doc/install.html#tmp_33. Retrieved 11 June 2010. 
  16. -
  17. ^ Pike, Rob. "The Go Programming Language". YouTube. http://www.youtube.com/watch?v=rKnDgT73v8s&feature=related. Retrieved 1 Jul 2011. 
  18. -
  19. ^ Rob Pike (10 November 2009) (flv). The Go Programming Language (Tech talk). Google. Event occurs at 8:53. http://www.youtube.com/watch?v=rKnDgT73v8s#t=8m53. 
  20. -
  21. ^ a b "The Go Memory Model". Google. http://golang.org/doc/go_mem.html. Retrieved 5 January 2011. 
  22. -
  23. ^ Release notes, 30 March 2010
  24. -
  25. ^ "Proposal for an exception-like mechanism". golang-nuts. 25 March 2010. http://groups.google.com/group/golang-nuts/browse_thread/thread/1ce5cd050bb973e4. Retrieved 25 March 2010. 
  26. -
  27. ^ "A Tutorial for the Go Programming Language". The Go Programming Language. Google. http://golang.org/doc/go_tutorial.html. Retrieved 10 March 2010. "In Go the rule about visibility of information is simple: if a name (of a top-level type, function, method, constant or variable, or of a structure field or method) is capitalized, users of the package may see it. Otherwise, the name and hence the thing being named is visible only inside the package in which it is declared." 
  28. -
  29. ^ "FAQ: Implementation". golang.org. 16 January 2010. http://golang.org/doc/go_faq.html#Implementation. Retrieved 18 January 2010. 
  30. -
  31. ^ "Installing GCC: Configuration". http://gcc.gnu.org/install/configure.html. Retrieved 3 December 2011. "Ada, Go and Objective-C++ are not default languages" 
  32. -
  33. ^ Gerrand, Andrew (1 February 2011). "release.2011-02-01". golang-nuts. Google. http://groups.google.com/group/golang-nuts/browse_thread/thread/b877e34723b543a7. Retrieved 5 February 2011. 
  34. -
  35. ^ "A Tutorial for the Go Programming Language". The Go Programming Language. Google. http://golang.org/doc/go_tutorial.html. Retrieved 10 March 2010. "The one surprise is that it's important to put the opening brace of a construct such as an if statement on the same line as the if; however, if you don't, there are situations that may not compile or may give the wrong result. The language forces the brace style to some extent." 
  36. -
  37. ^ "A Tutorial for the Go Programming Language". golang.org. 16 January 2010. http://golang.org/doc/go_tutorial.html. Retrieved 18 January 2010. 
  38. -
  39. ^ Simionato, Michele (15 November 2009). "Interfaces vs Inheritance (or, watch out for Go!)". artima. http://www.artima.com/weblogs/viewpost.jsp?thread=274019. Retrieved 15 November 2009. 
  40. -
  41. ^ Astels, Dave (9 November 2009). "Ready, Set, Go!". engineyard. http://www.engineyard.com/blog/2009/ready-set-go/. Retrieved 9 November 2009. 
  42. -
  43. ^ Paul, Ryan (10 November 2009). "Go: new open source programming language from Google". Ars Technica. http://arstechnica.com/open-source/news/2009/11/go-new-open-source-programming-language-from-google.ars. Retrieved 13 November 2009. 
  44. -
  45. ^ "TIOBE Programming Community Index for March 2012". TIOBE Software. March 2012. http://es.scribd.com/doc/89569304/TIOBE-Programming-Community-Index-for-March-2012. Retrieved 28 April 2012. 
  46. -
  47. ^ Bruce Eckel (27). "Calling Go from Python via JSON-RPC". http://www.artima.com/weblogs/viewpost.jsp?thread=333589. Retrieved 29 August 2011. 
  48. -
  49. ^ Claburn, Thomas (11 November 2009). "Google 'Go' Name Brings Accusations Of Evil'". InformationWeek. http://www.informationweek.com/news/software/web_services/showArticle.jhtml?articleID=221601351. Retrieved 18 January 2010. 
  50. -
  51. ^ "Issue 9 - go - I have already used the name for *MY* programming language". Google Code. Google Inc.. http://code.google.com/p/go/issues/detail?id=9. Retrieved 12 October 2010. 
  52. -
-
-

[edit] Further reading

- -

[edit] External links

- - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - -
- -
- - -
- - -
-
Personal tools
- -
- - -
- - -
-
Namespaces
- -
- - - - -
-

-

-
Variants
- -
- - -
-
- - -
-
Views
- -
- - - - -
-
Actions
- -
- - - - - - - -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/metalreview.html b/vendor/github.com/PuerkitoBio/goquery/testdata/metalreview.html deleted file mode 100644 index fc4a38fc..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/metalreview.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - - - - - - - - Metal Reviews, News, Blogs, Interviews and Community | Metal Review - - - - - - - - - - -
-
- - - -
- - - - -
-
- - - - -
-
-
- -
-
-
-
- - - - - -
-

Reviews

-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
    - -
  • -

    - Serpentine Path - Serpentine Path - Serpentine Path
    - Serpentine Path
    - -

    -
  • - -
  • -

    - Hunter - Hunter's Ground
    - No God But the Wild
    - -

    -
  • - -
  • -

    - Blut Aus Nord - 777 - Cosmosophy - Blut Aus Nord
    - 777 - Cosmosophy
    - Black -

    -
  • - -
  • -

    - Ufomammut - Oro: Opus Alter - Ufomammut
    - Oro: Opus Alter
    - Doom -

    -
  • - -
  • -

    - Resurgency - False Enlightenment - Resurgency
    - False Enlightenment
    - Death -

    -
  • - -
  • -

    - Morgoth - Cursed to Live - Morgoth
    - Cursed to Live
    - DeathLive -

    -
  • - -
  • -

    - Krallice - Years Past Matter - Krallice
    - Years Past Matter
    - Black -

    -
  • - -
  • -

    - Murder Construct - Results - Murder Construct
    - Results
    - Grindcore -

    -
  • - -
  • -

    - Grave - Endless Procession of Souls - Grave
    - Endless Procession of Souls
    - Death -

    -
  • - -
  • -

    - Master - The New Elite - Master
    - The New Elite
    - Death -

    -
  • - -
-
-
-
-
-
-
- Serpentine Path - Serpentine PathHunter's Ground - No God But the WildBlut Aus Nord - 777 - CosmosophyUfomammut - Oro: Opus AlterResurgency - False EnlightenmentMorgoth - Cursed to LiveKrallice - Years Past MatterMurder Construct - ResultsGrave - Endless Procession of SoulsMaster - The New Elite -
-
-
-
- - - - - - - -
-
-
-
-
- - - - -
Goto Next Group
-
Goto Previous Group
- - - - - -
- -
- - - - - - - -
-

Lashes

-
NEW Katatonia - Dead End Kings
45 minutes ago by Chaosjunkie
-
Katatonia - Dead End Kings
1 hour ago by Harry Dick Rotten
-
Resurgency - False Enlightenment
3 hours ago by Anonymous
-
Witchcraft - The Alchemist
5 hours ago by Luke_22
-
Katatonia - Dead End Kings
9 hours ago by chaosjunkie
-
Katatonia - Dead End Kings
10 hours ago by Compeller
-
Manetheren - Time
10 hours ago by xpmule
-
Ufomammut - Oro: Opus Alter
16 hours ago by Anonymous
-
Ufomammut - Oro: Opus Alter
17 hours ago by Harry Dick Rotten
-
Katatonia - Dead End Kings
yesterday by Chaosjunkie
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by frantic
-
Blut Aus Nord - 777 - Cosmosophy
yesterday by Dimensional Bleedthrough
- -
- -
-
-
- - - -
-
- - - - - - - - - - - diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/page.html b/vendor/github.com/PuerkitoBio/goquery/testdata/page.html deleted file mode 100644 index 92ec74ee..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/page.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - Provok.in - - - - - - - - - -
-
-
-   -
-
-
-
-
-
-

- Provok.in -

-

- Prove your point. -

-
-
-
-
- Beta Version. Things may change. Or disappear. Or fail miserably. If it's the latter, please file an issue. -
-
- -
- Welcome, {{getUserName()}} ( logout ) -
-
-
-
-
-   -
-
-
-
-   -
-
-
-
-
-
- × -

- {{ title }} -

-

- {{ message }} -

-
-
-
-
-
-
-
-
-
-
-   -
-
-
-
-   -
-
- -
-
-   -
-
-
- - \ No newline at end of file diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/page2.html b/vendor/github.com/PuerkitoBio/goquery/testdata/page2.html deleted file mode 100644 index 4c2f92f4..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/page2.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - Tests for siblings - - -
-
-
-
-
-
-
-
- - - diff --git a/vendor/github.com/PuerkitoBio/goquery/testdata/page3.html b/vendor/github.com/PuerkitoBio/goquery/testdata/page3.html deleted file mode 100644 index 17e86241..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/testdata/page3.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - Tests for siblings - - -
-
hello
-
-
-
-
-
-
- - - diff --git a/vendor/github.com/PuerkitoBio/goquery/traversal_test.go b/vendor/github.com/PuerkitoBio/goquery/traversal_test.go deleted file mode 100644 index 04383a41..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/traversal_test.go +++ /dev/null @@ -1,793 +0,0 @@ -package goquery - -import ( - "strings" - "testing" -) - -func TestFind(t *testing.T) { - sel := Doc().Find("div.row-fluid") - assertLength(t, sel.Nodes, 9) -} - -func TestFindRollback(t *testing.T) { - sel := Doc().Find("div.row-fluid") - sel2 := sel.Find("a").End() - assertEqual(t, sel, sel2) -} - -func TestFindNotSelf(t *testing.T) { - sel := Doc().Find("h1").Find("h1") - assertLength(t, sel.Nodes, 0) -} - -func TestFindInvalid(t *testing.T) { - sel := Doc().Find(":+ ^") - assertLength(t, sel.Nodes, 0) -} - -func TestFindBig(t *testing.T) { - doc := DocW() - sel := doc.Find("li") - assertLength(t, sel.Nodes, 373) - sel2 := doc.Find("span") - assertLength(t, sel2.Nodes, 448) - sel3 := sel.FindSelection(sel2) - assertLength(t, sel3.Nodes, 248) -} - -func TestChainedFind(t *testing.T) { - sel := Doc().Find("div.hero-unit").Find(".row-fluid") - assertLength(t, sel.Nodes, 4) -} - -func TestChainedFindInvalid(t *testing.T) { - sel := Doc().Find("div.hero-unit").Find("") - assertLength(t, sel.Nodes, 0) -} - -func TestChildren(t *testing.T) { - sel := Doc().Find(".pvk-content").Children() - assertLength(t, sel.Nodes, 5) -} - -func TestChildrenRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Children().End() - assertEqual(t, sel, sel2) -} - -func TestContents(t *testing.T) { - sel := Doc().Find(".pvk-content").Contents() - assertLength(t, sel.Nodes, 13) -} - -func TestContentsRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Contents().End() - assertEqual(t, sel, sel2) -} - -func TestChildrenFiltered(t *testing.T) { - sel := Doc().Find(".pvk-content").ChildrenFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) -} - -func TestChildrenFilteredInvalid(t *testing.T) { - sel := Doc().Find(".pvk-content").ChildrenFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestChildrenFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.ChildrenFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestContentsFiltered(t *testing.T) { - sel := Doc().Find(".pvk-content").ContentsFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) -} - -func TestContentsFilteredInvalid(t *testing.T) { - sel := Doc().Find(".pvk-content").ContentsFiltered("~") - assertLength(t, sel.Nodes, 0) -} - -func TestContentsFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.ContentsFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestChildrenFilteredNone(t *testing.T) { - sel := Doc().Find(".pvk-content").ChildrenFiltered("a.btn") - assertLength(t, sel.Nodes, 0) -} - -func TestParent(t *testing.T) { - sel := Doc().Find(".container-fluid").Parent() - assertLength(t, sel.Nodes, 3) -} - -func TestParentRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Parent().End() - assertEqual(t, sel, sel2) -} - -func TestParentBody(t *testing.T) { - sel := Doc().Find("body").Parent() - assertLength(t, sel.Nodes, 1) -} - -func TestParentFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) - assertClass(t, sel, "hero-unit") -} - -func TestParentFilteredInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestParentFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestParents(t *testing.T) { - sel := Doc().Find(".container-fluid").Parents() - assertLength(t, sel.Nodes, 8) -} - -func TestParentsOrder(t *testing.T) { - sel := Doc().Find("#cf2").Parents() - assertLength(t, sel.Nodes, 6) - assertSelectionIs(t, sel, ".hero-unit", ".pvk-content", "div.row-fluid", "#cf1", "body", "html") -} - -func TestParentsRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Parents().End() - assertEqual(t, sel, sel2) -} - -func TestParentsFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFiltered("body") - assertLength(t, sel.Nodes, 1) -} - -func TestParentsFilteredInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestParentsFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsFiltered("body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntil(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsUntil("body") - assertLength(t, sel.Nodes, 6) -} - -func TestParentsUntilInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsUntil("") - assertLength(t, sel.Nodes, 8) -} - -func TestParentsUntilRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsUntil("body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntilSelection(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - sel = sel.ParentsUntilSelection(sel2) - assertLength(t, sel.Nodes, 3) -} - -func TestParentsUntilSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - sel2 = sel.ParentsUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntilNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content, .hero-unit") - sel = sel.ParentsUntilNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 2) -} - -func TestParentsUntilNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content, .hero-unit") - sel2 = sel.ParentsUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntil(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFilteredUntil(".pvk-content", "body") - assertLength(t, sel.Nodes, 2) -} - -func TestParentsFilteredUntilInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFilteredUntil("", "") - assertLength(t, sel.Nodes, 0) -} - -func TestParentsFilteredUntilRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsFilteredUntil(".pvk-content", "body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntilSelection(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel = sel.ParentsFilteredUntilSelection("div", sel2) - assertLength(t, sel.Nodes, 3) -} - -func TestParentsFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel2 = sel.ParentsFilteredUntilSelection("div", sel2).End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntilNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel = sel.ParentsFilteredUntilNodes("body", sel2.Nodes...) - assertLength(t, sel.Nodes, 1) -} - -func TestParentsFilteredUntilNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel2 = sel.ParentsFilteredUntilNodes("body", sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestSiblings(t *testing.T) { - sel := Doc().Find("h1").Siblings() - assertLength(t, sel.Nodes, 1) -} - -func TestSiblingsRollback(t *testing.T) { - sel := Doc().Find("h1") - sel2 := sel.Siblings().End() - assertEqual(t, sel, sel2) -} - -func TestSiblings2(t *testing.T) { - sel := Doc().Find(".pvk-gutter").Siblings() - assertLength(t, sel.Nodes, 9) -} - -func TestSiblings3(t *testing.T) { - sel := Doc().Find("body>.container-fluid").Siblings() - assertLength(t, sel.Nodes, 0) -} - -func TestSiblingsFiltered(t *testing.T) { - sel := Doc().Find(".pvk-gutter").SiblingsFiltered(".pvk-content") - assertLength(t, sel.Nodes, 3) -} - -func TestSiblingsFilteredInvalid(t *testing.T) { - sel := Doc().Find(".pvk-gutter").SiblingsFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestSiblingsFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := sel.SiblingsFiltered(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestNext(t *testing.T) { - sel := Doc().Find("h1").Next() - assertLength(t, sel.Nodes, 1) -} - -func TestNextRollback(t *testing.T) { - sel := Doc().Find("h1") - sel2 := sel.Next().End() - assertEqual(t, sel, sel2) -} - -func TestNext2(t *testing.T) { - sel := Doc().Find(".close").Next() - assertLength(t, sel.Nodes, 1) -} - -func TestNextNone(t *testing.T) { - sel := Doc().Find("small").Next() - assertLength(t, sel.Nodes, 0) -} - -func TestNextFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").NextFiltered("div") - assertLength(t, sel.Nodes, 2) -} - -func TestNextFilteredInvalid(t *testing.T) { - sel := Doc().Find(".container-fluid").NextFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestNextFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.NextFiltered("div").End() - assertEqual(t, sel, sel2) -} - -func TestNextFiltered2(t *testing.T) { - sel := Doc().Find(".container-fluid").NextFiltered("[ng-view]") - assertLength(t, sel.Nodes, 1) -} - -func TestPrev(t *testing.T) { - sel := Doc().Find(".red").Prev() - assertLength(t, sel.Nodes, 1) - assertClass(t, sel, "green") -} - -func TestPrevRollback(t *testing.T) { - sel := Doc().Find(".red") - sel2 := sel.Prev().End() - assertEqual(t, sel, sel2) -} - -func TestPrev2(t *testing.T) { - sel := Doc().Find(".row-fluid").Prev() - assertLength(t, sel.Nodes, 5) -} - -func TestPrevNone(t *testing.T) { - sel := Doc().Find("h2").Prev() - assertLength(t, sel.Nodes, 0) -} - -func TestPrevFiltered(t *testing.T) { - sel := Doc().Find(".row-fluid").PrevFiltered(".row-fluid") - assertLength(t, sel.Nodes, 5) -} - -func TestPrevFilteredInvalid(t *testing.T) { - sel := Doc().Find(".row-fluid").PrevFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestPrevFilteredRollback(t *testing.T) { - sel := Doc().Find(".row-fluid") - sel2 := sel.PrevFiltered(".row-fluid").End() - assertEqual(t, sel, sel2) -} - -func TestNextAll(t *testing.T) { - sel := Doc().Find("#cf2 div:nth-child(1)").NextAll() - assertLength(t, sel.Nodes, 3) -} - -func TestNextAllRollback(t *testing.T) { - sel := Doc().Find("#cf2 div:nth-child(1)") - sel2 := sel.NextAll().End() - assertEqual(t, sel, sel2) -} - -func TestNextAll2(t *testing.T) { - sel := Doc().Find("div[ng-cloak]").NextAll() - assertLength(t, sel.Nodes, 1) -} - -func TestNextAllNone(t *testing.T) { - sel := Doc().Find(".footer").NextAll() - assertLength(t, sel.Nodes, 0) -} - -func TestNextAllFiltered(t *testing.T) { - sel := Doc().Find("#cf2 .row-fluid").NextAllFiltered("[ng-cloak]") - assertLength(t, sel.Nodes, 2) -} - -func TestNextAllFilteredInvalid(t *testing.T) { - sel := Doc().Find("#cf2 .row-fluid").NextAllFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestNextAllFilteredRollback(t *testing.T) { - sel := Doc().Find("#cf2 .row-fluid") - sel2 := sel.NextAllFiltered("[ng-cloak]").End() - assertEqual(t, sel, sel2) -} - -func TestNextAllFiltered2(t *testing.T) { - sel := Doc().Find(".close").NextAllFiltered("h4") - assertLength(t, sel.Nodes, 1) -} - -func TestPrevAll(t *testing.T) { - sel := Doc().Find("[ng-view]").PrevAll() - assertLength(t, sel.Nodes, 2) -} - -func TestPrevAllOrder(t *testing.T) { - sel := Doc().Find("[ng-view]").PrevAll() - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf4", "#cf3") -} - -func TestPrevAllRollback(t *testing.T) { - sel := Doc().Find("[ng-view]") - sel2 := sel.PrevAll().End() - assertEqual(t, sel, sel2) -} - -func TestPrevAll2(t *testing.T) { - sel := Doc().Find(".pvk-gutter").PrevAll() - assertLength(t, sel.Nodes, 6) -} - -func TestPrevAllFiltered(t *testing.T) { - sel := Doc().Find(".pvk-gutter").PrevAllFiltered(".pvk-content") - assertLength(t, sel.Nodes, 3) -} - -func TestPrevAllFilteredInvalid(t *testing.T) { - sel := Doc().Find(".pvk-gutter").PrevAllFiltered("") - assertLength(t, sel.Nodes, 0) -} - -func TestPrevAllFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := sel.PrevAllFiltered(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestNextUntil(t *testing.T) { - sel := Doc().Find(".alert a").NextUntil("p") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "h4") -} - -func TestNextUntilInvalid(t *testing.T) { - sel := Doc().Find(".alert a").NextUntil("") - assertLength(t, sel.Nodes, 2) -} - -func TestNextUntil2(t *testing.T) { - sel := Doc().Find("#cf2-1").NextUntil("[ng-cloak]") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "#cf2-2") -} - -func TestNextUntilOrder(t *testing.T) { - sel := Doc().Find("#cf2-1").NextUntil("#cf2-4") - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf2-2", "#cf2-3") -} - -func TestNextUntilRollback(t *testing.T) { - sel := Doc().Find("#cf2-1") - sel2 := sel.PrevUntil("#cf2-4").End() - assertEqual(t, sel, sel2) -} - -func TestNextUntilSelection(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n4") - sel2 = sel.NextUntilSelection(sel2) - assertLength(t, sel2.Nodes, 1) - assertSelectionIs(t, sel2, "#n3") -} - -func TestNextUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n4") - sel2 = sel.NextUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestNextUntilNodes(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n5") - sel2 = sel.NextUntilNodes(sel2.Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#n3", "#n4") -} - -func TestNextUntilNodesRollback(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n5") - sel2 = sel.NextUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntil(t *testing.T) { - sel := Doc().Find(".alert p").PrevUntil("a") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "h4") -} - -func TestPrevUntilInvalid(t *testing.T) { - sel := Doc().Find(".alert p").PrevUntil("") - assertLength(t, sel.Nodes, 2) -} - -func TestPrevUntil2(t *testing.T) { - sel := Doc().Find("[ng-cloak]").PrevUntil(":not([ng-cloak])") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "[ng-cloak]") -} - -func TestPrevUntilOrder(t *testing.T) { - sel := Doc().Find("#cf2-4").PrevUntil("#cf2-1") - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf2-3", "#cf2-2") -} - -func TestPrevUntilRollback(t *testing.T) { - sel := Doc().Find("#cf2-4") - sel2 := sel.PrevUntil("#cf2-1").End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntilSelection(t *testing.T) { - sel := Doc2().Find("#n4") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilSelection(sel2) - assertLength(t, sel2.Nodes, 1) - assertSelectionIs(t, sel2, "#n3") -} - -func TestPrevUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find("#n4") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntilNodes(t *testing.T) { - sel := Doc2().Find("#n5") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilNodes(sel2.Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#n4", "#n3") -} - -func TestPrevUntilNodesRollback(t *testing.T) { - sel := Doc2().Find("#n5") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestNextFilteredUntil(t *testing.T) { - sel := Doc2().Find(".two").NextFilteredUntil(".even", ".six") - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n3", "#n5", "#nf3", "#nf5") -} - -func TestNextFilteredUntilInvalid(t *testing.T) { - sel := Doc2().Find(".two").NextFilteredUntil("", "") - assertLength(t, sel.Nodes, 0) -} - -func TestNextFilteredUntilRollback(t *testing.T) { - sel := Doc2().Find(".two") - sel2 := sel.NextFilteredUntil(".even", ".six").End() - assertEqual(t, sel, sel2) -} - -func TestNextFilteredUntilSelection(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel = sel.NextFilteredUntilSelection(".even", sel2) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n3", "#nf3") -} - -func TestNextFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel3 := sel.NextFilteredUntilSelection(".even", sel2).End() - assertEqual(t, sel, sel3) -} - -func TestNextFilteredUntilNodes(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel = sel.NextFilteredUntilNodes(".odd", sel2.Nodes...) - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n2", "#n6", "#nf2", "#nf6") -} - -func TestNextFilteredUntilNodesRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel3 := sel.NextFilteredUntilNodes(".odd", sel2.Nodes...).End() - assertEqual(t, sel, sel3) -} - -func TestPrevFilteredUntil(t *testing.T) { - sel := Doc2().Find(".five").PrevFilteredUntil(".odd", ".one") - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n4", "#n2", "#nf4", "#nf2") -} - -func TestPrevFilteredUntilInvalid(t *testing.T) { - sel := Doc2().Find(".five").PrevFilteredUntil("", "") - assertLength(t, sel.Nodes, 0) -} - -func TestPrevFilteredUntilRollback(t *testing.T) { - sel := Doc2().Find(".four") - sel2 := sel.PrevFilteredUntil(".odd", ".one").End() - assertEqual(t, sel, sel2) -} - -func TestPrevFilteredUntilSelection(t *testing.T) { - sel := Doc2().Find(".odd") - sel2 := Doc2().Find(".two") - sel = sel.PrevFilteredUntilSelection(".odd", sel2) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n4", "#nf4") -} - -func TestPrevFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel3 := sel.PrevFilteredUntilSelection(".even", sel2).End() - assertEqual(t, sel, sel3) -} - -func TestPrevFilteredUntilNodes(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel = sel.PrevFilteredUntilNodes(".odd", sel2.Nodes...) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n2", "#nf2") -} - -func TestPrevFilteredUntilNodesRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel3 := sel.PrevFilteredUntilNodes(".odd", sel2.Nodes...).End() - assertEqual(t, sel, sel3) -} - -func TestClosestItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.Closest(".row") - assertLength(t, sel2.Nodes, sel.Length()) - assertSelectionIs(t, sel2, "#n3", "#nf3") -} - -func TestClosestNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.Closest(".pvk-content") - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.Closest("a") - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestInvalid(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.Closest("") - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Closest(".pvk-content") - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Closest(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestClosestSelectionItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.ClosestSelection(Doc2().Find(".row")) - assertLength(t, sel2.Nodes, sel.Length()) -} - -func TestClosestSelectionNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")) - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestSelectionNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.ClosestSelection(Doc().Find("a")) - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestSelectionMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")).End() - assertEqual(t, sel, sel2) -} - -func TestClosestNodesItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.ClosestNodes(Doc2().Find(".row").Nodes...) - assertLength(t, sel2.Nodes, sel.Length()) -} - -func TestClosestNodesNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...) - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestNodesNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.ClosestNodes(Doc().Find("a").Nodes...) - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestNodesMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestIssue26(t *testing.T) { - img1 := `150x150` - img2 := `150x150` - cases := []struct { - s string - l int - }{ - {s: img1 + img2, l: 2}, - {s: img1, l: 1}, - {s: img2, l: 1}, - } - for _, c := range cases { - doc, err := NewDocumentFromReader(strings.NewReader(c.s)) - if err != nil { - t.Fatal(err) - } - sel := doc.Find("img[src]") - assertLength(t, sel.Nodes, c.l) - } -} diff --git a/vendor/github.com/PuerkitoBio/goquery/type_test.go b/vendor/github.com/PuerkitoBio/goquery/type_test.go deleted file mode 100644 index 1e82d5ee..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/type_test.go +++ /dev/null @@ -1,202 +0,0 @@ -package goquery - -import ( - "bytes" - "fmt" - "os" - "strings" - "testing" - - "golang.org/x/net/html" -) - -// Test helper functions and members -var doc *Document -var doc2 *Document -var doc3 *Document -var docB *Document -var docW *Document - -func Doc() *Document { - if doc == nil { - doc = loadDoc("page.html") - } - return doc -} - -func Doc2() *Document { - if doc2 == nil { - doc2 = loadDoc("page2.html") - } - return doc2 -} - -func Doc2Clone() *Document { - return CloneDocument(Doc2()) -} - -func Doc3() *Document { - if doc3 == nil { - doc3 = loadDoc("page3.html") - } - return doc3 -} - -func Doc3Clone() *Document { - return CloneDocument(Doc3()) -} - -func DocB() *Document { - if docB == nil { - docB = loadDoc("gotesting.html") - } - return docB -} - -func DocW() *Document { - if docW == nil { - docW = loadDoc("gowiki.html") - } - return docW -} - -func assertLength(t *testing.T, nodes []*html.Node, length int) { - if len(nodes) != length { - t.Errorf("Expected %d nodes, found %d.", length, len(nodes)) - for i, n := range nodes { - t.Logf("Node %d: %+v.", i, n) - } - } -} - -func assertClass(t *testing.T, sel *Selection, class string) { - if !sel.HasClass(class) { - t.Errorf("Expected node to have class %s, found %+v.", class, sel.Get(0)) - } -} - -func assertPanic(t *testing.T) { - if e := recover(); e == nil { - t.Error("Expected a panic.") - } -} - -func assertEqual(t *testing.T, s1 *Selection, s2 *Selection) { - if s1 != s2 { - t.Error("Expected selection objects to be the same.") - } -} - -func assertSelectionIs(t *testing.T, sel *Selection, is ...string) { - for i := 0; i < sel.Length(); i++ { - if !sel.Eq(i).Is(is[i]) { - t.Errorf("Expected node %d to be %s, found %+v", i, is[i], sel.Get(i)) - } - } -} - -func printSel(t *testing.T, sel *Selection) { - if testing.Verbose() { - h, err := sel.Html() - if err != nil { - t.Fatal(err) - } - t.Log(h) - } -} - -func loadDoc(page string) *Document { - var f *os.File - var e error - - if f, e = os.Open(fmt.Sprintf("./testdata/%s", page)); e != nil { - panic(e.Error()) - } - defer f.Close() - - var node *html.Node - if node, e = html.Parse(f); e != nil { - panic(e.Error()) - } - return NewDocumentFromNode(node) -} - -func TestNewDocument(t *testing.T) { - if f, e := os.Open("./testdata/page.html"); e != nil { - t.Error(e.Error()) - } else { - defer f.Close() - if node, e := html.Parse(f); e != nil { - t.Error(e.Error()) - } else { - doc = NewDocumentFromNode(node) - } - } -} - -func TestNewDocumentFromReader(t *testing.T) { - cases := []struct { - src string - err bool - sel string - cnt int - }{ - 0: { - src: ` - - -Test - -

Hi

- -`, - sel: "h1", - cnt: 1, - }, - 1: { - // Actually pretty hard to make html.Parse return an error - // based on content... - src: `>>qq>`, - }, - } - buf := bytes.NewBuffer(nil) - - for i, c := range cases { - buf.Reset() - buf.WriteString(c.src) - - d, e := NewDocumentFromReader(buf) - if (e != nil) != c.err { - if c.err { - t.Errorf("[%d] - expected error, got none", i) - } else { - t.Errorf("[%d] - expected no error, got %s", i, e) - } - } - if c.sel != "" { - s := d.Find(c.sel) - if s.Length() != c.cnt { - t.Errorf("[%d] - expected %d nodes, found %d", i, c.cnt, s.Length()) - } - } - } -} - -func TestNewDocumentFromResponseNil(t *testing.T) { - _, e := NewDocumentFromResponse(nil) - if e == nil { - t.Error("Expected error, got none") - } -} - -func TestIssue103(t *testing.T) { - d, err := NewDocumentFromReader(strings.NewReader("Scientists Stored These Images in DNA—Then Flawlessly Retrieved Them")) - if err != nil { - t.Error(err) - } - text := d.Find("title").Text() - for i, r := range text { - t.Logf("%d: %d - %q\n", i, r, string(r)) - } - t.Log(text) -} diff --git a/vendor/github.com/PuerkitoBio/goquery/utilities_test.go b/vendor/github.com/PuerkitoBio/goquery/utilities_test.go deleted file mode 100644 index c8e9d540..00000000 --- a/vendor/github.com/PuerkitoBio/goquery/utilities_test.go +++ /dev/null @@ -1,128 +0,0 @@ -package goquery - -import ( - "reflect" - "sort" - "strings" - "testing" - - "golang.org/x/net/html" -) - -var allNodes = ` - - - - - -

- This is some text. -

-
-

-

- -` - -func TestNodeName(t *testing.T) { - doc, err := NewDocumentFromReader(strings.NewReader(allNodes)) - if err != nil { - t.Fatal(err) - } - - n0 := doc.Nodes[0] - nDT := n0.FirstChild - sMeta := doc.Find("meta") - nMeta := sMeta.Get(0) - sP := doc.Find("p") - nP := sP.Get(0) - nComment := nP.FirstChild - nText := nComment.NextSibling - - cases := []struct { - node *html.Node - typ html.NodeType - want string - }{ - {n0, html.DocumentNode, nodeNames[html.DocumentNode]}, - {nDT, html.DoctypeNode, "html"}, - {nMeta, html.ElementNode, "meta"}, - {nP, html.ElementNode, "p"}, - {nComment, html.CommentNode, nodeNames[html.CommentNode]}, - {nText, html.TextNode, nodeNames[html.TextNode]}, - } - for i, c := range cases { - got := NodeName(newSingleSelection(c.node, doc)) - if c.node.Type != c.typ { - t.Errorf("%d: want type %v, got %v", i, c.typ, c.node.Type) - } - if got != c.want { - t.Errorf("%d: want %q, got %q", i, c.want, got) - } - } -} - -func TestNodeNameMultiSel(t *testing.T) { - doc, err := NewDocumentFromReader(strings.NewReader(allNodes)) - if err != nil { - t.Fatal(err) - } - - in := []string{"p", "h1", "div"} - var out []string - doc.Find(strings.Join(in, ", ")).Each(func(i int, s *Selection) { - got := NodeName(s) - out = append(out, got) - }) - sort.Strings(in) - sort.Strings(out) - if !reflect.DeepEqual(in, out) { - t.Errorf("want %v, got %v", in, out) - } -} - -func TestOuterHtml(t *testing.T) { - doc, err := NewDocumentFromReader(strings.NewReader(allNodes)) - if err != nil { - t.Fatal(err) - } - - n0 := doc.Nodes[0] - nDT := n0.FirstChild - sMeta := doc.Find("meta") - sP := doc.Find("p") - nP := sP.Get(0) - nComment := nP.FirstChild - nText := nComment.NextSibling - sHeaders := doc.Find(".header") - - cases := []struct { - node *html.Node - sel *Selection - want string - }{ - {nDT, nil, ""}, // render makes DOCTYPE all caps - {nil, sMeta, ``}, // and auto-closes the meta - {nil, sP, `

- This is some text. -

`}, - {nComment, nil, ""}, - {nText, nil, ` - This is some text. - `}, - {nil, sHeaders, `

`}, - } - for i, c := range cases { - if c.sel == nil { - c.sel = newSingleSelection(c.node, doc) - } - got, err := OuterHtml(c.sel) - if err != nil { - t.Fatal(err) - } - - if got != c.want { - t.Errorf("%d: want %q, got %q", i, c.want, got) - } - } -} diff --git a/vendor/github.com/andybalholm/cascadia/LICENSE b/vendor/github.com/andybalholm/cascadia/LICENSE old mode 100755 new mode 100644 diff --git a/vendor/github.com/andybalholm/cascadia/benchmark_test.go b/vendor/github.com/andybalholm/cascadia/benchmark_test.go deleted file mode 100644 index 42bf5000..00000000 --- a/vendor/github.com/andybalholm/cascadia/benchmark_test.go +++ /dev/null @@ -1,53 +0,0 @@ -package cascadia - -import ( - "strings" - "testing" - - "golang.org/x/net/html" -) - -func MustParseHTML(doc string) *html.Node { - dom, err := html.Parse(strings.NewReader(doc)) - if err != nil { - panic(err) - } - return dom -} - -var selector = MustCompile(`div.matched`) -var doc = ` - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -` -var dom = MustParseHTML(doc) - -func BenchmarkMatchAll(b *testing.B) { - var matches []*html.Node - for i := 0; i < b.N; i++ { - matches = selector.MatchAll(dom) - } - _ = matches -} diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test0 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test0 deleted file mode 100644 index 83a6561a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test0 +++ /dev/null @@ -1 +0,0 @@ -address \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test1 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test1 deleted file mode 100644 index f59ec20a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test1 +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test10 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test10 deleted file mode 100644 index 0ee70eb0..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test10 +++ /dev/null @@ -1 +0,0 @@ -p[title] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test11 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test11 deleted file mode 100644 index 66340c4a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test11 +++ /dev/null @@ -1 +0,0 @@ -address[title="foo"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test12 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test12 deleted file mode 100644 index 6303f086..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test12 +++ /dev/null @@ -1 +0,0 @@ -[ title ~= foo ] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test13 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test13 deleted file mode 100644 index 45d91eb6..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test13 +++ /dev/null @@ -1 +0,0 @@ -[title~="hello world"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test14 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test14 deleted file mode 100644 index 62e7d68a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test14 +++ /dev/null @@ -1 +0,0 @@ -[lang|="en"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test15 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test15 deleted file mode 100644 index fe9ab530..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test15 +++ /dev/null @@ -1 +0,0 @@ -[title^="foo"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test16 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test16 deleted file mode 100644 index dbee7332..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test16 +++ /dev/null @@ -1 +0,0 @@ -[title$="bar"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test17 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test17 deleted file mode 100644 index e4fb4032..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test17 +++ /dev/null @@ -1 +0,0 @@ -[title*="bar"] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test18 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test18 deleted file mode 100644 index 60750143..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test18 +++ /dev/null @@ -1 +0,0 @@ -.t1:not(.t2) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test19 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test19 deleted file mode 100644 index f04dfafd..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test19 +++ /dev/null @@ -1 +0,0 @@ -div:not(.t1) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test2 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test2 deleted file mode 100644 index 5529b9b4..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test2 +++ /dev/null @@ -1 +0,0 @@ -#foo \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test20 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test20 deleted file mode 100644 index a1c88349..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test20 +++ /dev/null @@ -1 +0,0 @@ -li:nth-child(odd) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test21 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test21 deleted file mode 100644 index b99fcb6a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test21 +++ /dev/null @@ -1 +0,0 @@ -li:nth-child(even) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test22 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test22 deleted file mode 100644 index a9ee2179..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test22 +++ /dev/null @@ -1 +0,0 @@ -li:nth-child(-n+2) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test23 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test23 deleted file mode 100644 index aad519d5..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test23 +++ /dev/null @@ -1 +0,0 @@ -li:nth-child(3n+1) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test24 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test24 deleted file mode 100644 index 436a2191..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test24 +++ /dev/null @@ -1 +0,0 @@ -li:nth-last-child(odd) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test25 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test25 deleted file mode 100644 index 46f6cbc2..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test25 +++ /dev/null @@ -1 +0,0 @@ -li:nth-last-child(even) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test26 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test26 deleted file mode 100644 index d18bf3b4..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test26 +++ /dev/null @@ -1 +0,0 @@ -li:nth-last-child(-n+2) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test27 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test27 deleted file mode 100644 index d1d6eb31..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test27 +++ /dev/null @@ -1 +0,0 @@ -li:nth-last-child(3n+1) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test28 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test28 deleted file mode 100644 index 9a0c9493..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test28 +++ /dev/null @@ -1 +0,0 @@ -span:first-child \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test29 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test29 deleted file mode 100644 index 7058608e..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test29 +++ /dev/null @@ -1 +0,0 @@ -span:last-child \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test3 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test3 deleted file mode 100644 index ee024825..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test3 +++ /dev/null @@ -1 +0,0 @@ -li#t1 \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test30 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test30 deleted file mode 100644 index 536e6ffb..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test30 +++ /dev/null @@ -1 +0,0 @@ -p:nth-of-type(2) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test31 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test31 deleted file mode 100644 index 61c1fc75..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test31 +++ /dev/null @@ -1 +0,0 @@ -p:nth-last-of-type(2) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test32 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test32 deleted file mode 100644 index d9a9dc54..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test32 +++ /dev/null @@ -1 +0,0 @@ -p:last-of-type \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test33 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test33 deleted file mode 100644 index 9052c419..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test33 +++ /dev/null @@ -1 +0,0 @@ -p:first-of-type \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test34 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test34 deleted file mode 100644 index 60bd1247..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test34 +++ /dev/null @@ -1 +0,0 @@ -p:only-child \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test35 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test35 deleted file mode 100644 index 87d9dbc6..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test35 +++ /dev/null @@ -1 +0,0 @@ -p:only-of-type \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test36 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test36 deleted file mode 100644 index 8e929542..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test36 +++ /dev/null @@ -1 +0,0 @@ -:empty \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test37 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test37 deleted file mode 100644 index ba3455f5..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test37 +++ /dev/null @@ -1 +0,0 @@ -div p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test38 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test38 deleted file mode 100644 index d6f24c0a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test38 +++ /dev/null @@ -1 +0,0 @@ -div table p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test39 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test39 deleted file mode 100644 index a72a605c..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test39 +++ /dev/null @@ -1 +0,0 @@ -div > p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test4 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test4 deleted file mode 100644 index 7b253d3e..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test4 +++ /dev/null @@ -1 +0,0 @@ -*#t4 \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test40 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test40 deleted file mode 100644 index 407ea3c4..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test40 +++ /dev/null @@ -1 +0,0 @@ -p ~ p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test41 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test41 deleted file mode 100644 index e36e0942..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test41 +++ /dev/null @@ -1 +0,0 @@ -p + p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test42 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test42 deleted file mode 100644 index fa59ada0..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test42 +++ /dev/null @@ -1 +0,0 @@ -li, p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test43 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test43 deleted file mode 100644 index e946ff3a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test43 +++ /dev/null @@ -1 +0,0 @@ -p +/*This is a comment*/ p \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test44 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test44 deleted file mode 100644 index df68954a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test44 +++ /dev/null @@ -1 +0,0 @@ -p:contains("that wraps") \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test45 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test45 deleted file mode 100644 index 5c479a9a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test45 +++ /dev/null @@ -1 +0,0 @@ -p:containsOwn("that wraps") \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test46 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test46 deleted file mode 100644 index a189d03c..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test46 +++ /dev/null @@ -1 +0,0 @@ -:containsOwn("inner") \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test47 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test47 deleted file mode 100644 index bfba3689..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test47 +++ /dev/null @@ -1 +0,0 @@ -p:containsOwn("block") \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test48 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test48 deleted file mode 100644 index 4a6abb3c..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test48 +++ /dev/null @@ -1 +0,0 @@ -div:has(#p1) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test49 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test49 deleted file mode 100644 index 2048a0cd..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test49 +++ /dev/null @@ -1 +0,0 @@ -div:has(:containsOwn("2")) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test5 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test5 deleted file mode 100644 index 702c0f1e..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test5 +++ /dev/null @@ -1 +0,0 @@ -.t1 \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test50 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test50 deleted file mode 100644 index c062e4c1..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test50 +++ /dev/null @@ -1 +0,0 @@ -body :has(:containsOwn("2")) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test51 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test51 deleted file mode 100644 index 15122604..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test51 +++ /dev/null @@ -1 +0,0 @@ -body :haschild(:containsOwn("2")) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test52 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test52 deleted file mode 100644 index c3dee62a..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test52 +++ /dev/null @@ -1 +0,0 @@ -p:matches([\d]) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test53 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test53 deleted file mode 100644 index 90f71d78..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test53 +++ /dev/null @@ -1 +0,0 @@ -p:matches([a-z]) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test54 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test54 deleted file mode 100644 index 88b4c283..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test54 +++ /dev/null @@ -1 +0,0 @@ -p:matches([a-zA-Z]) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test55 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test55 deleted file mode 100644 index 699b41ff..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test55 +++ /dev/null @@ -1 +0,0 @@ -p:matches([^\d]) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test56 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test56 deleted file mode 100644 index 83d4c474..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test56 +++ /dev/null @@ -1 +0,0 @@ -p:matches(^(0|a)) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test57 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test57 deleted file mode 100644 index e8507ba6..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test57 +++ /dev/null @@ -1 +0,0 @@ -p:matches(^\d+$) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test58 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test58 deleted file mode 100644 index e29dba9b..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test58 +++ /dev/null @@ -1 +0,0 @@ -p:not(:matches(^\d+$)) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test59 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test59 deleted file mode 100644 index b5f72069..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test59 +++ /dev/null @@ -1 +0,0 @@ -div :matchesOwn(^\d+$) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test6 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test6 deleted file mode 100644 index cf58afcc..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test6 +++ /dev/null @@ -1 +0,0 @@ -p.t1 \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test60 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test60 deleted file mode 100644 index 2154ba88..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test60 +++ /dev/null @@ -1 +0,0 @@ -[href#=(fina)]:not([href#=(\/\/[^\/]+untrusted)]) \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test61 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test61 deleted file mode 100644 index 1c8f5258..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test61 +++ /dev/null @@ -1 +0,0 @@ -[href#=(^https:\/\/[^\/]*\/?news)] \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test7 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test7 deleted file mode 100644 index 9ad6c209..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test7 +++ /dev/null @@ -1 +0,0 @@ -div.teST \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test8 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test8 deleted file mode 100644 index 2ed12842..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test8 +++ /dev/null @@ -1 +0,0 @@ -.t1.fail \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test9 b/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test9 deleted file mode 100644 index 8c1c2a27..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/corpus/test9 +++ /dev/null @@ -1 +0,0 @@ -p.t1.t2 \ No newline at end of file diff --git a/vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go b/vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go deleted file mode 100644 index d1a46f8c..00000000 --- a/vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go +++ /dev/null @@ -1,15 +0,0 @@ -package fuzz - -import "github.com/andybalholm/cascadia" - -// Fuzz is the entrypoint used by the go-fuzz framework -func Fuzz(data []byte) int { - sel, err := cascadia.Compile(string(data)) - if err != nil { - if sel != nil { - panic("sel != nil on error") - } - return 0 - } - return 1 -} diff --git a/vendor/github.com/andybalholm/cascadia/parser_test.go b/vendor/github.com/andybalholm/cascadia/parser_test.go deleted file mode 100644 index 47dd4a69..00000000 --- a/vendor/github.com/andybalholm/cascadia/parser_test.go +++ /dev/null @@ -1,86 +0,0 @@ -package cascadia - -import ( - "testing" -) - -var identifierTests = map[string]string{ - "x": "x", - "96": "", - "-x": "-x", - `r\e9 sumé`: "résumé", - `a\"b`: `a"b`, -} - -func TestParseIdentifier(t *testing.T) { - for source, want := range identifierTests { - p := &parser{s: source} - got, err := p.parseIdentifier() - - if err != nil { - if want == "" { - // It was supposed to be an error. - continue - } - t.Errorf("parsing %q: got error (%s), want %q", source, err, want) - continue - } - - if want == "" { - if err == nil { - t.Errorf("parsing %q: got %q, want error", source, got) - } - continue - } - - if p.i < len(source) { - t.Errorf("parsing %q: %d bytes left over", source, len(source)-p.i) - continue - } - - if got != want { - t.Errorf("parsing %q: got %q, want %q", source, got, want) - } - } -} - -var stringTests = map[string]string{ - `"x"`: "x", - `'x'`: "x", - `'x`: "", - "'x\\\r\nx'": "xx", - `"r\e9 sumé"`: "résumé", - `"a\"b"`: `a"b`, -} - -func TestParseString(t *testing.T) { - for source, want := range stringTests { - p := &parser{s: source} - got, err := p.parseString() - - if err != nil { - if want == "" { - // It was supposed to be an error. - continue - } - t.Errorf("parsing %q: got error (%s), want %q", source, err, want) - continue - } - - if want == "" { - if err == nil { - t.Errorf("parsing %q: got %q, want error", source, got) - } - continue - } - - if p.i < len(source) { - t.Errorf("parsing %q: %d bytes left over", source, len(source)-p.i) - continue - } - - if got != want { - t.Errorf("parsing %q: got %q, want %q", source, got, want) - } - } -} diff --git a/vendor/github.com/andybalholm/cascadia/selector_test.go b/vendor/github.com/andybalholm/cascadia/selector_test.go deleted file mode 100644 index 7ff77e65..00000000 --- a/vendor/github.com/andybalholm/cascadia/selector_test.go +++ /dev/null @@ -1,654 +0,0 @@ -package cascadia - -import ( - "bytes" - "strings" - "testing" - - "golang.org/x/net/html" -) - -type selectorTest struct { - HTML, selector string - results []string -} - -func nodeString(n *html.Node) string { - buf := bytes.NewBufferString("") - html.Render(buf, n) - return buf.String() -} - -var selectorTests = []selectorTest{ - { - `
This address...
`, - "address", - []string{ - "
This address...
", - }, - }, - { - `text`, - "*", - []string{ - "text", - "", - "text", - }, - }, - { - ``, - "*", - []string{ - "", - "", - "", - }, - }, - { - `

`, - "#foo", - []string{ - `

`, - }, - }, - { - `