From 1776366912d1678a1df5e13f46d51d19f7d5e8b7 Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Fri, 12 Feb 2016 15:26:53 -0700 Subject: [PATCH] moving dependencies to govendor --- .travis.yml | 2 +- _third_party/README | 2 - .../github.com/BurntSushi/toml/decode_test.go | 950 - .../github.com/BurntSushi/toml/encode_test.go | 542 - .../GoStats/stats/regression_test.go | 264 - .../GaryBoone/GoStats/stats/stats_test.go | 528 - .../PuerkitoBio/goquery/array_test.go | 180 - .../PuerkitoBio/goquery/bench_array_test.go | 112 - .../PuerkitoBio/goquery/bench_example_test.go | 42 - .../PuerkitoBio/goquery/bench_expand_test.go | 72 - .../PuerkitoBio/goquery/bench_filter_test.go | 212 - .../goquery/bench_iteration_test.go | 62 - .../goquery/bench_property_test.go | 47 - .../PuerkitoBio/goquery/bench_query_test.go | 97 - .../goquery/bench_traversal_test.go | 716 - .../PuerkitoBio/goquery/example_test.go | 32 - .../PuerkitoBio/goquery/expand_test.go | 68 - .../PuerkitoBio/goquery/filter_test.go | 191 - .../PuerkitoBio/goquery/iteration_test.go | 88 - .../PuerkitoBio/goquery/manipulation_test.go | 453 - .../PuerkitoBio/goquery/property_test.go | 252 - .../PuerkitoBio/goquery/query_test.go | 96 - .../PuerkitoBio/goquery/traversal_test.go | 697 - .../PuerkitoBio/goquery/type_test.go | 192 - .../StackExchange/httpunit/httpunit_test.go | 53 - .../github.com/StackExchange/mof/mof_test.go | 195 - .../github.com/StackExchange/wmi/wmi_test.go | 316 - .../andybalholm/cascadia/benchmark_test.go | 53 - .../andybalholm/cascadia/parser_test.go | 86 - .../andybalholm/cascadia/selector_test.go | 559 - .../github.com/armon/go-metrics/README.md | 71 - .../github.com/armon/go-metrics/const_unix.go | 12 - .../armon/go-metrics/const_windows.go | 13 - .../github.com/armon/go-metrics/inmem.go | 241 - .../armon/go-metrics/inmem_signal.go | 100 - .../armon/go-metrics/inmem_signal_test.go | 46 - .../github.com/armon/go-metrics/inmem_test.go | 104 - .../github.com/armon/go-metrics/metrics.go | 115 - .../armon/go-metrics/metrics_test.go | 262 - .../github.com/armon/go-metrics/sink.go | 52 - .../github.com/armon/go-metrics/sink_test.go | 120 - .../github.com/armon/go-metrics/start.go | 95 - .../github.com/armon/go-metrics/start_test.go | 110 - .../github.com/armon/go-metrics/statsd.go | 154 - .../armon/go-metrics/statsd_test.go | 105 - .../github.com/armon/go-metrics/statsite.go | 142 - .../armon/go-metrics/statsite_test.go | 101 - .../aws/aws-sdk-go/aws/awsutil/copy_test.go | 201 - .../aws-sdk-go/aws/awsutil/path_value_test.go | 68 - .../aws/aws-sdk-go/aws/config_test.go | 80 - .../aws/aws-sdk-go/aws/convert_types_test.go | 437 - .../aws/corehandlers/handlers_test.go | 107 - .../aws/corehandlers/param_validator_test.go | 134 - .../aws/credentials/chain_provider_test.go | 73 - .../aws/credentials/credentials_test.go | 62 - .../ec2rolecreds/ec2_role_provider_test.go | 161 - .../aws/credentials/env_provider_test.go | 70 - .../shared_credentials_provider_test.go | 88 - .../aws/credentials/static_provider_test.go | 34 - .../aws/aws-sdk-go/aws/defaults/defaults.go | 39 - .../aws-sdk-go/aws/ec2metadata/api_test.go | 100 - .../aws/aws-sdk-go/aws/ec2metadata/service.go | 135 - .../github.com/aws/aws-sdk-go/aws/errors.go | 17 - .../aws-sdk-go/aws/request/handlers_test.go | 47 - .../aws/request/request_pagination_test.go | 307 - .../aws-sdk-go/aws/request/request_test.go | 228 - .../aws/aws-sdk-go/aws/service/service.go | 133 - .../aws/service/serviceinfo/service_info.go | 15 - .../aws/aws-sdk-go/aws/types_test.go | 56 - .../internal/endpoints/endpoints.go | 31 - .../internal/endpoints/endpoints_test.go | 28 - .../internal/protocol/ec2query/build_test.go | 880 - .../protocol/ec2query/unmarshal_test.go | 836 - .../internal/protocol/query/build_test.go | 1333 - .../internal/protocol/query/unmarshal.go | 29 - .../internal/protocol/query/unmarshal_test.go | 1450 - .../internal/signer/v4/functional_test.go | 43 - .../aws-sdk-go/internal/signer/v4/v4_test.go | 247 - .../service/cloudwatch/examples_test.go | 336 - .../aws-sdk-go/service/ec2/customizations.go | 57 - .../service/ec2/customizations_test.go | 36 - .../aws-sdk-go/service/ec2/examples_test.go | 5186 --- .../aws/aws-sdk-go/service/ec2/service.go | 66 - .../aws-sdk-go/service/elb/examples_test.go | 721 - .../aws/aws-sdk-go/service/elb/service.go | 75 - .../aymerick/douceur/inliner/inliner_test.go | 288 - .../douceur/inliner/style_rule_test.go | 53 - .../aymerick/douceur/parser/parser_test.go | 631 - .../boltdb/bolt/batch_benchmark_test.go | 170 - .../boltdb/bolt/batch_example_test.go | 148 - .../github.com/boltdb/bolt/batch_test.go | 167 - .../github.com/boltdb/bolt/bolt_test.go | 36 - .../github.com/boltdb/bolt/bolt_windows.go | 76 - .../github.com/boltdb/bolt/bucket_test.go | 1169 - .../github.com/boltdb/bolt/cursor_test.go | 511 - .../github.com/boltdb/bolt/db_test.go | 913 - .../github.com/boltdb/bolt/freelist_test.go | 156 - .../github.com/boltdb/bolt/node_test.go | 156 - .../github.com/boltdb/bolt/page_test.go | 72 - .../github.com/boltdb/bolt/quick_test.go | 79 - .../github.com/boltdb/bolt/simulation_test.go | 327 - .../github.com/boltdb/bolt/tx_test.go | 456 - .../github.com/bradfitz/slice/slice_test.go | 197 - .../coreos/go-systemd/dbus/dbus_test.go | 77 - .../coreos/go-systemd/dbus/methods_test.go | 345 - .../coreos/go-systemd/dbus/set_test.go | 53 - .../go-systemd/dbus/subscription_set_test.go | 82 - .../go-systemd/dbus/subscription_test.go | 105 - .../github.com/cupcake/rdb/decoder_test.go | 307 - .../github.com/cupcake/rdb/encoder_test.go | 43 - .../github.com/edsrzf/mmap-go/mmap_test.go | 143 - .../facebookgo/httpcontrol/example_test.go | 37 - .../httpcontrol/httpcontrol_test.go | 391 - .../facebookgo/httpcontrol/internal_test.go | 57 - .../github.com/facebookgo/pqueue/pqueue.go | 88 - .../facebookgo/pqueue/pqueue_test.go | 74 - .../github.com/facebookgo/pqueue/readme.md | 8 - .../redigo/internal/commandinfo_test.go | 27 - .../garyburd/redigo/redis/conn_test.go | 659 - .../garyburd/redigo/redis/pool_test.go | 684 - .../garyburd/redigo/redis/pubsub_test.go | 148 - .../garyburd/redigo/redis/reply_test.go | 169 - .../garyburd/redigo/redis/scan_test.go | 440 - .../garyburd/redigo/redis/script_test.go | 92 - .../garyburd/redigo/redis/test_test.go | 177 - .../redigo/redis/zpop_example_test.go | 113 - .../github.com/go-ole/go-ole/com_func_test.go | 193 - .../github.com/go-ole/go-ole/com_test.go | 205 - .../github.com/go-ole/go-ole/connect_test.go | 159 - .../go-ole/go-ole/connect_windows_test.go | 181 - .../github.com/go-ole/go-ole/go-get.go | 6 - .../github.com/go-ole/go-ole/idispatch.go | 39 - .../go-ole/go-ole/idispatch_windows_test.go | 83 - .../go-ole/go-ole/iunknown_windows_test.go | 32 - .../go-ole/go-ole/safearray_test.go | 108 - .../go-ole/go-ole/safearrayconversion_test.go | 119 - .../godbus/dbus/_examples/eavesdrop.go | 30 - .../godbus/dbus/_examples/introspect.go | 21 - .../godbus/dbus/_examples/list-names.go | 27 - .../godbus/dbus/_examples/notification.go | 17 - .../github.com/godbus/dbus/_examples/prop.go | 68 - .../godbus/dbus/_examples/server.go | 45 - .../godbus/dbus/_examples/signal.go | 24 - .../github.com/godbus/dbus/conn_test.go | 199 - .../github.com/godbus/dbus/encoder_test.go | 58 - .../github.com/godbus/dbus/examples_test.go | 50 - .../github.com/godbus/dbus/export_test.go | 374 - .../github.com/godbus/dbus/introspect/call.go | 27 - .../godbus/dbus/introspect/introspect.go | 86 - .../godbus/dbus/introspect/introspectable.go | 76 - .../github.com/godbus/dbus/prop/prop.go | 264 - .../github.com/godbus/dbus/proto_test.go | 369 - .../github.com/godbus/dbus/sig_test.go | 70 - .../godbus/dbus/transport_unix_test.go | 49 - .../github.com/godbus/dbus/variant_test.go | 78 - .../gogo/protobuf/proto/all_test.go | 2156 -- .../gogo/protobuf/proto/clone_test.go | 267 - .../gogo/protobuf/proto/equal_test.go | 209 - .../gogo/protobuf/proto/extensions_test.go | 292 - .../gogo/protobuf/proto/message_set_test.go | 66 - .../gogo/protobuf/proto/proto3_test.go | 125 - .../gogo/protobuf/proto/size2_test.go | 63 - .../gogo/protobuf/proto/size_test.go | 147 - .../gogo/protobuf/proto/text_parser_test.go | 523 - .../gogo/protobuf/proto/text_test.go | 474 - .../golang/freetype/freetype_test.go | 59 - .../golang/freetype/truetype/face_test.go | 48 - .../golang/freetype/truetype/hint_test.go | 675 - .../golang/freetype/truetype/truetype_test.go | 400 - .../github.com/golang/glog/glog_test.go | 415 - .../golang/groupcache/lru/lru_test.go | 73 - .../singleflight/singleflight_test.go | 85 - .../github.com/golang/snappy/snappy_test.go | 377 - .../google/cadvisor/client/README.md | 54 - .../google/cadvisor/client/client_test.go | 188 - .../google/cadvisor/info/v1/container_test.go | 79 - .../go-github/github/activity_events_test.go | 305 - .../github/activity_notifications_test.go | 205 - .../go-github/github/activity_star_test.go | 170 - .../github/activity_watching_test.go | 177 - .../go-github/github/gists_comments_test.go | 155 - .../google/go-github/github/gists_test.go | 411 - .../google/go-github/github/git_blobs_test.go | 92 - .../go-github/github/git_commits_test.go | 82 - .../google/go-github/github/git_refs_test.go | 280 - .../google/go-github/github/git_tags_test.go | 68 - .../google/go-github/github/git_trees_test.go | 189 - .../google/go-github/github/github_test.go | 679 - .../google/go-github/github/gitignore_test.go | 58 - .../go-github/github/issues_assignees_test.go | 98 - .../go-github/github/issues_comments_test.go | 184 - .../go-github/github/issues_events_test.go | 86 - .../go-github/github/issues_labels_test.go | 313 - .../github/issues_milestones_test.go | 157 - .../google/go-github/github/issues_test.go | 242 - .../google/go-github/github/licenses_test.go | 64 - .../google/go-github/github/misc_test.go | 170 - .../go-github/github/orgs_hooks_test.go | 134 - .../go-github/github/orgs_members_test.go | 356 - .../go-github/github/orgs_teams_test.go | 506 - .../google/go-github/github/orgs_test.go | 120 - .../go-github/github/pulls_comments_test.go | 189 - .../google/go-github/github/pulls_test.go | 365 - .../github/repos_collaborators_test.go | 135 - .../go-github/github/repos_comments_test.go | 180 - .../go-github/github/repos_commits_test.go | 191 - .../go-github/github/repos_contents_test.go | 304 - .../github/repos_deployments_test.go | 87 - .../go-github/github/repos_forks_test.go | 73 - .../go-github/github/repos_hooks_test.go | 187 - .../go-github/github/repos_keys_test.go | 153 - .../go-github/github/repos_merging_test.go | 47 - .../go-github/github/repos_pages_test.go | 73 - .../go-github/github/repos_releases_test.go | 277 - .../go-github/github/repos_stats_test.go | 210 - .../go-github/github/repos_statuses_test.go | 96 - .../google/go-github/github/repos_test.go | 409 - .../google/go-github/github/search_test.go | 196 - .../google/go-github/github/strings_test.go | 137 - .../google/go-github/github/timestamp_test.go | 181 - .../github/users_administration_test.go | 71 - .../go-github/github/users_emails_test.go | 94 - .../go-github/github/users_followers_test.go | 222 - .../go-github/github/users_keys_test.go | 124 - .../google/go-github/github/users_test.go | 150 - .../go-querystring/query/encode_test.go | 286 - .../gorilla/context/context_test.go | 161 - .../gorilla/css/scanner/scanner_test.go | 58 - .../github.com/gorilla/mux/bench_test.go | 21 - .../github.com/gorilla/mux/mux_test.go | 1334 - .../github.com/gorilla/mux/old_test.go | 714 - .../hashicorp/go-msgpack/codec/0doc.go | 143 - .../hashicorp/go-msgpack/codec/README.md | 174 - .../hashicorp/go-msgpack/codec/bench_test.go | 319 - .../hashicorp/go-msgpack/codec/binc.go | 786 - .../hashicorp/go-msgpack/codec/codecs_test.go | 1002 - .../hashicorp/go-msgpack/codec/decode.go | 1048 - .../hashicorp/go-msgpack/codec/encode.go | 1001 - .../go-msgpack/codec/ext_dep_test.go | 75 - .../hashicorp/go-msgpack/codec/helper.go | 589 - .../go-msgpack/codec/helper_internal.go | 127 - .../hashicorp/go-msgpack/codec/msgpack.go | 816 - .../go-msgpack/codec/msgpack_test.py | 110 - .../hashicorp/go-msgpack/codec/rpc.go | 152 - .../hashicorp/go-msgpack/codec/simple.go | 461 - .../hashicorp/go-msgpack/codec/time.go | 193 - .../go-msgpack/codec/z_helper_test.go | 103 - .../github.com/hashicorp/raft-boltdb/LICENSE | 362 - .../hashicorp/raft-boltdb/README.md | 11 - .../hashicorp/raft-boltdb/bench_test.go | 88 - .../hashicorp/raft-boltdb/bolt_store.go | 231 - .../hashicorp/raft-boltdb/bolt_store_test.go | 332 - .../github.com/hashicorp/raft-boltdb/util.go | 37 - .../github.com/hashicorp/raft/LICENSE | 354 - .../github.com/hashicorp/raft/Makefile | 17 - .../github.com/hashicorp/raft/README.md | 89 - .../github.com/hashicorp/raft/commands.go | 80 - .../github.com/hashicorp/raft/config.go | 134 - .../hashicorp/raft/discard_snapshot.go | 48 - .../hashicorp/raft/discard_snapshot_test.go | 17 - .../hashicorp/raft/file_snapshot.go | 460 - .../hashicorp/raft/file_snapshot_test.go | 343 - _third_party/github.com/hashicorp/raft/fsm.go | 37 - .../github.com/hashicorp/raft/future.go | 182 - .../github.com/hashicorp/raft/inflight.go | 213 - .../hashicorp/raft/inflight_test.go | 150 - .../github.com/hashicorp/raft/inmem_store.go | 116 - .../hashicorp/raft/inmem_transport.go | 315 - .../hashicorp/raft/inmem_transport_test.go | 12 - .../github.com/hashicorp/raft/integ_test.go | 266 - _third_party/github.com/hashicorp/raft/log.go | 60 - .../github.com/hashicorp/raft/log_cache.go | 79 - .../hashicorp/raft/log_cache_test.go | 88 - .../hashicorp/raft/net_transport.go | 606 - .../hashicorp/raft/net_transport_test.go | 449 - .../github.com/hashicorp/raft/peer.go | 122 - .../github.com/hashicorp/raft/peer_test.go | 44 - .../github.com/hashicorp/raft/raft.go | 1818 - .../github.com/hashicorp/raft/raft_test.go | 1586 - .../github.com/hashicorp/raft/replication.go | 513 - .../github.com/hashicorp/raft/snapshot.go | 40 - .../github.com/hashicorp/raft/stable.go | 15 - .../github.com/hashicorp/raft/state.go | 169 - .../hashicorp/raft/tcp_transport.go | 80 - .../hashicorp/raft/tcp_transport_test.go | 24 - .../github.com/hashicorp/raft/transport.go | 85 - .../github.com/hashicorp/raft/util.go | 200 - .../github.com/hashicorp/raft/util_test.go | 187 - .../github.com/influxdb/influxdb/CHANGELOG.md | 1705 - .../influxdb/influxdb/CONTRIBUTING.md | 247 - .../github.com/influxdb/influxdb/DOCKER.md | 44 - .../github.com/influxdb/influxdb/Dockerfile | 24 - .../influxdb/Dockerfile_test_ubuntu32 | 12 - .../github.com/influxdb/influxdb/LICENSE | 20 - .../influxdb/LICENSE_OF_DEPENDENCIES.md | 19 - .../github.com/influxdb/influxdb/QUERIES.md | 180 - .../github.com/influxdb/influxdb/README.md | 72 - .../github.com/influxdb/influxdb/balancer.go | 78 - .../influxdb/influxdb/balancer_test.go | 115 - .../influxdb/influxdb/build-docker.sh | 9 - .../influxdb/influxdb/circle-test.sh | 95 - .../github.com/influxdb/influxdb/circle.yml | 16 - .../influxdb/influxdb/client/README.md | 212 - .../influxdb/influxdb/client/example_test.go | 113 - .../influxdb/influxdb/client/influxdb_test.go | 549 - .../github.com/influxdb/influxdb/errors.go | 82 - .../influxdb/influxdb/influxql/INFLUXQL.md | 660 - .../influxdb/influxdb/influxql/NOTES | 682 - .../influxdb/influxdb/influxql/ast_test.go | 762 - .../influxdb/influxdb/influxql/functions.go | 1136 - .../influxdb/influxql/functions_test.go | 534 - .../influxdb/influxdb/influxql/parser_test.go | 2072 -- .../influxdb/influxql/scanner_test.go | 289 - .../github.com/influxdb/influxdb/influxvar.go | 45 - .../influxdb/influxdb/meta/config.go | 53 - .../influxdb/influxdb/meta/config_test.go | 36 - .../github.com/influxdb/influxdb/meta/data.go | 1145 - .../influxdb/influxdb/meta/data_test.go | 730 - .../influxdb/influxdb/meta/errors.go | 113 - .../influxdb/meta/internal/meta.pb.go | 1446 - .../influxdb/meta/internal/meta.proto | 325 - .../influxdb/influxdb/meta/proxy.go | 62 - .../github.com/influxdb/influxdb/meta/rpc.go | 460 - .../influxdb/influxdb/meta/rpc_test.go | 242 - .../influxdb/influxdb/meta/state.go | 487 - .../influxdb/meta/statement_executor.go | 339 - .../influxdb/meta/statement_executor_test.go | 945 - .../influxdb/influxdb/meta/store.go | 2078 -- .../influxdb/influxdb/meta/store_test.go | 1215 - .../influxdb/influxdb/models/points_test.go | 1421 - .../github.com/influxdb/influxdb/nightly.sh | 17 - .../github.com/influxdb/influxdb/package.sh | 624 - .../influxdb/influxdb/snapshot/snapshot.go | 529 - .../influxdb/snapshot/snapshot_test.go | 293 - .../influxdb/influxdb/test-32bit-docker.sh | 4 - .../github.com/influxdb/influxdb/toml/toml.go | 72 - .../influxdb/influxdb/toml/toml_test.go | 42 - .../influxdb/influxdb/tsdb/README.md | 91 - .../influxdb/influxdb/tsdb/batcher.go | 147 - .../influxdb/influxdb/tsdb/batcher_test.go | 146 - .../influxdb/influxdb/tsdb/config.go | 86 - .../influxdb/influxdb/tsdb/cursor.go | 400 - .../influxdb/influxdb/tsdb/cursor_test.go | 333 - .../github.com/influxdb/influxdb/tsdb/doc.go | 5 - .../influxdb/influxdb/tsdb/engine.go | 155 - .../influxdb/influxdb/tsdb/engine_test.go | 3 - .../influxdb/influxdb/tsdb/executor.go | 1153 - .../influxdb/influxdb/tsdb/executor_test.go | 1308 - .../influxdb/influxdb/tsdb/functions.go | 1722 - .../influxdb/influxdb/tsdb/functions_test.go | 862 - .../influxdb/tsdb/internal/meta.pb.go | 123 - .../influxdb/tsdb/internal/meta.proto | 27 - .../influxdb/influxdb/tsdb/mapper.go | 664 - .../influxdb/influxdb/tsdb/mapper_test.go | 616 - .../github.com/influxdb/influxdb/tsdb/meta.go | 1575 - .../influxdb/influxdb/tsdb/meta_test.go | 302 - .../influxdb/influxdb/tsdb/monitor.go | 83 - .../influxdb/influxdb/tsdb/points.go | 1387 - .../influxdb/influxdb/tsdb/points_test.go | 1331 - .../influxdb/influxdb/tsdb/query_executor.go | 958 - .../influxdb/tsdb/query_executor_test.go | 493 - .../influxdb/influxdb/tsdb/shard.go | 781 - .../influxdb/influxdb/tsdb/shard_test.go | 348 - .../influxdb/tsdb/show_measurements.go | 237 - .../influxdb/influxdb/tsdb/show_tag_keys.go | 315 - .../influxdb/influxdb/tsdb/snapshot_writer.go | 124 - .../influxdb/influxdb/tsdb/store.go | 395 - .../influxdb/influxdb/tsdb/store_test.go | 346 - .../github.com/jmoiron/jsonq/jsonq_test.go | 186 - .../jordan-wright/email/email_test.go | 250 - .../llgcode/draw2d/draw2dbase/curve_test.go | 134 - .../github.com/llgcode/draw2d/samples_test.go | 60 - .../github.com/llgcode/draw2d/test_test.go | 30 - .../github.com/olivere/elastic/alias_test.go | 123 - .../olivere/elastic/aliases_test.go | 146 - .../elastic/bulk_delete_request_test.go | 42 - .../elastic/bulk_index_request_test.go | 63 - .../github.com/olivere/elastic/bulk_test.go | 370 - .../elastic/bulk_update_request_test.go | 79 - .../olivere/elastic/canonicalize_test.go | 41 - .../olivere/elastic/clear_scroll_test.go | 72 - .../github.com/olivere/elastic/client_test.go | 620 - .../olivere/elastic/cluster_health_test.go | 109 - .../olivere/elastic/cluster_state_test.go | 92 - .../olivere/elastic/cluster_stats_test.go | 85 - .../github.com/olivere/elastic/count.go | 152 - .../github.com/olivere/elastic/count_test.go | 83 - .../olivere/elastic/decoder_test.go | 49 - .../olivere/elastic/delete_by_query_test.go | 76 - .../olivere/elastic/delete_mapping_test.go | 40 - .../github.com/olivere/elastic/delete_test.go | 115 - .../github.com/olivere/elastic/errors_test.go | 74 - .../olivere/elastic/example_test.go | 547 - .../github.com/olivere/elastic/exists_test.go | 19 - .../olivere/elastic/explain_test.go | 41 - .../elastic/fetch_source_context_test.go | 92 - .../github.com/olivere/elastic/flush_test.go | 22 - .../olivere/elastic/geo_point_test.go | 24 - .../olivere/elastic/get_mapping_test.go | 50 - .../olivere/elastic/get_template_test.go | 51 - .../github.com/olivere/elastic/get_test.go | 168 - .../olivere/elastic/highlight_test.go | 168 - .../elastic/index_get_settings_test.go | 81 - .../olivere/elastic/index_get_test.go | 84 - .../github.com/olivere/elastic/index_test.go | 552 - .../elastic/indices_exists_template_test.go | 68 - .../elastic/indices_exists_type_test.go | 121 - .../elastic/indices_get_template_test.go | 41 - .../olivere/elastic/indices_stats_test.go | 85 - .../olivere/elastic/inner_hit_test.go | 36 - .../olivere/elastic/multi_get_test.go | 95 - .../olivere/elastic/multi_search_test.go | 197 - .../olivere/elastic/nodes_info_test.go | 40 - .../olivere/elastic/optimize_test.go | 47 - .../olivere/elastic/percolate_test.go | 88 - .../github.com/olivere/elastic/ping_test.go | 67 - .../olivere/elastic/put_mapping_test.go | 94 - .../olivere/elastic/refresh_test.go | 47 - .../olivere/elastic/reindexer_test.go | 292 - .../github.com/olivere/elastic/request.go | 59 - .../github.com/olivere/elastic/scan_test.go | 501 - .../github.com/olivere/elastic/scroll_test.go | 106 - .../olivere/elastic/search_aggs_avg_test.go | 36 - .../elastic/search_aggs_cardinality_test.go | 49 - .../elastic/search_aggs_children_test.go | 38 - .../search_aggs_date_histogram_test.go | 23 - .../elastic/search_aggs_date_range_test.go | 106 - .../search_aggs_extended_stats_test.go | 36 - .../elastic/search_aggs_filter_test.go | 40 - .../elastic/search_aggs_filters_test.go | 41 - .../elastic/search_aggs_geo_bounds_test.go | 36 - .../elastic/search_aggs_geo_distance_test.go | 42 - .../elastic/search_aggs_global_test.go | 23 - .../elastic/search_aggs_histogram_test.go | 23 - .../olivere/elastic/search_aggs_max_test.go | 36 - .../olivere/elastic/search_aggs_min_test.go | 36 - .../elastic/search_aggs_missing_test.go | 23 - .../elastic/search_aggs_nested_test.go | 37 - .../search_aggs_percentile_ranks_test.go | 49 - .../elastic/search_aggs_percentiles_test.go | 49 - .../olivere/elastic/search_aggs_range_test.go | 96 - .../search_aggs_significant_terms_test.go | 56 - .../olivere/elastic/search_aggs_stats_test.go | 36 - .../olivere/elastic/search_aggs_sum_test.go | 36 - .../olivere/elastic/search_aggs_terms_test.go | 57 - .../olivere/elastic/search_aggs_test.go | 2627 -- .../elastic/search_aggs_tophits_test.go | 27 - .../elastic/search_aggs_value_count_test.go | 37 - .../search_facets_date_histogram_test.go | 57 - .../elastic/search_facets_filter_test.go | 38 - .../search_facets_geo_distance_test.go | 48 - .../search_facets_histogram_script_test.go | 59 - .../elastic/search_facets_histogram_test.go | 57 - .../elastic/search_facets_query_test.go | 38 - .../elastic/search_facets_range_test.go | 63 - .../search_facets_statistical_script_test.go | 38 - .../elastic/search_facets_statistical_test.go | 38 - .../elastic/search_facets_terms_stats_test.go | 38 - .../elastic/search_facets_terms_test.go | 38 - .../olivere/elastic/search_facets_test.go | 533 - .../elastic/search_filters_and_test.go | 58 - .../elastic/search_filters_bool_test.go | 27 - .../elastic/search_filters_exists_test.go | 23 - .../search_filters_geo_distance_test.go | 58 - .../search_filters_geo_polygon_test.go | 30 - .../elastic/search_filters_has_child_test.go | 70 - .../elastic/search_filters_has_parent_test.go | 69 - .../elastic/search_filters_ids_test.go | 23 - .../elastic/search_filters_limit_test.go | 23 - .../elastic/search_filters_match_all_test.go | 23 - .../elastic/search_filters_missing_test.go | 23 - .../elastic/search_filters_nested_test.go | 47 - .../elastic/search_filters_not_test.go | 40 - .../olivere/elastic/search_filters_or_test.go | 45 - .../elastic/search_filters_prefix_test.go | 26 - .../elastic/search_filters_query_test.go | 38 - .../elastic/search_filters_range_test.go | 74 - .../elastic/search_filters_regexp_test.go | 38 - .../elastic/search_filters_term_test.go | 26 - .../elastic/search_filters_terms_test.go | 27 - .../elastic/search_filters_type_test.go | 23 - .../elastic/search_queries_bool_test.go | 29 - .../elastic/search_queries_boosting_test.go | 26 - .../elastic/search_queries_common_test.go | 67 - .../elastic/search_queries_fsq_test.go | 138 - ...ueries_fuzzy_like_this_field_query_test.go | 23 - ...arch_queries_fuzzy_like_this_query_test.go | 23 - .../elastic/search_queries_fuzzy_test.go | 23 - .../elastic/search_queries_has_child_test.go | 37 - .../elastic/search_queries_has_parent_test.go | 23 - .../elastic/search_queries_ids_test.go | 23 - .../elastic/search_queries_match_all_test.go | 36 - .../elastic/search_queries_match_test.go | 62 - ...earch_queries_more_like_this_field_test.go | 51 - .../search_queries_more_like_this_test.go | 98 - .../search_queries_multi_match_test.go | 103 - .../elastic/search_queries_nested_test.go | 47 - .../elastic/search_queries_prefix_test.go | 37 - .../search_queries_query_string_test.go | 24 - .../elastic/search_queries_range_test.go | 71 - .../elastic/search_queries_regexp_test.go | 39 - ...search_queries_simple_query_string_test.go | 82 - .../search_queries_template_query_test.go | 53 - .../elastic/search_queries_term_test.go | 38 - .../elastic/search_queries_terms_test.go | 38 - .../elastic/search_queries_wildcard_test.go | 59 - .../olivere/elastic/search_request_test.go | 48 - .../olivere/elastic/search_source_test.go | 204 - .../olivere/elastic/search_suggester_test.go | 259 - .../olivere/elastic/search_templates_test.go | 98 - .../github.com/olivere/elastic/search_test.go | 882 - .../github.com/olivere/elastic/sort_test.go | 174 - .../olivere/elastic/suggest_test.go | 131 - .../suggester_completion_fuzzy_test.go | 42 - .../elastic/suggester_completion_test.go | 25 - .../suggester_context_category_test.go | 79 - .../elastic/suggester_context_geo_test.go | 41 - .../olivere/elastic/suggester_phrase_test.go | 145 - .../olivere/elastic/suggester_term_test.go | 25 - .../github.com/olivere/elastic/update_test.go | 313 - .../elastic/uritemplates/utils_test.go | 105 - .../siddontang/go/bson/bson_test.go | 1472 - .../siddontang/go/filelock/file_lock_test.go | 77 - .../siddontang/go/hack/hack_test.go | 36 - .../go/ioutil2/sectionwriter_test.go | 56 - .../github.com/siddontang/go/log/log_test.go | 63 - .../github.com/siddontang/go/num/num_test.go | 209 - .../siddontang/go/snappy/snappy_test.go | 261 - .../siddontang/go/sync2/atomic_test.go | 51 - .../siddontang/go/sync2/semaphore_test.go | 41 - .../siddontang/goredis/goredis_test.go | 39 - .../siddontang/goredis/resp_test.go | 81 - .../siddontang/ledisdb/config/config_test.go | 42 - .../siddontang/ledisdb/ledis/dump_test.go | 57 - .../siddontang/ledisdb/ledis/ledis_test.go | 158 - .../siddontang/ledisdb/ledis/migrate_test.go | 82 - .../siddontang/ledisdb/ledis/multi_test.go | 51 - .../ledisdb/ledis/replication_test.go | 108 - .../siddontang/ledisdb/ledis/scan_test.go | 402 - .../siddontang/ledisdb/ledis/sort_test.go | 123 - .../siddontang/ledisdb/ledis/t_bit_test.go | 593 - .../siddontang/ledisdb/ledis/t_hash_test.go | 156 - .../siddontang/ledisdb/ledis/t_kv_test.go | 352 - .../siddontang/ledisdb/ledis/t_list_test.go | 232 - .../siddontang/ledisdb/ledis/t_set_test.go | 392 - .../siddontang/ledisdb/ledis/t_ttl_test.go | 468 - .../siddontang/ledisdb/ledis/t_zset_test.go | 486 - .../siddontang/ledisdb/ledis/tx_test.go | 224 - .../siddontang/ledisdb/rpl/file_table_test.go | 194 - .../siddontang/ledisdb/rpl/log_test.go | 39 - .../siddontang/ledisdb/rpl/rpl_test.go | 45 - .../siddontang/ledisdb/rpl/store_test.go | 167 - .../ledisdb/rpl/table_readers_test.go | 38 - .../siddontang/ledisdb/server/app_test.go | 96 - .../ledisdb/server/client_http_test.go | 40 - .../siddontang/ledisdb/server/cmd_bit_test.go | 367 - .../ledisdb/server/cmd_hash_test.go | 311 - .../siddontang/ledisdb/server/cmd_kv_test.go | 294 - .../ledisdb/server/cmd_list_test.go | 356 - .../ledisdb/server/cmd_migrate_test.go | 144 - .../ledisdb/server/cmd_replication_test.go | 172 - .../ledisdb/server/cmd_scan_test.go | 176 - .../ledisdb/server/cmd_script_test.go | 60 - .../ledisdb/server/cmd_server_test.go | 89 - .../siddontang/ledisdb/server/cmd_set_test.go | 216 - .../ledisdb/server/cmd_sort_test.go | 92 - .../siddontang/ledisdb/server/cmd_ttl_test.go | 129 - .../ledisdb/server/cmd_zset_test.go | 802 - .../siddontang/ledisdb/server/script_test.go | 177 - .../ledisdb/server/snapshot_test.go | 79 - .../siddontang/ledisdb/store/slice.go | 9 - .../siddontang/ledisdb/store/store_test.go | 393 - .../siddontang/ledisdb/store/tx_test.go | 135 - .../ledisdb/vendor/gomdb/bench_test.go | 334 - .../ledisdb/vendor/gomdb/env_test.go | 81 - .../ledisdb/vendor/gomdb/error_test.go | 23 - .../ledisdb/vendor/gomdb/example_test.go | 70 - .../ledisdb/vendor/gomdb/mdb_test.go | 115 - .../ledisdb/vendor/gomdb/val_test.go | 37 - .../siddontang/ledisdb/vendor/lua/lua_test.go | 386 - .../github.com/siddontang/rdb/loader_test.go | 373 - .../github.com/siddontang/rdb/rdb_test.go | 23 - .../syndtr/goleveldb/leveldb/batch_test.go | 120 - .../syndtr/goleveldb/leveldb/bench2_test.go | 58 - .../syndtr/goleveldb/leveldb/bench_test.go | 464 - .../goleveldb/leveldb/cache/bench2_test.go | 30 - .../goleveldb/leveldb/cache/cache_test.go | 554 - .../syndtr/goleveldb/leveldb/corrupt_test.go | 500 - .../syndtr/goleveldb/leveldb/db_test.go | 2701 -- .../syndtr/goleveldb/leveldb/external_test.go | 58 - .../goleveldb/leveldb/filter/bloom_test.go | 142 - .../leveldb/iterator/array_iter_test.go | 30 - .../leveldb/iterator/indexed_iter_test.go | 83 - .../leveldb/iterator/iter_suite_test.go | 11 - .../leveldb/iterator/merged_iter_test.go | 60 - .../goleveldb/leveldb/journal/journal_test.go | 818 - .../syndtr/goleveldb/leveldb/key_test.go | 133 - .../goleveldb/leveldb/leveldb_suite_test.go | 11 - .../goleveldb/leveldb/memdb/bench_test.go | 75 - .../leveldb/memdb/memdb_suite_test.go | 11 - .../goleveldb/leveldb/memdb/memdb_test.go | 135 - .../goleveldb/leveldb/session_record_test.go | 64 - .../leveldb/storage/file_storage_test.go | 142 - .../leveldb/storage/mem_storage_test.go | 66 - .../syndtr/goleveldb/leveldb/storage_test.go | 549 - .../goleveldb/leveldb/table/block_test.go | 139 - .../leveldb/table/table_suite_test.go | 11 - .../goleveldb/leveldb/table/table_test.go | 122 - .../syndtr/goleveldb/leveldb/testutil_test.go | 63 - .../goleveldb/leveldb/util/buffer_test.go | 369 - .../tatsushid/go-fastping/fastping_test.go | 434 - .../github.com/ugorji/go/codec/cbor_test.go | 205 - .../github.com/ugorji/go/codec/codec_test.go | 1175 - .../ugorji/go/codec/codecgen_test.go | 22 - .../ugorji/go/codec/gen-dec-array.go.tmpl | 77 - .../ugorji/go/codec/gen-dec-map.go.tmpl | 42 - .../ugorji/go/codec/gen.generated.go | 131 - .../github.com/ugorji/go/codec/helper_test.go | 155 - .../github.com/ugorji/go/codec/py_test.go | 30 - .../github.com/ugorji/go/codec/tests.sh | 56 - .../github.com/ugorji/go/codec/values_test.go | 203 - .../github.com/vaughan0/go-ini/LICENSE | 14 - .../github.com/vaughan0/go-ini/README.md | 70 - .../github.com/vaughan0/go-ini/ini.go | 123 - .../vaughan0/go-ini/ini_linux_test.go | 43 - .../github.com/vaughan0/go-ini/ini_test.go | 89 - .../github.com/vaughan0/go-ini/test.ini | 2 - .../github.com/vdobler/chart/graphics_test.go | 63 - .../vdobler/chart/imgg/image_test.go | 59 - .../github.com/vdobler/chart/style_test.go | 33 - .../github.com/vdobler/chart/time_test.go | 46 - .../golang.org/x/crypto/bcrypt/base64.go | 35 - .../golang.org/x/crypto/bcrypt/bcrypt.go | 294 - .../golang.org/x/crypto/bcrypt/bcrypt_test.go | 226 - .../golang.org/x/crypto/blowfish/block.go | 159 - .../x/crypto/blowfish/blowfish_test.go | 274 - .../golang.org/x/crypto/blowfish/cipher.go | 91 - .../golang.org/x/crypto/blowfish/const.go | 199 - .../golang.org/x/image/draw/example_test.go | 118 - .../golang.org/x/image/draw/scale_test.go | 731 - .../golang.org/x/image/draw/stdlib_test.go | 96 - .../x/image/math/fixed/fixed_test.go | 25 - .../golang.org/x/net/context/context_test.go | 575 - .../x/net/context/ctxhttp/ctxhttp_test.go | 72 - .../x/net/context/withtimeout_test.go | 26 - .../golang.org/x/net/html/atom/atom_test.go | 109 - .../golang.org/x/net/html/atom/table_test.go | 351 - .../golang.org/x/net/html/entity_test.go | 29 - .../golang.org/x/net/html/escape_test.go | 97 - .../golang.org/x/net/html/example_test.go | 40 - .../golang.org/x/net/html/node_test.go | 146 - .../golang.org/x/net/html/parse_test.go | 388 - .../golang.org/x/net/html/render_test.go | 156 - .../golang.org/x/net/html/token_test.go | 748 - .../golang.org/x/net/icmp/example_test.go | 63 - .../golang.org/x/net/icmp/extension_test.go | 259 - .../golang.org/x/net/icmp/ipv4_test.go | 71 - .../golang.org/x/net/icmp/message_test.go | 134 - .../golang.org/x/net/icmp/multipart_test.go | 315 - .../golang.org/x/net/icmp/ping_test.go | 166 - .../golang.org/x/net/ipv4/example_test.go | 222 - .../golang.org/x/net/ipv4/header_test.go | 114 - .../golang.org/x/net/ipv4/icmp_test.go | 95 - .../x/net/ipv4/mocktransponder_test.go | 21 - .../golang.org/x/net/ipv4/multicast_test.go | 334 - .../x/net/ipv4/multicastlistener_test.go | 249 - .../x/net/ipv4/multicastsockopt_test.go | 195 - .../golang.org/x/net/ipv4/readwrite_test.go | 170 - .../golang.org/x/net/ipv4/unicast_test.go | 250 - .../x/net/ipv4/unicastsockopt_test.go | 139 - .../golang.org/x/net/ipv6/example_test.go | 214 - .../golang.org/x/net/ipv6/header_test.go | 50 - .../golang.org/x/net/ipv6/icmp_test.go | 96 - .../x/net/ipv6/mocktransponder_test.go | 32 - .../golang.org/x/net/ipv6/multicast_test.go | 263 - .../x/net/ipv6/multicastlistener_test.go | 246 - .../x/net/ipv6/multicastsockopt_test.go | 157 - .../golang.org/x/net/ipv6/readwrite_test.go | 185 - .../golang.org/x/net/ipv6/sockopt_test.go | 133 - .../golang.org/x/net/ipv6/unicast_test.go | 185 - .../x/net/ipv6/unicastsockopt_test.go | 111 - .../golang.org/x/oauth2/example_test.go | 45 - .../x/oauth2/google/example_test.go | 150 - .../golang.org/x/oauth2/google/google_test.go | 67 - .../golang.org/x/oauth2/google/sdk_test.go | 46 - .../x/oauth2/internal/oauth2_test.go | 62 - .../x/oauth2/internal/token_test.go | 28 - .../golang.org/x/oauth2/jwt/example_test.go | 31 - .../golang.org/x/oauth2/jwt/jwt_test.go | 134 - .../golang.org/x/oauth2/oauth2_test.go | 439 - .../golang.org/x/oauth2/token_test.go | 50 - .../golang.org/x/oauth2/transport_test.go | 53 - .../golang.org/x/sys/unix/creds_test.go | 121 - .../golang.org/x/sys/unix/export_test.go | 9 - .../golang.org/x/sys/unix/mmap_unix_test.go | 23 - .../golang.org/x/sys/unix/syscall_bsd_test.go | 35 - .../golang.org/x/sys/unix/syscall_test.go | 50 - .../x/sys/unix/syscall_unix_test.go | 318 - .../x/sys/windows/registry/export_test.go | 11 - .../x/sys/windows/registry/registry_test.go | 754 - .../x/sys/windows/svc/eventlog/log_test.go | 51 - .../x/sys/windows/svc/mgr/mgr_test.go | 154 - .../golang.org/x/sys/windows/svc/svc_test.go | 118 - .../golang.org/x/sys/windows/syscall_test.go | 33 - .../x/sys/windows/syscall_windows_test.go | 107 - .../api/googleapi/googleapi_test.go | 599 - .../api/googleapi/types_test.go | 44 - .../api/internal/json_test.go | 367 - .../cloud/compute/metadata/go13.go | 37 - .../gopkg.in/fsnotify.v1/NotUsed.xcworkspace | 0 _third_party/gopkg.in/fsnotify.v1/circle.yml | 26 - .../gopkg.in/fsnotify.v1/example_test.go | 42 - .../fsnotify.v1/inotify_poller_test.go | 228 - .../gopkg.in/fsnotify.v1/inotify_test.go | 292 - .../gopkg.in/fsnotify.v1/integration_test.go | 1135 - .../gopkg.in/olivere/elastic.v3/.gitignore | 31 - .../gopkg.in/olivere/elastic.v3/.travis.yml | 22 - .../olivere/elastic.v3/CONTRIBUTING.md | 27 - .../elastic.v3/bulk_delete_request_test.go | 42 - .../elastic.v3/bulk_index_request_test.go | 63 - .../gopkg.in/olivere/elastic.v3/bulk_test.go | 417 - .../elastic.v3/bulk_update_request_test.go | 77 - .../olivere/elastic.v3/canonicalize_test.go | 41 - .../olivere/elastic.v3/clear_scroll_test.go | 85 - .../olivere/elastic.v3/client_test.go | 766 - .../olivere/elastic.v3/cluster-test/Makefile | 16 - .../olivere/elastic.v3/cluster-test/README.md | 63 - .../elastic.v3/cluster-test/cluster-test.go | 356 - .../olivere/elastic.v3/cluster_health_test.go | 109 - .../olivere/elastic.v3/cluster_state_test.go | 92 - .../olivere/elastic.v3/cluster_stats_test.go | 85 - .../elastic.v3/config/elasticsearch.yml | 103 - .../gopkg.in/olivere/elastic.v3/count_test.go | 124 - .../olivere/elastic.v3/decoder_test.go | 49 - .../elastic.v3/delete_by_query_test.go | 114 - .../elastic.v3/delete_template_test.go | 22 - .../olivere/elastic.v3/delete_test.go | 118 - .../olivere/elastic.v3/errors_test.go | 202 - .../olivere/elastic.v3/example_test.go | 547 - .../olivere/elastic.v3/exists_test.go | 52 - .../olivere/elastic.v3/explain_test.go | 41 - .../elastic.v3/fetch_source_context_test.go | 125 - .../olivere/elastic.v3/geo_point_test.go | 24 - .../olivere/elastic.v3/get_template_test.go | 51 - .../gopkg.in/olivere/elastic.v3/get_test.go | 165 - .../olivere/elastic.v3/highlight_test.go | 192 - .../gopkg.in/olivere/elastic.v3/index_test.go | 279 - .../olivere/elastic.v3/indices_close_test.go | 81 - .../olivere/elastic.v3/indices_create_test.go | 60 - .../olivere/elastic.v3/indices_delete_test.go | 20 - .../elastic.v3/indices_delete_warmer_test.go | 48 - .../indices_exists_template_test.go | 68 - .../olivere/elastic.v3/indices_exists_test.go | 20 - .../elastic.v3/indices_exists_type_test.go | 134 - .../olivere/elastic.v3/indices_flush_test.go | 69 - .../elastic.v3/indices_forcemerge_test.go | 56 - .../elastic.v3/indices_get_aliases_test.go | 146 - .../elastic.v3/indices_get_mapping_test.go | 50 - .../elastic.v3/indices_get_settings_test.go | 81 - .../elastic.v3/indices_get_template_test.go | 41 - .../olivere/elastic.v3/indices_get_test.go | 97 - .../elastic.v3/indices_get_warmer_test.go | 83 - .../olivere/elastic.v3/indices_open_test.go | 20 - .../elastic.v3/indices_put_alias_test.go | 123 - .../elastic.v3/indices_put_mapping_test.go | 82 - .../elastic.v3/indices_put_warmer_test.go | 100 - .../elastic.v3/indices_refresh_test.go | 47 - .../olivere/elastic.v3/indices_stats_test.go | 85 - .../olivere/elastic.v3/inner_hit_test.go | 44 - .../gopkg.in/olivere/elastic.v3/mget_test.go | 95 - .../olivere/elastic.v3/msearch_test.go | 197 - .../olivere/elastic.v3/nodes_info_test.go | 40 - .../olivere/elastic.v3/optimize_test.go | 47 - .../olivere/elastic.v3/percolate_test.go | 92 - .../gopkg.in/olivere/elastic.v3/ping_test.go | 64 - .../olivere/elastic.v3/plugins_test.go | 32 - .../olivere/elastic.v3/reindexer_test.go | 285 - .../gopkg.in/olivere/elastic.v3/scan_test.go | 559 - .../olivere/elastic.v3/script_test.go | 78 - .../olivere/elastic.v3/scroll_test.go | 106 - .../search_aggs_bucket_children_test.go | 46 - .../search_aggs_bucket_date_histogram_test.go | 32 - .../search_aggs_bucket_date_range_test.go | 130 - .../search_aggs_bucket_filter_test.go | 66 - .../search_aggs_bucket_filters_test.go | 68 - .../search_aggs_bucket_geo_distance_test.go | 71 - .../search_aggs_bucket_global_test.go | 44 - .../search_aggs_bucket_histogram_test.go | 44 - .../search_aggs_bucket_missing_test.go | 44 - .../search_aggs_bucket_nested_test.go | 62 - .../search_aggs_bucket_range_test.go | 136 - ...arch_aggs_bucket_significant_terms_test.go | 86 - .../search_aggs_bucket_terms_test.go | 87 - .../search_aggs_metrics_avg_test.go | 61 - .../search_aggs_metrics_cardinality_test.go | 78 - ...search_aggs_metrics_extended_stats_test.go | 44 - .../search_aggs_metrics_geo_bounds_test.go | 61 - .../search_aggs_metrics_max_test.go | 61 - .../search_aggs_metrics_min_test.go | 61 - ...arch_aggs_metrics_percentile_ranks_test.go | 78 - .../search_aggs_metrics_percentiles_test.go | 78 - .../search_aggs_metrics_stats_test.go | 61 - .../search_aggs_metrics_sum_test.go | 61 - .../search_aggs_metrics_top_hits_test.go | 31 - .../search_aggs_metrics_value_count_test.go | 63 - .../search_aggs_pipeline_avg_bucket_test.go | 27 - ...search_aggs_pipeline_bucket_script_test.go | 30 - ...arch_aggs_pipeline_bucket_selector_test.go | 29 - ...earch_aggs_pipeline_cumulative_sum_test.go | 27 - .../search_aggs_pipeline_derivative_test.go | 27 - .../search_aggs_pipeline_max_bucket_test.go | 27 - .../search_aggs_pipeline_min_bucket_test.go | 27 - .../search_aggs_pipeline_mov_avg_test.go | 132 - .../search_aggs_pipeline_serial_diff_test.go | 27 - .../search_aggs_pipeline_sum_bucket_test.go | 27 - .../elastic.v3/search_aggs_pipeline_test.go | 1000 - .../olivere/elastic.v3/search_aggs_test.go | 2932 -- .../elastic.v3/search_queries_bool_test.go | 34 - .../search_queries_boosting_test.go | 30 - .../search_queries_common_terms_test.go | 84 - .../search_queries_constant_score_test.go | 27 - .../elastic.v3/search_queries_dis_max_test.go | 28 - .../elastic.v3/search_queries_exists_test.go | 27 - .../elastic.v3/search_queries_fsq_test.go | 166 - .../elastic.v3/search_queries_fuzzy_test.go | 27 - .../search_queries_geo_bounding_box_test.go | 63 - .../search_queries_geo_distance_test.go | 70 - .../search_queries_geo_polygon_test.go | 58 - .../search_queries_has_child_test.go | 45 - .../search_queries_has_parent_test.go | 27 - .../elastic.v3/search_queries_ids_test.go | 27 - .../elastic.v3/search_queries_indices_test.go | 46 - .../search_queries_match_all_test.go | 44 - .../elastic.v3/search_queries_match_test.go | 78 - .../elastic.v3/search_queries_missing_test.go | 44 - .../search_queries_more_like_this_test.go | 91 - .../search_queries_multi_match_test.go | 131 - .../elastic.v3/search_queries_nested_test.go | 52 - .../elastic.v3/search_queries_not_test.go | 46 - .../elastic.v3/search_queries_prefix_test.go | 45 - .../search_queries_query_string_test.go | 28 - .../elastic.v3/search_queries_range_test.go | 68 - .../elastic.v3/search_queries_regexp_test.go | 47 - .../elastic.v3/search_queries_script_test.go | 45 - ...search_queries_simple_query_string_test.go | 86 - .../search_queries_template_query_test.go | 65 - .../elastic.v3/search_queries_term_test.go | 46 - .../elastic.v3/search_queries_terms_test.go | 46 - .../elastic.v3/search_queries_type_test.go | 27 - .../search_queries_wildcard_test.go | 67 - .../olivere/elastic.v3/search_request_test.go | 48 - .../olivere/elastic.v3/search_source_test.go | 238 - .../elastic.v3/search_suggester_test.go | 259 - .../elastic.v3/search_templates_test.go | 98 - .../olivere/elastic.v3/search_test.go | 885 - .../gopkg.in/olivere/elastic.v3/setup_test.go | 221 - .../gopkg.in/olivere/elastic.v3/sort_test.go | 214 - .../olivere/elastic.v3/suggest_field_test.go | 30 - .../olivere/elastic.v3/suggest_test.go | 131 - .../suggester_completion_fuzzy_test.go | 50 - .../elastic.v3/suggester_completion_test.go | 29 - .../suggester_context_category_test.go | 97 - .../elastic.v3/suggester_context_geo_test.go | 48 - .../elastic.v3/suggester_phrase_test.go | 169 - .../olivere/elastic.v3/suggester_term_test.go | 29 - .../olivere/elastic.v3/termvectors_test.go | 165 - .../olivere/elastic.v3/update_test.go | 312 - .../elastic.v3/uritemplates/utils_test.go | 105 - _third_party/gopkg.in/yaml.v1/decode_test.go | 703 - _third_party/gopkg.in/yaml.v1/encode_test.go | 433 - _third_party/gopkg.in/yaml.v1/suite_test.go | 12 - build/docs/publish.go | 2 +- build/generate/generate.go | 2 +- build/release/githubRelease.go | 2 +- build/validate.sh | 15 +- cmd/bosun/cache/cache.go | 4 +- cmd/bosun/conf/conf.go | 6 +- cmd/bosun/conf/notify.go | 2 +- cmd/bosun/database/config_data.go | 2 +- cmd/bosun/database/database.go | 6 +- cmd/bosun/database/error_data.go | 2 +- cmd/bosun/database/metric_metadata.go | 2 +- cmd/bosun/database/notification_data.go | 2 +- cmd/bosun/database/search_data.go | 2 +- cmd/bosun/database/silence_data.go | 2 +- cmd/bosun/database/state_data.go | 2 +- cmd/bosun/database/tag_metadata.go | 2 +- cmd/bosun/expr/elastic.go | 4 +- cmd/bosun/expr/expr.go | 8 +- cmd/bosun/expr/expr_test.go | 2 +- cmd/bosun/expr/funcs.go | 4 +- cmd/bosun/expr/influx.go | 8 +- cmd/bosun/expr/influx_test.go | 4 +- cmd/bosun/expr/logstash.go | 4 +- cmd/bosun/main.go | 4 +- cmd/bosun/sched/bolt.go | 2 +- cmd/bosun/sched/chart.go | 12 +- cmd/bosun/sched/check.go | 4 +- cmd/bosun/sched/sched.go | 8 +- cmd/bosun/sched/sched_test.go | 2 +- cmd/bosun/sched/template.go | 4 +- cmd/bosun/web/chart.go | 12 +- cmd/bosun/web/expr.go | 4 +- cmd/bosun/web/search.go | 4 +- cmd/bosun/web/web.go | 4 +- .../collectors/apache_mod_info_linux.go | 2 +- .../collectors/apache_mod_info_linux_test.go | 2 +- cmd/scollector/collectors/aws.go | 17 +- cmd/scollector/collectors/cadvisor.go | 4 +- cmd/scollector/collectors/cpu_windows.go | 2 +- cmd/scollector/collectors/disk_windows.go | 2 +- cmd/scollector/collectors/dotnet_windows.go | 2 +- cmd/scollector/collectors/dsc_windows.go | 2 +- cmd/scollector/collectors/extrahop.go | 2 +- cmd/scollector/collectors/github.go | 2 +- cmd/scollector/collectors/google_analytics.go | 8 +- cmd/scollector/collectors/httpunit.go | 4 +- cmd/scollector/collectors/icmp.go | 2 +- cmd/scollector/collectors/mem_windows.go | 2 +- cmd/scollector/collectors/metadata_windows.go | 2 +- cmd/scollector/collectors/network_windows.go | 2 +- .../collectors/processes_windows.go | 2 +- cmd/scollector/collectors/puppet_linux.go | 2 +- cmd/scollector/collectors/redis_counters.go | 2 +- cmd/scollector/collectors/redis_unix.go | 2 +- cmd/scollector/collectors/sql_windows.go | 2 +- cmd/scollector/collectors/system_windows.go | 2 +- cmd/scollector/collectors/systemd_linux.go | 2 +- cmd/scollector/collectors/wmi_windows.go | 2 +- cmd/scollector/main.go | 2 +- cmd/scollector/service_windows.go | 10 +- cmd/snmpTester/main.go | 2 +- collect/eventListener.go | 2 +- slog/slog_windows.go | 2 +- .../github.com/BurntSushi/toml/COMPATIBLE | 0 .../github.com/BurntSushi/toml/COPYING | 0 .../github.com/BurntSushi/toml/Makefile | 0 .../github.com/BurntSushi/toml/README.md | 0 .../github.com/BurntSushi/toml/decode.go | 0 .../github.com/BurntSushi/toml/decode_meta.go | 0 .../github.com/BurntSushi/toml/doc.go | 0 .../github.com/BurntSushi/toml/encode.go | 0 .../BurntSushi/toml/encoding_types.go | 0 .../BurntSushi/toml/encoding_types_1.1.go | 0 .../github.com/BurntSushi/toml/lex.go | 2 - .../github.com/BurntSushi/toml/parse.go | 0 .../github.com/BurntSushi/toml/session.vim | 0 .../github.com/BurntSushi/toml/type_check.go | 0 .../github.com/BurntSushi/toml/type_fields.go | 0 .../GaryBoone/GoStats/stats/regression.go | 18 +- .../GaryBoone/GoStats/stats/stats.go | 16 +- .../MiniProfiler/go/miniprofiler/doc.go | 0 .../go/miniprofiler/miniprofiler.go | 0 .../MiniProfiler/go/miniprofiler/static.go | 0 .../MiniProfiler/go/miniprofiler/templates.go | 0 .../MiniProfiler/go/miniprofiler/types.go | 0 .../github.com/PuerkitoBio/goquery/LICENSE | 0 .../github.com/PuerkitoBio/goquery/README.md | 0 .../github.com/PuerkitoBio/goquery/array.go | 2 +- .../github.com/PuerkitoBio/goquery/doc.go | 0 .../github.com/PuerkitoBio/goquery/expand.go | 4 +- .../github.com/PuerkitoBio/goquery/filter.go | 4 +- .../PuerkitoBio/goquery/iteration.go | 0 .../PuerkitoBio/goquery/manipulation.go | 4 +- .../PuerkitoBio/goquery/property.go | 2 +- .../github.com/PuerkitoBio/goquery/query.go | 4 +- .../PuerkitoBio/goquery/traversal.go | 4 +- .../github.com/PuerkitoBio/goquery/type.go | 2 +- .../PuerkitoBio/goquery/utilities.go | 2 +- .../github.com/StackExchange/httpunit/LICENSE | 0 .../StackExchange/httpunit/README.md | 0 .../StackExchange/httpunit/httpunit.go | 0 .../httpunit/mk_rpm_fpmdir.httpunit.txt | 0 .../github.com/StackExchange/mof/LICENSE | 0 .../github.com/StackExchange/mof/README.md | 0 .../github.com/StackExchange/mof/ascii.mof | 0 .../github.com/StackExchange/mof/lex.go | 0 .../github.com/StackExchange/mof/mof.go | 0 .../github.com/StackExchange/mof/node.go | 0 .../github.com/StackExchange/mof/parse.go | 0 .../github.com/StackExchange/mof/utf16-le.mof | Bin .../github.com/StackExchange/wmi/LICENSE | 0 .../github.com/StackExchange/wmi/README.md | 0 .../github.com/StackExchange/wmi/wmi.go | 4 +- .../github.com/ajstarks/svgo/LICENSE | 0 .../github.com/ajstarks/svgo/README.markdown | 0 .../github.com/ajstarks/svgo/doc.go | 0 .../ajstarks/svgo/gophercolor128x128.png | Bin .../github.com/ajstarks/svgo/newsvg | 0 .../github.com/ajstarks/svgo/svg.go | 2 +- .../github.com/ajstarks/svgo/svgdef.pdf | Bin .../github.com/ajstarks/svgo/svgdef.png | Bin .../github.com/ajstarks/svgo/svgdef.svg | 0 .../github.com/andybalholm/cascadia/LICENSE | 0 .../github.com/andybalholm/cascadia/README.md | 0 .../github.com/andybalholm/cascadia/parser.go | 2 +- .../andybalholm/cascadia/selector.go | 2 +- .../aws/aws-sdk-go/aws/awserr/error.go | 31 +- .../aws/aws-sdk-go/aws/awserr/types.go | 74 +- .../aws/aws-sdk-go/aws/awsutil/copy.go | 11 +- .../aws/aws-sdk-go/aws/awsutil/equal.go | 27 + .../aws/aws-sdk-go/aws/awsutil/path_value.go | 105 +- .../aws/aws-sdk-go/aws/awsutil/prettify.go | 0 .../aws-sdk-go/aws/awsutil/string_value.go | 89 + .../aws/aws-sdk-go/aws/client/client.go | 120 + .../aws-sdk-go/aws/client}/default_retryer.go | 18 +- .../aws/client/metadata/client_info.go | 12 + .../github.com/aws/aws-sdk-go/aws/config.go | 106 +- .../aws/aws-sdk-go/aws/convert_types.go | 0 .../aws-sdk-go/aws/corehandlers/handlers.go | 39 +- .../aws/corehandlers/param_validator.go | 17 +- .../aws/credentials/chain_provider.go | 33 +- .../aws-sdk-go/aws/credentials/credentials.go | 7 +- .../ec2rolecreds/ec2_role_provider.go | 94 +- .../aws/credentials/env_provider.go | 10 +- .../aws-sdk-go/aws/credentials/example.ini | 4 + .../shared_credentials_provider.go | 44 +- .../aws/credentials/static_provider.go | 8 +- .../aws/aws-sdk-go/aws/defaults/defaults.go | 96 + .../aws/aws-sdk-go/aws/ec2metadata/api.go | 10 +- .../aws/aws-sdk-go/aws/ec2metadata/service.go | 124 + .../github.com/aws/aws-sdk-go/aws/errors.go | 17 + .../github.com/aws/aws-sdk-go/aws/logger.go | 0 .../aws/aws-sdk-go/aws/request/handlers.go | 28 + .../aws/aws-sdk-go/aws/request/request.go | 164 +- .../aws/request/request_pagination.go | 104 + .../aws/aws-sdk-go/aws/request/retryer.go | 15 +- .../aws/aws-sdk-go/aws/session/session.go | 120 + .../github.com/aws/aws-sdk-go/aws/types.go | 2 +- .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../aws-sdk-go/private/endpoints/endpoints.go | 65 + .../private}/endpoints/endpoints.json | 15 + .../private}/endpoints/endpoints_map.go | 15 + .../private}/protocol/ec2query/build.go | 13 +- .../private}/protocol/ec2query/unmarshal.go | 17 +- .../private/protocol/idempotency.go | 75 + .../private}/protocol/query/build.go | 13 +- .../protocol/query/queryutil/queryutil.go | 17 +- .../private/protocol/query/unmarshal.go | 35 + .../protocol/query/unmarshal_error.go | 13 +- .../private}/protocol/rest/build.go | 110 +- .../private}/protocol/rest/payload.go | 4 +- .../private}/protocol/rest/unmarshal.go | 18 +- .../aws-sdk-go/private/protocol/unmarshal.go | 21 + .../private}/protocol/xml/xmlutil/build.go | 18 +- .../protocol/xml/xmlutil/unmarshal.go | 2 +- .../protocol/xml/xmlutil/xml_to_struct.go | 0 .../private/signer/v4/header_rules.go | 82 + .../aws/aws-sdk-go/private}/signer/v4/v4.go | 153 +- .../aws/aws-sdk-go/private/waiter/waiter.go | 134 + .../aws/aws-sdk-go/service/cloudwatch/api.go | 249 +- .../aws-sdk-go/service/cloudwatch/service.go | 79 +- .../aws/aws-sdk-go/service/ec2/api.go | 6997 ++-- .../aws-sdk-go/service/ec2/customizations.go | 55 + .../aws/aws-sdk-go/service/ec2/service.go | 89 + .../aws/aws-sdk-go/service/ec2/waiters.go | 761 + .../aws/aws-sdk-go/service/elb/api.go | 663 +- .../aws/aws-sdk-go/service/elb/service.go | 98 + .../aws/aws-sdk-go/service/elb/waiters.go | 53 + .../aymerick/douceur/css/declaration.go | 0 .../github.com/aymerick/douceur/css/rule.go | 0 .../aymerick/douceur/css/stylesheet.go | 0 .../aymerick/douceur/inliner/element.go | 6 +- .../aymerick/douceur/inliner/inliner.go | 8 +- .../douceur/inliner/style_declaration.go | 2 +- .../aymerick/douceur/inliner/style_rule.go | 2 +- .../aymerick/douceur/parser/parser.go | 4 +- .../github.com/boltdb/bolt/LICENSE | 0 .../github.com/boltdb/bolt/Makefile | 0 .../github.com/boltdb/bolt/README.md | 132 +- .../github.com/boltdb/bolt/batch.go | 0 .../github.com/boltdb/bolt/bolt_386.go | 0 .../github.com/boltdb/bolt/bolt_amd64.go | 0 .../github.com/boltdb/bolt/bolt_arm.go | 0 vendor/github.com/boltdb/bolt/bolt_arm64.go | 9 + .../github.com/boltdb/bolt/bolt_linux.go | 2 - .../github.com/boltdb/bolt/bolt_openbsd.go | 2 - vendor/github.com/boltdb/bolt/bolt_ppc64le.go | 9 + vendor/github.com/boltdb/bolt/bolt_s390x.go | 9 + .../github.com/boltdb/bolt/bolt_unix.go | 2 +- .../boltdb/bolt/bolt_unix_solaris.go | 5 +- vendor/github.com/boltdb/bolt/bolt_windows.go | 130 + .../github.com/boltdb/bolt/boltsync_unix.go | 2 - .../github.com/boltdb/bolt/bucket.go | 6 +- .../github.com/boltdb/bolt/cursor.go | 54 +- .../github.com/boltdb/bolt/db.go | 8 + .../github.com/boltdb/bolt/doc.go | 0 .../github.com/boltdb/bolt/errors.go | 0 .../github.com/boltdb/bolt/freelist.go | 0 .../github.com/boltdb/bolt/node.go | 0 .../github.com/boltdb/bolt/page.go | 0 .../github.com/boltdb/bolt/tx.go | 27 +- .../github.com/bradfitz/slice/COPYING | 0 .../github.com/bradfitz/slice/LICENSE | 0 .../github.com/bradfitz/slice/README | 0 .../github.com/bradfitz/slice/slice.go | 0 .../github.com/coreos/go-systemd/dbus/dbus.go | 13 +- .../coreos/go-systemd/dbus/methods.go | 56 +- .../coreos/go-systemd/dbus/properties.go | 2 +- .../github.com/coreos/go-systemd/dbus/set.go | 0 .../coreos/go-systemd/dbus/subscription.go | 2 +- .../go-systemd/dbus/subscription_set.go | 0 .../github.com/cupcake/rdb/LICENCE | 0 .../github.com/cupcake/rdb/README.md | 0 .../github.com/cupcake/rdb/crc64/crc64.go | 0 .../github.com/cupcake/rdb/decoder.go | 2 +- .../github.com/cupcake/rdb/encoder.go | 2 +- .../cupcake/rdb/nopdecoder/nop_decoder.go | 0 .../github.com/cupcake/rdb/slice_buffer.go | 0 .../github.com/edsrzf/mmap-go/LICENSE | 0 .../github.com/edsrzf/mmap-go/README.md | 0 .../github.com/edsrzf/mmap-go/mmap.go | 0 .../github.com/edsrzf/mmap-go/mmap_unix.go | 0 .../github.com/edsrzf/mmap-go/mmap_windows.go | 24 +- .../facebookgo/httpcontrol/httpcontrol.go | 0 .../github.com/facebookgo/httpcontrol/license | 0 .../github.com/facebookgo/httpcontrol/patents | 0 .../facebookgo/httpcontrol/readme.md | 0 .../garyburd/redigo/internal/commandinfo.go | 2 +- .../github.com/garyburd/redigo/redis/conn.go | 0 .../github.com/garyburd/redigo/redis/doc.go | 2 +- .../github.com/garyburd/redigo/redis/log.go | 0 .../github.com/garyburd/redigo/redis/pool.go | 7 +- .../garyburd/redigo/redis/pubsub.go | 0 .../github.com/garyburd/redigo/redis/redis.go | 0 .../github.com/garyburd/redigo/redis/reply.go | 30 + .../github.com/garyburd/redigo/redis/scan.go | 2 +- .../garyburd/redigo/redis/script.go | 0 .../github.com/go-ini/ini}/LICENSE | 0 vendor/github.com/go-ini/ini/README.md | 560 + vendor/github.com/go-ini/ini/README_ZH.md | 547 + vendor/github.com/go-ini/ini/ini.go | 1226 + vendor/github.com/go-ini/ini/struct.go | 350 + .../github.com/go-ole/go-ole/ChangeLog.md | 1 + .../github.com/go-ole/go-ole/README.md | 0 .../github.com/go-ole/go-ole/appveyor.yml | 17 +- .../github.com/go-ole/go-ole/com.go | 1 + .../github.com/go-ole/go-ole/com_func.go | 0 .../github.com/go-ole/go-ole/connect.go | 0 .../github.com/go-ole/go-ole/constants.go | 0 .../github.com/go-ole/go-ole/error.go | 0 .../github.com/go-ole/go-ole/error_func.go | 0 .../github.com/go-ole/go-ole/error_windows.go | 0 .../github.com/go-ole/go-ole/guid.go | 5 +- .../go-ole/go-ole/iconnectionpoint.go | 0 .../go-ole/go-ole/iconnectionpoint_func.go | 0 .../go-ole/go-ole/iconnectionpoint_windows.go | 0 .../go-ole/iconnectionpointcontainer.go | 0 .../go-ole/iconnectionpointcontainer_func.go | 0 .../iconnectionpointcontainer_windows.go | 0 vendor/github.com/go-ole/go-ole/idispatch.go | 94 + .../go-ole/go-ole/idispatch_func.go | 0 .../go-ole/go-ole/idispatch_windows.go | 38 +- .../github.com/go-ole/go-ole/ienumvariant.go | 0 .../go-ole/go-ole/ienumvariant_func.go | 4 +- .../go-ole/go-ole/ienumvariant_windows.go | 2 +- .../github.com/go-ole/go-ole/iinspectable.go | 0 .../go-ole/go-ole/iinspectable_func.go | 0 .../go-ole/go-ole/iinspectable_windows.go | 0 .../go-ole/go-ole/iprovideclassinfo.go | 0 .../go-ole/go-ole/iprovideclassinfo_func.go | 0 .../go-ole/iprovideclassinfo_windows.go | 0 .../github.com/go-ole/go-ole/itypeinfo.go | 0 .../go-ole/go-ole/itypeinfo_func.go | 0 .../go-ole/go-ole/itypeinfo_windows.go | 0 .../github.com/go-ole/go-ole/iunknown.go | 2 +- .../github.com/go-ole/go-ole/iunknown_func.go | 0 .../go-ole/go-ole/iunknown_windows.go | 7 +- .../github.com/go-ole/go-ole/ole.go | 0 .../go-ole/go-ole/oleutil/connection.go | 2 +- .../go-ole/go-ole/oleutil/connection_func.go | 2 +- .../go-ole/oleutil/connection_windows.go | 2 +- .../go-ole/go-ole/oleutil/go-get.go | 0 .../go-ole/go-ole/oleutil/oleutil.go | 57 +- .../github.com/go-ole/go-ole/safearray.go | 0 .../go-ole/go-ole/safearray_func.go | 0 .../go-ole/go-ole/safearray_windows.go | 4 +- .../go-ole/go-ole/safearrayconversion.go | 0 .../go-ole/go-ole/safearrayslices.go | 0 .../github.com/go-ole/go-ole/utility.go | 16 + .../github.com/go-ole/go-ole/variables.go | 0 .../github.com/go-ole/go-ole/variant.go | 18 +- .../github.com/go-ole/go-ole/variant_386.go | 0 .../github.com/go-ole/go-ole/variant_amd64.go | 0 .../github.com/go-ole/go-ole/vt_string.go | 0 .../github.com/go-ole/go-ole/winrt.go | 0 .../github.com/go-ole/go-ole/winrt_doc.go | 0 .../github.com/godbus/dbus/CONTRIBUTING.md | 0 .../github.com/godbus/dbus/LICENSE | 0 .../github.com/godbus/dbus/MAINTAINERS | 0 .../github.com/godbus/dbus/README.markdown | 0 .../github.com/godbus/dbus/auth.go | 0 .../github.com/godbus/dbus/auth_external.go | 0 .../github.com/godbus/dbus/auth_sha1.go | 0 .../github.com/godbus/dbus/call.go | 0 .../github.com/godbus/dbus/conn.go | 20 +- .../github.com/godbus/dbus/conn_darwin.go | 0 .../github.com/godbus/dbus/conn_other.go | 0 .../github.com/godbus/dbus/dbus.go | 0 .../github.com/godbus/dbus/decoder.go | 0 .../github.com/godbus/dbus/doc.go | 0 .../github.com/godbus/dbus/encoder.go | 0 .../github.com/godbus/dbus/export.go | 0 .../github.com/godbus/dbus/homedir.go | 0 .../github.com/godbus/dbus/homedir_dynamic.go | 0 .../github.com/godbus/dbus/homedir_static.go | 0 .../github.com/godbus/dbus/message.go | 0 .../github.com/godbus/dbus/object.go | 10 + .../github.com/godbus/dbus/sig.go | 0 .../godbus/dbus/transport_darwin.go | 0 .../godbus/dbus/transport_generic.go | 0 .../github.com/godbus/dbus/transport_unix.go | 2 +- .../dbus/transport_unixcred_dragonfly.go | 0 .../godbus/dbus/transport_unixcred_linux.go | 0 .../github.com/godbus/dbus/variant.go | 0 .../github.com/godbus/dbus/variant_lexer.go | 0 .../github.com/godbus/dbus/variant_parser.go | 0 .../github.com/gogo/protobuf/proto/Makefile | 0 .../github.com/gogo/protobuf/proto/clone.go | 2 +- .../github.com/gogo/protobuf/proto/decode.go | 6 +- .../gogo/protobuf/proto/decode_gogo.go | 0 .../github.com/gogo/protobuf/proto/encode.go | 5 +- .../gogo/protobuf/proto/encode_gogo.go | 0 .../github.com/gogo/protobuf/proto/equal.go | 1 - .../gogo/protobuf/proto/extensions.go | 0 .../gogo/protobuf/proto/extensions_gogo.go | 0 .../github.com/gogo/protobuf/proto/lib.go | 2 +- .../gogo/protobuf/proto/lib_gogo.go | 0 .../gogo/protobuf/proto/message_set.go | 41 +- .../gogo/protobuf/proto/pointer_reflect.go | 0 .../gogo/protobuf/proto/pointer_unsafe.go | 0 .../protobuf/proto/pointer_unsafe_gogo.go | 0 .../gogo/protobuf/proto/properties.go | 39 +- .../gogo/protobuf/proto/properties_gogo.go | 0 .../gogo/protobuf/proto/skip_gogo.go | 0 .../github.com/gogo/protobuf/proto/text.go | 48 +- .../gogo/protobuf/proto/text_gogo.go | 0 .../gogo/protobuf/proto/text_parser.go | 34 +- .../github.com/golang/freetype/AUTHORS | 0 .../github.com/golang/freetype/CONTRIBUTORS | 0 .../github.com/golang/freetype/LICENSE | 0 .../github.com/golang/freetype/README | 0 .../github.com/golang/freetype/freetype.go | 10 +- .../github.com/golang/freetype/raster/geom.go | 2 +- .../golang/freetype/raster/paint.go | 0 .../golang/freetype/raster/raster.go | 4 +- .../golang/freetype/raster/stroke.go | 2 +- .../golang/freetype/truetype/face.go | 6 +- .../golang/freetype/truetype/glyph.go | 4 +- .../golang/freetype/truetype/hint.go | 2 +- .../golang/freetype/truetype/opcodes.go | 0 .../golang/freetype/truetype/truetype.go | 4 +- vendor/github.com/golang/glog/LICENSE | 191 + .../github.com/golang/glog/README | 2 +- .../github.com/golang/glog/glog.go | 0 .../github.com/golang/glog/glog_file.go | 0 .../github.com/golang/groupcache/lru/lru.go | 0 .../groupcache/singleflight/singleflight.go | 0 .../github.com/golang/snappy/AUTHORS | 1 + .../github.com/golang/snappy/CONTRIBUTORS | 1 + .../github.com/golang/snappy/LICENSE | 0 .../github.com/golang/snappy/README | 0 .../github.com/golang/snappy/decode.go | 22 +- .../github.com/golang/snappy/encode.go | 184 +- .../github.com/golang/snappy/snappy.go | 11 +- .../google/cadvisor/client/README.md | 54 + .../google/cadvisor/client/client.go | 52 +- .../google/cadvisor/info/v1/container.go | 44 +- .../google/cadvisor/info/v1/machine.go | 2 +- .../google/cadvisor/info/v1/metric.go | 0 .../google/go-github/github/activity.go | 0 .../go-github/github/activity_events.go | 0 .../github/activity_notifications.go | 0 .../google/go-github/github/activity_star.go | 0 .../go-github/github/activity_watching.go | 0 .../github.com/google/go-github/github/doc.go | 0 .../google/go-github/github/gists.go | 0 .../google/go-github/github/gists_comments.go | 0 .../github.com/google/go-github/github/git.go | 0 .../google/go-github/github/git_blobs.go | 0 .../google/go-github/github/git_commits.go | 0 .../google/go-github/github/git_refs.go | 0 .../google/go-github/github/git_tags.go | 0 .../google/go-github/github/git_trees.go | 0 .../google/go-github/github/github.go | 2 +- .../google/go-github/github/gitignore.go | 0 .../google/go-github/github/issues.go | 8 +- .../go-github/github/issues_assignees.go | 0 .../go-github/github/issues_comments.go | 0 .../google/go-github/github/issues_events.go | 66 +- .../google/go-github/github/issues_labels.go | 0 .../go-github/github/issues_milestones.go | 0 .../google/go-github/github/licenses.go | 0 .../google/go-github/github/misc.go | 0 .../google/go-github/github/orgs.go | 0 .../google/go-github/github/orgs_hooks.go | 0 .../google/go-github/github/orgs_members.go | 8 +- .../google/go-github/github/orgs_teams.go | 0 .../google/go-github/github/pulls.go | 0 .../google/go-github/github/pulls_comments.go | 0 .../google/go-github/github/repos.go | 0 .../go-github/github/repos_collaborators.go | 0 .../google/go-github/github/repos_comments.go | 0 .../google/go-github/github/repos_commits.go | 0 .../google/go-github/github/repos_contents.go | 0 .../go-github/github/repos_deployments.go | 0 .../google/go-github/github/repos_forks.go | 0 .../google/go-github/github/repos_hooks.go | 0 .../google/go-github/github/repos_keys.go | 0 .../google/go-github/github/repos_merging.go | 0 .../google/go-github/github/repos_pages.go | 0 .../google/go-github/github/repos_releases.go | 24 + .../google/go-github/github/repos_stats.go | 0 .../google/go-github/github/repos_statuses.go | 0 .../google/go-github/github/search.go | 2 +- .../google/go-github/github/strings.go | 0 .../google/go-github/github/timestamp.go | 0 .../google/go-github/github/users.go | 0 .../go-github/github/users_administration.go | 0 .../google/go-github/github/users_emails.go | 0 .../go-github/github/users_followers.go | 0 .../google/go-github/github/users_keys.go | 0 .../google/go-querystring/query/encode.go | 4 + .../github.com/gorilla/context/LICENSE | 0 .../github.com/gorilla/context/README.md | 0 .../github.com/gorilla/context/context.go | 0 .../github.com/gorilla/context/doc.go | 0 .../github.com/gorilla/css/scanner/doc.go | 0 .../github.com/gorilla/css/scanner/scanner.go | 0 .../github.com/gorilla/mux/LICENSE | 0 .../github.com/gorilla/mux/README.md | 0 .../github.com/gorilla/mux/doc.go | 0 .../github.com/gorilla/mux/mux.go | 11 +- .../github.com/gorilla/mux/regexp.go | 0 .../github.com/gorilla/mux/route.go | 0 .../influxdata/influxdb/client/README.md | 257 + .../influxdata}/influxdb/client/influxdb.go | 89 +- .../influxdata/influxdb/influxql/README.md | 944 + .../influxdata}/influxdb/influxql/ast.go | 722 +- .../influxdb/influxql/call_iterator.go | 995 + .../influxdata/influxdb/influxql/cast.go | 41 + .../influxdata}/influxdb/influxql/doc.go | 0 .../influxdata/influxdb/influxql/emitter.go | 199 + .../influxdata/influxdb/influxql/influxql.go | 6 + .../influxdb/influxql/internal/internal.pb.go | 153 + .../influxdb/influxql/internal/internal.proto | 22 + .../influxdb/influxql/iterator.gen.go | 3570 ++ .../influxdb/influxql/iterator.gen.go.tmpl | 910 + .../influxdata/influxdb/influxql/iterator.go | 656 + .../influxdata}/influxdb/influxql/parser.go | 406 +- .../influxdata/influxdb/influxql/point.gen.go | 425 + .../influxdb/influxql/point.gen.go.tmpl | 124 + .../influxdata/influxdb/influxql/point.go | 229 + .../influxdata}/influxdb/influxql/result.go | 5 +- .../influxdata}/influxdb/influxql/scanner.go | 0 .../influxdata/influxdb/influxql/select.go | 776 + .../influxdata/influxdb/influxql/tmpldata | 30 + .../influxdata}/influxdb/influxql/token.go | 166 +- .../influxdata}/influxdb/models/points.go | 668 +- .../influxdata}/influxdb/models/rows.go | 1 + .../influxdata/influxdb/models/time.go | 51 + .../influxdata}/influxdb/pkg/escape/bytes.go | 2 +- .../influxdb/pkg/escape/strings.go | 0 .../influxdb/pkg/slices/strings.go | 5 +- .../github.com/jmespath/go-jmespath/LICENSE | 2 +- .../github.com/jmespath/go-jmespath/Makefile | 44 + .../github.com/jmespath/go-jmespath/README.md | 7 + vendor/github.com/jmespath/go-jmespath/api.go | 49 + .../go-jmespath/astnodetype_string.go | 16 + .../jmespath/go-jmespath/functions.go | 842 + .../jmespath/go-jmespath/interpreter.go | 418 + .../github.com/jmespath/go-jmespath/lexer.go | 420 + .../github.com/jmespath/go-jmespath/parser.go | 603 + .../jmespath/go-jmespath/toktype_string.go | 16 + .../github.com/jmespath/go-jmespath/util.go | 185 + .../github.com/jmoiron/jsonq/LICENSE | 0 .../github.com/jmoiron/jsonq/README.md | 0 .../github.com/jmoiron/jsonq/autotest.sh | 0 .../github.com/jmoiron/jsonq/doc.go | 0 .../github.com/jmoiron/jsonq/jsonq.go | 0 .../github.com/jordan-wright/email/LICENSE | 0 .../github.com/jordan-wright/email/README.md | 0 .../github.com/jordan-wright/email/email.go | 48 +- .../github.com/kylebrandt/gohop/gohop.go | 10 +- .../github.com/llgcode/draw2d/AUTHORS | 0 .../github.com/llgcode/draw2d/LICENSE | 0 .../github.com/llgcode/draw2d/README.md | 91 +- .../github.com/llgcode/draw2d/draw2d.go | 47 +- .../llgcode/draw2d/draw2dbase/README.md | 0 .../llgcode/draw2d/draw2dbase/curve.go | 0 .../llgcode/draw2d/draw2dbase/dasher.go | 0 .../draw2d/draw2dbase/demux_flattener.go | 0 .../llgcode/draw2d/draw2dbase/flattener.go | 2 +- .../llgcode/draw2d/draw2dbase/line.go | 0 .../llgcode/draw2d/draw2dbase/stack_gc.go | 4 +- .../llgcode/draw2d/draw2dbase/stroker.go | 2 +- .../llgcode/draw2d/draw2dimg/README.md | 0 .../llgcode/draw2d/draw2dimg/fileutil.go | 0 .../llgcode/draw2d/draw2dimg/ftgc.go | 12 +- .../llgcode/draw2d/draw2dimg/ftpath.go | 4 +- .../draw2d/draw2dimg/rgba_interpolation.go | 2 +- .../llgcode/draw2d/draw2dimg/text.go | 6 +- .../github.com/llgcode/draw2d/font.go | 5 +- .../github.com/llgcode/draw2d/gc.go | 0 .../github.com/llgcode/draw2d/matrix.go | 0 .../github.com/llgcode/draw2d/path.go | 0 .../github.com/llgcode/draw2d/test | 0 .../olivere/elastic/CONTRIBUTING.md | 0 .../github.com/olivere/elastic}/CONTRIBUTORS | 3 - .../github.com/olivere/elastic/LICENSE | 0 .../github.com/olivere/elastic/README.md | 17 +- .../github.com/olivere/elastic/alias.go | 0 .../github.com/olivere/elastic/aliases.go | 2 +- .../github.com/olivere/elastic/bulk.go | 2 +- .../olivere/elastic/bulk_delete_request.go | 0 .../olivere/elastic/bulk_index_request.go | 0 .../olivere/elastic/bulk_request.go | 0 .../olivere/elastic/bulk_update_request.go | 0 .../olivere/elastic/canonicalize.go | 0 .../olivere/elastic/clear_scroll.go | 2 +- .../github.com/olivere/elastic/client.go | 142 +- .../olivere/elastic/cluster_health.go | 2 +- .../olivere/elastic/cluster_state.go | 2 +- .../olivere/elastic/cluster_stats.go | 2 +- .../github.com/olivere/elastic/connection.go | 0 vendor/github.com/olivere/elastic/count.go | 326 + .../olivere/elastic/create_index.go | 2 +- .../github.com/olivere/elastic/decoder.go | 0 .../github.com/olivere/elastic/delete.go | 2 +- .../olivere/elastic/delete_by_query.go | 2 +- .../olivere/elastic/delete_index.go | 2 +- .../olivere/elastic/delete_mapping.go | 2 +- .../olivere/elastic/delete_template.go | 2 +- .../github.com/olivere/elastic/doc.go | 0 .../github.com/olivere/elastic/errors.go | 12 +- .../github.com/olivere/elastic/exists.go | 2 +- .../github.com/olivere/elastic/explain.go | 2 +- .../olivere/elastic/fetch_source_context.go | 0 .../github.com/olivere/elastic/filter.go | 0 .../github.com/olivere/elastic/flush.go | 2 +- .../github.com/olivere/elastic/geo_point.go | 0 .../github.com/olivere/elastic/get.go | 2 +- .../github.com/olivere/elastic/get_mapping.go | 2 +- .../olivere/elastic/get_template.go | 2 +- .../github.com/olivere/elastic/highlight.go | 0 .../github.com/olivere/elastic/index.go | 2 +- .../github.com/olivere/elastic/index_close.go | 2 +- .../olivere/elastic/index_exists.go | 2 +- .../github.com/olivere/elastic/index_get.go | 2 +- .../olivere/elastic/index_get_settings.go | 2 +- .../github.com/olivere/elastic/index_open.go | 2 +- .../elastic/indices_delete_template.go | 2 +- .../elastic/indices_exists_template.go | 2 +- .../olivere/elastic/indices_exists_type.go | 2 +- .../olivere/elastic/indices_get_template.go | 2 +- .../olivere/elastic/indices_put_template.go | 2 +- .../olivere/elastic/indices_stats.go | 2 +- .../github.com/olivere/elastic/inner_hit.go | 0 .../github.com/olivere/elastic/multi_get.go | 0 .../olivere/elastic/multi_search.go | 0 .../github.com/olivere/elastic/nodes_info.go | 2 +- .../github.com/olivere/elastic/optimize.go | 2 +- .../github.com/olivere/elastic/percolate.go | 2 +- .../github.com/olivere/elastic/ping.go | 0 .../github.com/olivere/elastic/put_mapping.go | 2 +- .../olivere/elastic/put_template.go | 2 +- .../github.com/olivere/elastic/query.go | 0 .../github.com/olivere/elastic/refresh.go | 2 +- .../github.com/olivere/elastic/reindexer.go | 0 .../github.com/olivere/elastic}/request.go | 0 .../github.com/olivere/elastic/rescore.go | 0 .../github.com/olivere/elastic/rescorer.go | 0 .../github.com/olivere/elastic/response.go | 0 .../github.com/olivere/elastic/scan.go | 2 +- .../github.com/olivere/elastic/scroll.go | 2 +- .../github.com/olivere/elastic/search.go | 4 +- .../github.com/olivere/elastic/search_aggs.go | 0 .../olivere/elastic/search_aggs_avg.go | 0 .../elastic/search_aggs_cardinality.go | 0 .../olivere/elastic/search_aggs_children.go | 0 .../elastic/search_aggs_date_histogram.go | 0 .../olivere/elastic/search_aggs_date_range.go | 0 .../elastic/search_aggs_extended_stats.go | 0 .../olivere/elastic/search_aggs_filter.go | 0 .../olivere/elastic/search_aggs_filters.go | 0 .../olivere/elastic/search_aggs_geo_bounds.go | 0 .../elastic/search_aggs_geo_distance.go | 0 .../olivere/elastic/search_aggs_global.go | 0 .../olivere/elastic/search_aggs_histogram.go | 0 .../olivere/elastic/search_aggs_max.go | 0 .../olivere/elastic/search_aggs_min.go | 0 .../olivere/elastic/search_aggs_missing.go | 0 .../olivere/elastic/search_aggs_nested.go | 0 .../elastic/search_aggs_percentile_ranks.go | 0 .../elastic/search_aggs_percentiles.go | 0 .../olivere/elastic/search_aggs_range.go | 0 .../elastic/search_aggs_significant_terms.go | 0 .../olivere/elastic/search_aggs_stats.go | 0 .../olivere/elastic/search_aggs_sum.go | 0 .../olivere/elastic/search_aggs_terms.go | 0 .../olivere/elastic/search_aggs_tophits.go | 0 .../elastic/search_aggs_value_count.go | 0 .../olivere/elastic/search_facets.go | 0 .../elastic/search_facets_date_histogram.go | 0 .../olivere/elastic/search_facets_filter.go | 0 .../elastic/search_facets_geo_distance.go | 0 .../elastic/search_facets_histogram.go | 0 .../elastic/search_facets_histogram_script.go | 0 .../olivere/elastic/search_facets_query.go | 0 .../olivere/elastic/search_facets_range.go | 0 .../elastic/search_facets_statistical.go | 0 .../search_facets_statistical_script.go | 0 .../olivere/elastic/search_facets_terms.go | 0 .../elastic/search_facets_terms_stats.go | 0 .../olivere/elastic/search_filters_and.go | 0 .../olivere/elastic/search_filters_bool.go | 0 .../olivere/elastic/search_filters_exists.go | 0 .../elastic/search_filters_geo_distance.go | 0 .../elastic/search_filters_geo_polygon.go | 0 .../elastic/search_filters_has_child.go | 0 .../elastic/search_filters_has_parent.go | 0 .../olivere/elastic/search_filters_ids.go | 0 .../olivere/elastic/search_filters_limit.go | 0 .../elastic/search_filters_match_all.go | 0 .../olivere/elastic/search_filters_missing.go | 0 .../olivere/elastic/search_filters_nested.go | 0 .../olivere/elastic/search_filters_not.go | 0 .../olivere/elastic/search_filters_or.go | 0 .../olivere/elastic/search_filters_prefix.go | 0 .../olivere/elastic/search_filters_query.go | 0 .../olivere/elastic/search_filters_range.go | 0 .../olivere/elastic/search_filters_regexp.go | 0 .../olivere/elastic/search_filters_term.go | 0 .../olivere/elastic/search_filters_terms.go | 0 .../olivere/elastic/search_filters_type.go | 0 .../olivere/elastic/search_queries_bool.go | 0 .../elastic/search_queries_boosting.go | 0 .../olivere/elastic/search_queries_common.go | 0 .../elastic/search_queries_constant_score.go | 60 + .../search_queries_custom_filters_score.go | 0 .../elastic/search_queries_custom_score.go | 0 .../olivere/elastic/search_queries_dis_max.go | 0 .../elastic/search_queries_filtered.go | 0 .../olivere/elastic/search_queries_fsq.go | 0 .../elastic/search_queries_fsq_score_funcs.go | 0 .../olivere/elastic/search_queries_fuzzy.go | 0 .../elastic/search_queries_fuzzy_like_this.go | 0 ...rch_queries_fuzzy_like_this_field_query.go | 0 .../elastic/search_queries_has_child.go | 0 .../elastic/search_queries_has_parent.go | 0 .../olivere/elastic/search_queries_ids.go | 0 .../olivere/elastic/search_queries_match.go | 0 .../elastic/search_queries_match_all.go | 0 .../elastic/search_queries_more_like_this.go | 0 .../search_queries_more_like_this_field.go | 0 .../elastic/search_queries_multi_match.go | 0 .../olivere/elastic/search_queries_nested.go | 0 .../olivere/elastic/search_queries_prefix.go | 0 .../elastic/search_queries_query_string.go | 0 .../olivere/elastic/search_queries_range.go | 0 .../olivere/elastic/search_queries_regexp.go | 0 .../search_queries_simple_query_string.go | 0 .../elastic/search_queries_template_query.go | 0 .../olivere/elastic/search_queries_term.go | 0 .../olivere/elastic/search_queries_terms.go | 0 .../elastic/search_queries_wildcard.go | 0 .../olivere/elastic/search_request.go | 0 .../olivere/elastic/search_source.go | 0 .../github.com/olivere/elastic/sort.go | 0 .../github.com/olivere/elastic/suggest.go | 2 +- .../olivere/elastic/suggest_field.go | 26 +- .../github.com/olivere/elastic/suggester.go | 0 .../olivere/elastic/suggester_completion.go | 0 .../elastic/suggester_completion_fuzzy.go | 0 .../olivere/elastic/suggester_context.go | 0 .../elastic/suggester_context_category.go | 0 .../olivere/elastic/suggester_context_geo.go | 0 .../olivere/elastic/suggester_phrase.go | 0 .../olivere/elastic/suggester_term.go | 0 .../github.com/olivere/elastic/update.go | 7 +- .../olivere/elastic/uritemplates/LICENSE | 0 .../elastic/uritemplates/uritemplates.go | 0 .../olivere/elastic/uritemplates/utils.go | 0 .../github.com/siddontang/go/bson/LICENSE | 0 .../github.com/siddontang/go/bson/bson.go | 0 .../github.com/siddontang/go/bson/decode.go | 0 .../github.com/siddontang/go/bson/encode.go | 0 .../github.com/siddontang/go/filelock/LICENSE | 0 .../go/filelock/file_lock_generic.go | 0 .../go/filelock/file_lock_solaris.go | 0 .../siddontang/go/filelock/file_lock_unix.go | 0 .../go/filelock/file_lock_windows.go | 0 .../github.com/siddontang/go/hack/hack.go | 0 .../siddontang/go/ioutil2/ioutil.go | 0 .../siddontang/go/ioutil2/sectionwriter.go | 0 .../github.com/siddontang/go/log/doc.go | 0 .../siddontang/go/log/filehandler.go | 0 .../github.com/siddontang/go/log/handler.go | 0 .../github.com/siddontang/go/log/log.go | 0 .../siddontang/go/log/sockethandler.go | 0 .../github.com/siddontang/go/num/bytes.go | 0 .../github.com/siddontang/go/num/cmp.go | 0 .../github.com/siddontang/go/num/str.go | 0 .../github.com/siddontang/go/snappy/LICENSE | 0 .../github.com/siddontang/go/snappy/decode.go | 0 .../github.com/siddontang/go/snappy/encode.go | 0 .../github.com/siddontang/go/snappy/snappy.go | 0 .../github.com/siddontang/go/sync2/atomic.go | 0 .../siddontang/go/sync2/semaphore.go | 0 .../github.com/siddontang/goredis/LICENSE | 0 .../github.com/siddontang/goredis/client.go | 0 .../github.com/siddontang/goredis/conn.go | 0 .../github.com/siddontang/goredis/doc.go | 0 .../siddontang/goredis/garyburd_license | 0 .../github.com/siddontang/goredis/reply.go | 0 .../github.com/siddontang/goredis/resp.go | 0 .../siddontang/ledisdb/config/config.go | 6 +- .../siddontang/ledisdb/config/config.toml | 4 + .../siddontang/ledisdb/ledis/batch.go | 6 +- .../siddontang/ledisdb/ledis/const.go | 0 .../siddontang/ledisdb/ledis/doc.go | 0 .../siddontang/ledisdb/ledis/dump.go | 4 +- .../siddontang/ledisdb/ledis/event.go | 2 +- .../siddontang/ledisdb/ledis/ledis.go | 10 +- .../siddontang/ledisdb/ledis/ledis_db.go | 2 +- .../siddontang/ledisdb/ledis/migrate.go | 2 +- .../siddontang/ledisdb/ledis/multi.go | 0 .../siddontang/ledisdb/ledis/replication.go | 8 +- .../siddontang/ledisdb/ledis/scan.go | 2 +- .../siddontang/ledisdb/ledis/sort.go | 2 +- .../siddontang/ledisdb/ledis/t_bit.go | 0 .../siddontang/ledisdb/ledis/t_hash.go | 4 +- .../siddontang/ledisdb/ledis/t_kv.go | 4 +- .../siddontang/ledisdb/ledis/t_list.go | 128 +- .../siddontang/ledisdb/ledis/t_set.go | 4 +- .../siddontang/ledisdb/ledis/t_ttl.go | 2 +- .../siddontang/ledisdb/ledis/t_zset.go | 4 +- .../github.com/siddontang/ledisdb/ledis/tx.go | 0 .../siddontang/ledisdb/ledis/util.go | 2 +- .../siddontang/ledisdb/rpl/file_io.go | 4 +- .../siddontang/ledisdb/rpl/file_store.go | 6 +- .../siddontang/ledisdb/rpl/file_table.go | 4 +- .../siddontang/ledisdb/rpl/goleveldb_store.go | 6 +- .../github.com/siddontang/ledisdb/rpl/log.go | 0 .../github.com/siddontang/ledisdb/rpl/rpl.go | 6 +- .../siddontang/ledisdb/rpl/store.go | 0 .../siddontang/ledisdb/server/accesslog.go | 6 +- .../siddontang/ledisdb/server/app.go | 22 +- .../siddontang/ledisdb/server/client.go | 4 +- .../siddontang/ledisdb/server/client_http.go | 10 +- .../siddontang/ledisdb/server/client_resp.go | 10 +- .../siddontang/ledisdb/server/cmd_bit.go | 0 .../siddontang/ledisdb/server/cmd_hash.go | 2 +- .../siddontang/ledisdb/server/cmd_kv.go | 2 +- .../siddontang/ledisdb/server/cmd_list.go | 82 +- .../siddontang/ledisdb/server/cmd_migrate.go | 8 +- .../ledisdb/server/cmd_replication.go | 6 +- .../siddontang/ledisdb/server/cmd_scan.go | 6 +- .../siddontang/ledisdb/server/cmd_script.go | 4 +- .../siddontang/ledisdb/server/cmd_server.go | 4 +- .../siddontang/ledisdb/server/cmd_set.go | 2 +- .../siddontang/ledisdb/server/cmd_sort.go | 0 .../siddontang/ledisdb/server/cmd_tx.go | 0 .../siddontang/ledisdb/server/cmd_zset.go | 8 +- .../siddontang/ledisdb/server/command.go | 0 .../siddontang/ledisdb/server/const.go | 2 +- .../siddontang/ledisdb/server/doc.go | 0 .../siddontang/ledisdb/server/info.go | 2 +- .../siddontang/ledisdb/server/replication.go | 12 +- .../siddontang/ledisdb/server/script.go | 8 +- .../siddontang/ledisdb/server/script_dummy.go | 0 .../siddontang/ledisdb/server/snapshot.go | 4 +- .../siddontang/ledisdb/server/util.go | 0 .../siddontang/ledisdb/store/boltdb/const.go | 0 .../siddontang/ledisdb/store/boltdb/db.go | 6 +- .../ledisdb/store/boltdb/iterator.go | 2 +- .../ledisdb/store/boltdb/snapshot.go | 4 +- .../siddontang/ledisdb/store/boltdb/tx.go | 4 +- .../github.com/siddontang/ledisdb/store/db.go | 4 +- .../siddontang/ledisdb/store/driver/batch.go | 2 +- .../siddontang/ledisdb/store/driver/driver.go | 0 .../siddontang/ledisdb/store/driver/slice.go | 0 .../siddontang/ledisdb/store/driver/store.go | 2 +- .../ledisdb/store/goleveldb/batch.go | 2 +- .../ledisdb/store/goleveldb/const.go | 0 .../siddontang/ledisdb/store/goleveldb/db.go | 18 +- .../ledisdb/store/goleveldb/iterator.go | 2 +- .../ledisdb/store/goleveldb/snapshot.go | 4 +- .../siddontang/ledisdb/store/iterator.go | 2 +- .../siddontang/ledisdb/store/leveldb/batch.go | 2 +- .../siddontang/ledisdb/store/leveldb/cache.go | 0 .../siddontang/ledisdb/store/leveldb/const.go | 0 .../siddontang/ledisdb/store/leveldb/db.go | 4 +- .../ledisdb/store/leveldb/filterpolicy.go | 0 .../ledisdb/store/leveldb/iterator.go | 0 .../ledisdb/store/leveldb/leveldb_ext.cc | 0 .../ledisdb/store/leveldb/leveldb_ext.h | 0 .../ledisdb/store/leveldb/levigo-license | 0 .../ledisdb/store/leveldb/options.go | 0 .../siddontang/ledisdb/store/leveldb/slice.go | 0 .../ledisdb/store/leveldb/snapshot.go | 2 +- .../siddontang/ledisdb/store/leveldb/util.go | 0 .../siddontang/ledisdb/store/mdb/const.go | 0 .../ledisdb/store/mdb/influxdb_license | 0 .../siddontang/ledisdb/store/mdb/mdb.go | 6 +- .../siddontang/ledisdb/store/mdb/snapshot.go | 4 +- .../siddontang/ledisdb/store/mdb/tx.go | 4 +- .../siddontang/ledisdb/store/rocksdb/batch.go | 0 .../siddontang/ledisdb/store/rocksdb/cache.go | 0 .../siddontang/ledisdb/store/rocksdb/const.go | 0 .../siddontang/ledisdb/store/rocksdb/db.go | 4 +- .../siddontang/ledisdb/store/rocksdb/env.go | 0 .../ledisdb/store/rocksdb/filterpolicy.go | 0 .../ledisdb/store/rocksdb/iterator.go | 0 .../ledisdb/store/rocksdb/options.go | 0 .../ledisdb/store/rocksdb/rocksdb_ext.cc | 0 .../ledisdb/store/rocksdb/rocksdb_ext.h | 0 .../siddontang/ledisdb/store/rocksdb/slice.go | 0 .../ledisdb/store/rocksdb/snapshot.go | 2 +- .../siddontang/ledisdb/store/rocksdb/util.go | 0 .../siddontang/ledisdb/store/slice.go | 9 + .../siddontang/ledisdb/store/snapshot.go | 2 +- .../siddontang/ledisdb/store/stat.go | 2 +- .../siddontang/ledisdb/store/store.go | 14 +- .../github.com/siddontang/ledisdb/store/tx.go | 2 +- .../siddontang/ledisdb/store/writebatch.go | 4 +- .../github.com/siddontang/rdb/LICENSE | 0 .../github.com/siddontang/rdb/README.md | 0 .../github.com/siddontang/rdb/decode.go | 4 +- .../github.com/siddontang/rdb/digest.go | 0 .../github.com/siddontang/rdb/encode.go | 2 +- .../github.com/siddontang/rdb/loader.go | 0 .../github.com/siddontang/rdb/reader.go | 0 .../siddontang/rdb/wandoujia-license | 0 .../syndtr/goleveldb/leveldb/batch.go | 4 +- .../syndtr/goleveldb/leveldb/cache/cache.go | 2 +- .../syndtr/goleveldb/leveldb/cache/lru.go | 0 .../syndtr/goleveldb/leveldb/comparer.go | 2 +- .../leveldb/comparer/bytes_comparer.go | 0 .../goleveldb/leveldb/comparer/comparer.go | 0 .../github.com/syndtr/goleveldb/leveldb/db.go | 16 +- .../syndtr/goleveldb/leveldb/db_compaction.go | 4 +- .../syndtr/goleveldb/leveldb/db_iter.go | 6 +- .../syndtr/goleveldb/leveldb/db_snapshot.go | 6 +- .../syndtr/goleveldb/leveldb/db_state.go | 4 +- .../syndtr/goleveldb/leveldb/db_util.go | 10 +- .../syndtr/goleveldb/leveldb/db_write.go | 6 +- .../syndtr/goleveldb/leveldb/doc.go | 0 .../syndtr/goleveldb/leveldb/errors.go | 2 +- .../syndtr/goleveldb/leveldb/errors/errors.go | 4 +- .../syndtr/goleveldb/leveldb/filter.go | 2 +- .../syndtr/goleveldb/leveldb/filter/bloom.go | 2 +- .../syndtr/goleveldb/leveldb/filter/filter.go | 0 .../goleveldb/leveldb/iterator/array_iter.go | 2 +- .../leveldb/iterator/indexed_iter.go | 4 +- .../syndtr/goleveldb/leveldb/iterator/iter.go | 2 +- .../goleveldb/leveldb/iterator/merged_iter.go | 6 +- .../goleveldb/leveldb/journal/journal.go | 4 +- .../syndtr/goleveldb/leveldb/key.go | 2 +- .../syndtr/goleveldb/leveldb/memdb/memdb.go | 8 +- .../syndtr/goleveldb/leveldb/opt/options.go | 6 +- .../syndtr/goleveldb/leveldb/options.go | 4 +- .../syndtr/goleveldb/leveldb/session.go | 10 +- .../goleveldb/leveldb/session_compaction.go | 6 +- .../goleveldb/leveldb/session_record.go | 2 +- .../syndtr/goleveldb/leveldb/session_util.go | 4 +- .../goleveldb/leveldb/storage/file_storage.go | 2 +- .../leveldb/storage/file_storage_plan9.go | 0 .../leveldb/storage/file_storage_solaris.go | 0 .../leveldb/storage/file_storage_unix.go | 0 .../leveldb/storage/file_storage_windows.go | 0 .../goleveldb/leveldb/storage/mem_storage.go | 2 +- .../goleveldb/leveldb/storage/storage.go | 2 +- .../syndtr/goleveldb/leveldb/table.go | 12 +- .../syndtr/goleveldb/leveldb/table/reader.go | 20 +- .../syndtr/goleveldb/leveldb/table/table.go | 0 .../syndtr/goleveldb/leveldb/table/writer.go | 10 +- .../syndtr/goleveldb/leveldb/util.go | 2 +- .../syndtr/goleveldb/leveldb/util/buffer.go | 0 .../goleveldb/leveldb/util/buffer_pool.go | 0 .../syndtr/goleveldb/leveldb/util/crc32.go | 0 .../syndtr/goleveldb/leveldb/util/hash.go | 0 .../syndtr/goleveldb/leveldb/util/pool.go | 0 .../goleveldb/leveldb/util/pool_legacy.go | 0 .../syndtr/goleveldb/leveldb/util/range.go | 0 .../syndtr/goleveldb/leveldb/util/util.go | 0 .../syndtr/goleveldb/leveldb/version.go | 6 +- .../github.com/tatsushid/go-fastping/LICENSE | 0 .../tatsushid/go-fastping/README.md | 0 .../tatsushid/go-fastping/fastping.go | 6 +- .../github.com/ugorji/go/codec/0doc.go | 72 +- .../github.com/ugorji/go/codec/README.md | 0 .../github.com/ugorji/go/codec/binc.go | 144 +- .../github.com/ugorji/go/codec/cbor.go | 120 +- .../github.com/ugorji/go/codec/decode.go | 1222 +- .../github.com/ugorji/go/codec/encode.go | 826 +- .../ugorji/go/codec/fast-path.generated.go | 30696 ++++++++++++---- .../ugorji/go/codec/fast-path.go.tmpl | 280 +- .../ugorji/go/codec/fast-path.not.go | 32 + .../ugorji/go/codec/gen-dec-array.go.tmpl | 103 + .../ugorji/go/codec/gen-dec-map.go.tmpl | 58 + .../ugorji/go/codec/gen-helper.generated.go | 28 +- .../ugorji/go/codec/gen-helper.go.tmpl | 25 +- .../ugorji/go/codec/gen.generated.go | 174 + .../github.com/ugorji/go/codec/gen.go | 359 +- .../github.com/ugorji/go/codec/helper.go | 504 +- .../ugorji/go/codec/helper_internal.go | 91 + .../ugorji/go/codec/helper_not_unsafe.go | 0 .../ugorji/go/codec/helper_unsafe.go | 6 + .../github.com/ugorji/go/codec/json.go | 778 +- .../github.com/ugorji/go/codec/msgpack.go | 155 +- .../github.com/ugorji/go/codec/noop.go | 114 +- .../github.com/ugorji/go/codec/prebuild.go | 0 .../github.com/ugorji/go/codec/prebuild.sh | 72 +- .../github.com/ugorji/go/codec/rpc.go | 0 .../github.com/ugorji/go/codec/simple.go | 115 +- .../ugorji/go/codec/test-cbor-goldens.json | 0 .../github.com/ugorji/go/codec/test.py | 0 vendor/github.com/ugorji/go/codec/tests.sh | 80 + .../github.com/ugorji/go/codec/time.go | 42 +- .../github.com/vdobler/chart/LICENSE | 0 .../github.com/vdobler/chart/Makefile | 0 .../github.com/vdobler/chart/README.md | 0 .../github.com/vdobler/chart/bar.go | 0 .../github.com/vdobler/chart/box.go | 0 .../github.com/vdobler/chart/chart.go | 0 .../github.com/vdobler/chart/data.go | 0 .../github.com/vdobler/chart/doc.go | 0 .../github.com/vdobler/chart/graphics.go | 0 .../github.com/vdobler/chart/hist.go | 0 .../github.com/vdobler/chart/imgg/font.go | 0 .../github.com/vdobler/chart/imgg/image.go | 16 +- .../github.com/vdobler/chart/key.go | 0 .../github.com/vdobler/chart/pie.go | 0 .../github.com/vdobler/chart/scatter.go | 0 .../github.com/vdobler/chart/stat.go | 0 .../github.com/vdobler/chart/strip.go | 0 .../github.com/vdobler/chart/style.go | 0 .../github.com/vdobler/chart/svgg/svg.go | 4 +- .../github.com/vdobler/chart/time.go | 0 .../github.com/vdobler/chart/util.go | 0 .../golang.org/x/image/draw/draw.go | 0 .../golang.org/x/image/draw/gen.go | 0 .../golang.org/x/image/draw/impl.go | 2 +- .../golang.org/x/image/draw/scale.go | 2 +- .../golang.org/x/image/font/font.go | 4 +- .../golang.org/x/image/math/f64/f64.go | 2 +- .../golang.org/x/image/math/fixed/fixed.go | 2 +- .../golang.org/x/net/context/context.go | 4 +- .../x/net/context/ctxhttp/cancelreq.go | 1 + .../x/net/context/ctxhttp/cancelreq_go14.go | 0 .../x/net/context/ctxhttp/ctxhttp.go | 67 +- .../golang.org/x/net/html/atom/atom.go | 2 +- .../golang.org/x/net/html/atom/gen.go | 0 .../golang.org/x/net/html/atom/table.go | 0 .../golang.org/x/net/html/const.go | 0 .../golang.org/x/net/html/doc.go | 2 +- .../golang.org/x/net/html/doctype.go | 0 .../golang.org/x/net/html/entity.go | 0 .../golang.org/x/net/html/escape.go | 0 .../golang.org/x/net/html/foreign.go | 0 .../golang.org/x/net/html/node.go | 2 +- .../golang.org/x/net/html/parse.go | 2 +- .../golang.org/x/net/html/render.go | 0 .../golang.org/x/net/html/token.go | 2 +- .../golang.org/x/net/icmp/dstunreach.go | 2 +- .../golang.org/x/net/icmp/echo.go | 0 .../golang.org/x/net/icmp/endpoint.go | 4 +- .../golang.org/x/net/icmp/extension.go | 2 +- .../golang.org/x/net/icmp/helper_posix.go | 0 .../golang.org/x/net/icmp/interface.go | 2 +- .../golang.org/x/net/icmp/ipv4.go | 2 +- .../golang.org/x/net/icmp/ipv6.go | 4 +- .../golang.org/x/net/icmp/listen_posix.go | 6 +- .../golang.org/x/net/icmp/listen_stub.go | 0 .../golang.org/x/net/icmp/message.go | 10 +- .../golang.org/x/net/icmp/messagebody.go | 2 +- .../golang.org/x/net/icmp/mpls.go | 0 .../golang.org/x/net/icmp/multipart.go | 4 +- .../golang.org/x/net/icmp/packettoobig.go | 0 .../golang.org/x/net/icmp/paramprob.go | 6 +- .../golang.org/x/net/icmp/sys_freebsd.go | 0 .../golang.org/x/net/icmp/timeexceeded.go | 2 +- .../golang.org/x/net/internal/iana/const.go | 2 +- .../golang.org/x/net/internal/iana/gen.go | 0 .../golang.org/x/net/ipv4/control.go | 2 +- .../golang.org/x/net/ipv4/control_bsd.go | 2 +- .../golang.org/x/net/ipv4/control_pktinfo.go | 2 +- .../golang.org/x/net/ipv4/control_stub.go | 0 .../golang.org/x/net/ipv4/control_unix.go | 2 +- .../golang.org/x/net/ipv4/control_windows.go | 0 .../golang.org/x/net/ipv4/defs_darwin.go | 0 .../golang.org/x/net/ipv4/defs_dragonfly.go | 0 .../golang.org/x/net/ipv4/defs_freebsd.go | 0 .../golang.org/x/net/ipv4/defs_linux.go | 0 .../golang.org/x/net/ipv4/defs_netbsd.go | 0 .../golang.org/x/net/ipv4/defs_openbsd.go | 0 .../golang.org/x/net/ipv4/defs_solaris.go | 0 .../golang.org/x/net/ipv4/dgramopt_posix.go | 0 .../golang.org/x/net/ipv4/dgramopt_stub.go | 0 .../golang.org/x/net/ipv4/doc.go | 2 +- .../golang.org/x/net/ipv4/endpoint.go | 0 .../golang.org/x/net/ipv4/gen.go | 2 +- .../golang.org/x/net/ipv4/genericopt_posix.go | 0 .../golang.org/x/net/ipv4/genericopt_stub.go | 0 .../golang.org/x/net/ipv4/header.go | 11 +- .../golang.org/x/net/ipv4/helper.go | 5 + .../golang.org/x/net/ipv4/helper_stub.go | 0 .../golang.org/x/net/ipv4/helper_unix.go | 0 .../golang.org/x/net/ipv4/helper_windows.go | 0 .../golang.org/x/net/ipv4/iana.go | 0 .../golang.org/x/net/ipv4/icmp.go | 2 +- .../golang.org/x/net/ipv4/icmp_linux.go | 0 .../golang.org/x/net/ipv4/icmp_stub.go | 0 .../golang.org/x/net/ipv4/packet.go | 0 .../golang.org/x/net/ipv4/payload.go | 0 .../golang.org/x/net/ipv4/payload_cmsg.go | 0 .../golang.org/x/net/ipv4/payload_nocmsg.go | 0 .../golang.org/x/net/ipv4/sockopt.go | 0 .../golang.org/x/net/ipv4/sockopt_asmreq.go | 0 .../x/net/ipv4/sockopt_asmreq_stub.go | 0 .../x/net/ipv4/sockopt_asmreq_unix.go | 2 +- .../x/net/ipv4/sockopt_asmreq_windows.go | 2 +- .../x/net/ipv4/sockopt_asmreqn_stub.go | 0 .../x/net/ipv4/sockopt_asmreqn_unix.go | 2 +- .../x/net/ipv4/sockopt_ssmreq_stub.go | 0 .../x/net/ipv4/sockopt_ssmreq_unix.go | 2 +- .../golang.org/x/net/ipv4/sockopt_stub.go | 0 .../golang.org/x/net/ipv4/sockopt_unix.go | 2 +- .../golang.org/x/net/ipv4/sockopt_windows.go | 2 +- .../golang.org/x/net/ipv4/sys_bsd.go | 0 .../golang.org/x/net/ipv4/sys_darwin.go | 0 .../golang.org/x/net/ipv4/sys_freebsd.go | 0 .../golang.org/x/net/ipv4/sys_linux.go | 0 .../golang.org/x/net/ipv4/sys_openbsd.go | 0 .../golang.org/x/net/ipv4/sys_stub.go | 0 .../golang.org/x/net/ipv4/sys_windows.go | 0 .../x/net/ipv4/syscall_linux_386.go | 0 .../golang.org/x/net/ipv4/syscall_unix.go | 0 .../golang.org/x/net/ipv4/thunk_linux_386.s | 0 .../golang.org/x/net/ipv4/zsys_darwin.go | 0 .../golang.org/x/net/ipv4/zsys_dragonfly.go | 0 .../golang.org/x/net/ipv4/zsys_freebsd_386.go | 0 .../x/net/ipv4/zsys_freebsd_amd64.go | 0 .../golang.org/x/net/ipv4/zsys_freebsd_arm.go | 0 .../golang.org/x/net/ipv4/zsys_linux_386.go | 0 .../golang.org/x/net/ipv4/zsys_linux_amd64.go | 0 .../golang.org/x/net/ipv4/zsys_linux_arm.go | 0 .../golang.org/x/net/ipv4/zsys_linux_arm64.go | 0 .../x/net/ipv4/zsys_linux_mips64.go | 134 + .../x/net/ipv4/zsys_linux_mips64le.go | 134 + .../golang.org/x/net/ipv4/zsys_linux_ppc64.go | 0 .../x/net/ipv4/zsys_linux_ppc64le.go | 0 .../golang.org/x/net/ipv4/zsys_netbsd.go | 0 .../golang.org/x/net/ipv4/zsys_openbsd.go | 0 .../golang.org/x/net/ipv4/zsys_solaris.go | 0 .../golang.org/x/net/ipv6/control.go | 9 +- .../x/net/ipv6/control_rfc2292_unix.go | 2 +- .../x/net/ipv6/control_rfc3542_unix.go | 2 +- .../golang.org/x/net/ipv6/control_stub.go | 0 .../golang.org/x/net/ipv6/control_unix.go | 2 +- .../golang.org/x/net/ipv6/control_windows.go | 0 .../golang.org/x/net/ipv6/defs_darwin.go | 0 .../golang.org/x/net/ipv6/defs_dragonfly.go | 0 .../golang.org/x/net/ipv6/defs_freebsd.go | 0 .../golang.org/x/net/ipv6/defs_linux.go | 0 .../golang.org/x/net/ipv6/defs_netbsd.go | 0 .../golang.org/x/net/ipv6/defs_openbsd.go | 0 .../golang.org/x/net/ipv6/defs_solaris.go | 0 .../golang.org/x/net/ipv6/dgramopt_posix.go | 0 .../golang.org/x/net/ipv6/dgramopt_stub.go | 0 .../golang.org/x/net/ipv6/doc.go | 4 +- .../golang.org/x/net/ipv6/endpoint.go | 0 .../golang.org/x/net/ipv6/gen.go | 2 +- .../golang.org/x/net/ipv6/genericopt_posix.go | 0 .../golang.org/x/net/ipv6/genericopt_stub.go | 0 .../golang.org/x/net/ipv6/header.go | 5 +- .../golang.org/x/net/ipv6/helper.go | 8 +- .../golang.org/x/net/ipv6/helper_stub.go | 0 .../golang.org/x/net/ipv6/helper_unix.go | 0 .../golang.org/x/net/ipv6/helper_windows.go | 0 .../golang.org/x/net/ipv6/iana.go | 0 .../golang.org/x/net/ipv6/icmp.go | 2 +- .../golang.org/x/net/ipv6/icmp_bsd.go | 0 .../golang.org/x/net/ipv6/icmp_linux.go | 0 .../golang.org/x/net/ipv6/icmp_solaris.go | 0 .../golang.org/x/net/ipv6/icmp_stub.go | 0 .../golang.org/x/net/ipv6/icmp_windows.go | 0 .../golang.org/x/net/ipv6/payload.go | 0 .../golang.org/x/net/ipv6/payload_cmsg.go | 0 .../golang.org/x/net/ipv6/payload_nocmsg.go | 0 .../golang.org/x/net/ipv6/sockopt.go | 0 .../x/net/ipv6/sockopt_asmreq_unix.go | 0 .../x/net/ipv6/sockopt_asmreq_windows.go | 0 .../x/net/ipv6/sockopt_ssmreq_stub.go | 0 .../x/net/ipv6/sockopt_ssmreq_unix.go | 0 .../golang.org/x/net/ipv6/sockopt_stub.go | 0 .../golang.org/x/net/ipv6/sockopt_unix.go | 0 .../golang.org/x/net/ipv6/sockopt_windows.go | 0 .../golang.org/x/net/ipv6/sys_bsd.go | 2 +- .../golang.org/x/net/ipv6/sys_darwin.go | 2 +- .../golang.org/x/net/ipv6/sys_freebsd.go | 2 +- .../golang.org/x/net/ipv6/sys_linux.go | 2 +- .../golang.org/x/net/ipv6/sys_stub.go | 0 .../golang.org/x/net/ipv6/sys_windows.go | 2 +- .../x/net/ipv6/syscall_linux_386.go | 0 .../golang.org/x/net/ipv6/syscall_unix.go | 0 .../golang.org/x/net/ipv6/thunk_linux_386.s | 0 .../golang.org/x/net/ipv6/zsys_darwin.go | 0 .../golang.org/x/net/ipv6/zsys_dragonfly.go | 0 .../golang.org/x/net/ipv6/zsys_freebsd_386.go | 0 .../x/net/ipv6/zsys_freebsd_amd64.go | 0 .../golang.org/x/net/ipv6/zsys_freebsd_arm.go | 0 .../golang.org/x/net/ipv6/zsys_linux_386.go | 0 .../golang.org/x/net/ipv6/zsys_linux_amd64.go | 0 .../golang.org/x/net/ipv6/zsys_linux_arm.go | 0 .../golang.org/x/net/ipv6/zsys_linux_arm64.go | 0 .../x/net/ipv6/zsys_linux_mips64.go | 156 + .../x/net/ipv6/zsys_linux_mips64le.go | 156 + .../golang.org/x/net/ipv6/zsys_linux_ppc64.go | 0 .../x/net/ipv6/zsys_linux_ppc64le.go | 0 .../golang.org/x/net/ipv6/zsys_netbsd.go | 0 .../golang.org/x/net/ipv6/zsys_openbsd.go | 0 .../golang.org/x/net/ipv6/zsys_solaris.go | 0 .../golang.org/x/oauth2/AUTHORS | 0 .../golang.org/x/oauth2/CONTRIBUTING.md | 0 .../golang.org/x/oauth2/CONTRIBUTORS | 0 .../golang.org/x/oauth2/LICENSE | 0 .../golang.org/x/oauth2/README.md | 2 +- .../golang.org/x/oauth2/client_appengine.go | 11 +- .../golang.org/x/oauth2/google/appengine.go | 9 +- .../x/oauth2/google/appengine_hook.go | 6 +- .../x/oauth2/google/appenginevm_hook.go | 2 +- .../golang.org/x/oauth2/google/default.go | 21 +- .../golang.org/x/oauth2/google/google.go | 12 +- .../golang.org/x/oauth2/google/jwt.go | 8 +- .../golang.org/x/oauth2/google/sdk.go | 8 +- .../golang.org/x/oauth2/internal/oauth2.go | 9 +- .../golang.org/x/oauth2/internal/token.go | 33 +- .../golang.org/x/oauth2/internal/transport.go | 12 +- .../golang.org/x/oauth2/jws/jws.go | 60 +- .../golang.org/x/oauth2/jwt/jwt.go | 16 +- .../golang.org/x/oauth2/oauth2.go | 268 +- .../golang.org/x/oauth2/token.go | 66 +- .../golang.org/x/oauth2/transport.go | 8 +- .../golang.org/x/sys/unix/asm.s | 0 .../golang.org/x/sys/unix/asm_darwin_386.s | 0 .../golang.org/x/sys/unix/asm_darwin_amd64.s | 0 .../golang.org/x/sys/unix/asm_darwin_arm.s | 0 .../golang.org/x/sys/unix/asm_darwin_arm64.s | 0 .../golang.org/x/sys/unix/asm_dragonfly_386.s | 0 .../x/sys/unix/asm_dragonfly_amd64.s | 0 .../golang.org/x/sys/unix/asm_freebsd_386.s | 0 .../golang.org/x/sys/unix/asm_freebsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_freebsd_arm.s | 0 .../golang.org/x/sys/unix/asm_linux_386.s | 0 .../golang.org/x/sys/unix/asm_linux_amd64.s | 0 .../golang.org/x/sys/unix/asm_linux_arm.s | 0 .../golang.org/x/sys/unix/asm_linux_arm64.s | 0 .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 0 .../golang.org/x/sys/unix/asm_netbsd_386.s | 0 .../golang.org/x/sys/unix/asm_netbsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_netbsd_arm.s | 0 .../golang.org/x/sys/unix/asm_openbsd_386.s | 0 .../golang.org/x/sys/unix/asm_openbsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_solaris_amd64.s | 0 .../golang.org/x/sys/unix/constants.go | 0 .../golang.org/x/sys/unix/env_unix.go | 0 .../golang.org/x/sys/unix/env_unset.go | 0 .../golang.org/x/sys/unix/flock.go | 0 .../x/sys/unix/flock_linux_32bit.go | 0 .../golang.org/x/sys/unix/gccgo.go | 0 .../golang.org/x/sys/unix/gccgo_c.c | 0 .../x/sys/unix/gccgo_linux_amd64.go | 0 .../golang.org/x/sys/unix/mkall.sh | 0 .../golang.org/x/sys/unix/mkerrors.sh | 20 +- .../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 | 0 .../golang.org/x/sys/unix/mksysnum_linux.pl | 0 .../golang.org/x/sys/unix/mksysnum_netbsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_openbsd.pl | 0 .../golang.org/x/sys/unix/race.go | 0 .../golang.org/x/sys/unix/race0.go | 0 .../golang.org/x/sys/unix/sockcmsg_linux.go | 0 .../golang.org/x/sys/unix/sockcmsg_unix.go | 6 +- .../golang.org/x/sys/unix/str.go | 0 .../golang.org/x/sys/unix/syscall.go | 2 +- .../golang.org/x/sys/unix/syscall_bsd.go | 79 +- .../golang.org/x/sys/unix/syscall_darwin.go | 0 .../x/sys/unix/syscall_darwin_386.go | 0 .../x/sys/unix/syscall_darwin_amd64.go | 0 .../x/sys/unix/syscall_darwin_arm.go | 0 .../x/sys/unix/syscall_darwin_arm64.go | 0 .../x/sys/unix/syscall_dragonfly.go | 0 .../x/sys/unix/syscall_dragonfly_386.go | 0 .../x/sys/unix/syscall_dragonfly_amd64.go | 0 .../golang.org/x/sys/unix/syscall_freebsd.go | 0 .../x/sys/unix/syscall_freebsd_386.go | 0 .../x/sys/unix/syscall_freebsd_amd64.go | 0 .../x/sys/unix/syscall_freebsd_arm.go | 0 .../golang.org/x/sys/unix/syscall_linux.go | 2 +- .../x/sys/unix/syscall_linux_386.go | 0 .../x/sys/unix/syscall_linux_amd64.go | 0 .../x/sys/unix/syscall_linux_arm.go | 0 .../x/sys/unix/syscall_linux_arm64.go | 0 .../x/sys/unix/syscall_linux_ppc64x.go | 0 .../golang.org/x/sys/unix/syscall_netbsd.go | 0 .../x/sys/unix/syscall_netbsd_386.go | 0 .../x/sys/unix/syscall_netbsd_amd64.go | 0 .../x/sys/unix/syscall_netbsd_arm.go | 0 .../golang.org/x/sys/unix/syscall_no_getwd.go | 0 .../golang.org/x/sys/unix/syscall_openbsd.go | 0 .../x/sys/unix/syscall_openbsd_386.go | 0 .../x/sys/unix/syscall_openbsd_amd64.go | 0 .../golang.org/x/sys/unix/syscall_solaris.go | 0 .../x/sys/unix/syscall_solaris_amd64.go | 0 .../golang.org/x/sys/unix/syscall_unix.go | 0 .../golang.org/x/sys/unix/types_darwin.go | 0 .../golang.org/x/sys/unix/types_dragonfly.go | 0 .../golang.org/x/sys/unix/types_freebsd.go | 0 .../golang.org/x/sys/unix/types_linux.go | 11 +- .../golang.org/x/sys/unix/types_netbsd.go | 0 .../golang.org/x/sys/unix/types_openbsd.go | 0 .../golang.org/x/sys/unix/types_solaris.go | 0 .../x/sys/unix/zerrors_darwin_386.go | 0 .../x/sys/unix/zerrors_darwin_amd64.go | 0 .../x/sys/unix/zerrors_darwin_arm.go | 0 .../x/sys/unix/zerrors_darwin_arm64.go | 0 .../x/sys/unix/zerrors_dragonfly_386.go | 0 .../x/sys/unix/zerrors_dragonfly_amd64.go | 0 .../x/sys/unix/zerrors_freebsd_386.go | 0 .../x/sys/unix/zerrors_freebsd_amd64.go | 0 .../x/sys/unix/zerrors_freebsd_arm.go | 0 .../x/sys/unix/zerrors_linux_386.go | 56 + .../x/sys/unix/zerrors_linux_amd64.go | 56 + .../x/sys/unix/zerrors_linux_arm.go | 165 + .../x/sys/unix/zerrors_linux_arm64.go | 53 + .../x/sys/unix/zerrors_linux_ppc64.go | 47 + .../x/sys/unix/zerrors_linux_ppc64le.go | 47 + .../x/sys/unix/zerrors_netbsd_386.go | 0 .../x/sys/unix/zerrors_netbsd_amd64.go | 0 .../x/sys/unix/zerrors_netbsd_arm.go | 0 .../x/sys/unix/zerrors_openbsd_386.go | 0 .../x/sys/unix/zerrors_openbsd_amd64.go | 0 .../x/sys/unix/zerrors_solaris_amd64.go | 0 .../x/sys/unix/zsyscall_darwin_386.go | 0 .../x/sys/unix/zsyscall_darwin_amd64.go | 0 .../x/sys/unix/zsyscall_darwin_arm.go | 0 .../x/sys/unix/zsyscall_darwin_arm64.go | 0 .../x/sys/unix/zsyscall_dragonfly_386.go | 0 .../x/sys/unix/zsyscall_dragonfly_amd64.go | 0 .../x/sys/unix/zsyscall_freebsd_386.go | 0 .../x/sys/unix/zsyscall_freebsd_amd64.go | 0 .../x/sys/unix/zsyscall_freebsd_arm.go | 0 .../x/sys/unix/zsyscall_linux_386.go | 10 + .../x/sys/unix/zsyscall_linux_amd64.go | 10 + .../x/sys/unix/zsyscall_linux_arm.go | 10 + .../x/sys/unix/zsyscall_linux_arm64.go | 10 + .../x/sys/unix/zsyscall_linux_ppc64.go | 10 + .../x/sys/unix/zsyscall_linux_ppc64le.go | 10 + .../x/sys/unix/zsyscall_netbsd_386.go | 0 .../x/sys/unix/zsyscall_netbsd_amd64.go | 0 .../x/sys/unix/zsyscall_netbsd_arm.go | 0 .../x/sys/unix/zsyscall_openbsd_386.go | 0 .../x/sys/unix/zsyscall_openbsd_amd64.go | 0 .../x/sys/unix/zsyscall_solaris_amd64.go | 0 .../golang.org/x/sys/unix/zsysctl_openbsd.go | 0 .../x/sys/unix/zsysnum_darwin_386.go | 0 .../x/sys/unix/zsysnum_darwin_amd64.go | 0 .../x/sys/unix/zsysnum_darwin_arm.go | 0 .../x/sys/unix/zsysnum_darwin_arm64.go | 0 .../x/sys/unix/zsysnum_dragonfly_386.go | 0 .../x/sys/unix/zsysnum_dragonfly_amd64.go | 0 .../x/sys/unix/zsysnum_freebsd_386.go | 0 .../x/sys/unix/zsysnum_freebsd_amd64.go | 0 .../x/sys/unix/zsysnum_freebsd_arm.go | 0 .../x/sys/unix/zsysnum_linux_386.go | 0 .../x/sys/unix/zsysnum_linux_amd64.go | 0 .../x/sys/unix/zsysnum_linux_arm.go | 0 .../x/sys/unix/zsysnum_linux_arm64.go | 0 .../x/sys/unix/zsysnum_linux_ppc64.go | 0 .../x/sys/unix/zsysnum_linux_ppc64le.go | 0 .../x/sys/unix/zsysnum_netbsd_386.go | 0 .../x/sys/unix/zsysnum_netbsd_amd64.go | 0 .../x/sys/unix/zsysnum_netbsd_arm.go | 0 .../x/sys/unix/zsysnum_openbsd_386.go | 0 .../x/sys/unix/zsysnum_openbsd_amd64.go | 0 .../x/sys/unix/zsysnum_solaris_amd64.go | 0 .../x/sys/unix/ztypes_darwin_386.go | 0 .../x/sys/unix/ztypes_darwin_amd64.go | 0 .../x/sys/unix/ztypes_darwin_arm.go | 0 .../x/sys/unix/ztypes_darwin_arm64.go | 0 .../x/sys/unix/ztypes_dragonfly_386.go | 0 .../x/sys/unix/ztypes_dragonfly_amd64.go | 0 .../x/sys/unix/ztypes_freebsd_386.go | 0 .../x/sys/unix/ztypes_freebsd_amd64.go | 0 .../x/sys/unix/ztypes_freebsd_arm.go | 0 .../golang.org/x/sys/unix/ztypes_linux_386.go | 20 +- .../x/sys/unix/ztypes_linux_amd64.go | 20 +- .../golang.org/x/sys/unix/ztypes_linux_arm.go | 122 +- .../x/sys/unix/ztypes_linux_arm64.go | 20 +- .../x/sys/unix/ztypes_linux_ppc64.go | 20 +- .../x/sys/unix/ztypes_linux_ppc64le.go | 20 +- .../x/sys/unix/ztypes_netbsd_386.go | 0 .../x/sys/unix/ztypes_netbsd_amd64.go | 0 .../x/sys/unix/ztypes_netbsd_arm.go | 0 .../x/sys/unix/ztypes_openbsd_386.go | 0 .../x/sys/unix/ztypes_openbsd_amd64.go | 0 .../x/sys/unix/ztypes_solaris_amd64.go | 0 .../golang.org/x/sys/windows/asm.s | 0 .../x/sys/windows/asm_windows_386.s | 0 .../x/sys/windows/asm_windows_amd64.s | 0 .../golang.org/x/sys/windows/dll_windows.go | 0 .../golang.org/x/sys/windows/env_unset.go | 0 .../golang.org/x/sys/windows/env_windows.go | 0 .../golang.org/x/sys/windows/eventlog.go | 0 .../golang.org/x/sys/windows/exec_windows.go | 0 .../golang.org/x/sys/windows/race.go | 0 .../golang.org/x/sys/windows/race0.go | 0 .../golang.org/x/sys/windows/registry/key.go | 0 .../x/sys/windows/registry/syscall.go | 0 .../x/sys/windows/registry/value.go | 0 .../sys/windows/registry/zsyscall_windows.go | 0 .../x/sys/windows/security_windows.go | 0 .../golang.org/x/sys/windows/service.go | 0 .../golang.org/x/sys/windows/str.go | 0 .../golang.org/x/sys/windows/svc/debug/log.go | 0 .../x/sys/windows/svc/debug/service.go | 2 +- .../golang.org/x/sys/windows/svc/event.go | 2 +- .../x/sys/windows/svc/eventlog/install.go | 4 +- .../x/sys/windows/svc/eventlog/log.go | 2 +- .../golang.org/x/sys/windows/svc/go12.c | 0 .../golang.org/x/sys/windows/svc/go12.go | 0 .../golang.org/x/sys/windows/svc/go13.go | 0 .../x/sys/windows/svc/mgr/config.go | 2 +- .../golang.org/x/sys/windows/svc/mgr/mgr.go | 2 +- .../x/sys/windows/svc/mgr/service.go | 4 +- .../golang.org/x/sys/windows/svc/security.go | 2 +- .../golang.org/x/sys/windows/svc/service.go | 2 +- .../golang.org/x/sys/windows/svc/sys_386.s | 0 .../golang.org/x/sys/windows/svc/sys_amd64.s | 0 .../golang.org/x/sys/windows/syscall.go | 2 +- .../x/sys/windows/syscall_windows.go | 0 .../x/sys/windows/zsyscall_windows.go | 0 .../x/sys/windows/ztypes_windows.go | 0 .../x/sys/windows/ztypes_windows_386.go | 0 .../x/sys/windows/ztypes_windows_amd64.go | 0 .../ledisdb/vendor => vendor}/gomdb/LICENSE | 0 .../ledisdb/vendor => vendor}/gomdb/README.md | 0 .../ledisdb/vendor => vendor}/gomdb/cursor.go | 0 .../ledisdb/vendor => vendor}/gomdb/env.go | 0 .../ledisdb/vendor => vendor}/gomdb/lmdb.h | 0 .../ledisdb/vendor => vendor}/gomdb/mdb.c | 0 .../ledisdb/vendor => vendor}/gomdb/mdb.go | 0 .../ledisdb/vendor => vendor}/gomdb/midl.c | 0 .../ledisdb/vendor => vendor}/gomdb/midl.h | 0 .../ledisdb/vendor => vendor}/gomdb/txn.go | 0 .../ledisdb/vendor => vendor}/gomdb/val.go | 0 .../api/analytics/v3/analytics-api.json | 54 +- .../api/analytics/v3/analytics-gen.go | 3217 +- .../api/gensupport/backoff.go | 46 + .../api/gensupport/buffer.go | 77 + .../google.golang.org/api/gensupport/doc.go | 10 + .../google.golang.org/api/gensupport}/json.go | 3 +- .../google.golang.org/api/gensupport/media.go | 198 + .../api/gensupport/params.go | 50 + .../api/gensupport/resumable.go | 231 + .../api/googleapi/googleapi.go | 320 +- .../googleapi/internal/uritemplates/LICENSE | 0 .../internal/uritemplates/uritemplates.go | 0 .../googleapi/internal/uritemplates/utils.go | 0 .../google.golang.org/api/googleapi/types.go | 0 .../cloud/compute/metadata/metadata.go | 147 +- .../google.golang.org/cloud/internal/cloud.go | 6 +- .../gopkg.in/fsnotify.v1/AUTHORS | 8 +- .../gopkg.in/fsnotify.v1/CHANGELOG.md | 24 +- .../gopkg.in/fsnotify.v1/CONTRIBUTING.md | 0 .../gopkg.in/fsnotify.v1/LICENSE | 0 .../gopkg.in/fsnotify.v1/README.md | 13 +- .../gopkg.in/fsnotify.v1/fsnotify.go | 0 .../gopkg.in/fsnotify.v1/inotify.go | 26 +- .../gopkg.in/fsnotify.v1/inotify_poller.go | 2 +- .../gopkg.in/fsnotify.v1/kqueue.go | 121 +- .../gopkg.in/fsnotify.v1/open_mode_bsd.go | 0 .../gopkg.in/fsnotify.v1/open_mode_darwin.go | 0 .../gopkg.in/fsnotify.v1/windows.go | 0 .../olivere/elastic.v3/CHANGELOG-3.0.md | 25 +- .../olivere/elastic.v3/CONTRIBUTING.md | 40 + .../gopkg.in/olivere/elastic.v3}/CONTRIBUTORS | 12 + .../gopkg.in/olivere/elastic.v3/LICENSE | 0 .../gopkg.in/olivere/elastic.v3/README.md | 7 +- .../olivere/elastic.v3/backoff}/LICENSE | 4 +- .../olivere/elastic.v3/backoff/backoff.go | 159 + .../olivere/elastic.v3/backoff/retry.go | 53 + .../gopkg.in/olivere/elastic.v3/bulk.go | 15 +- .../olivere/elastic.v3/bulk_delete_request.go | 0 .../olivere/elastic.v3/bulk_index_request.go | 0 .../olivere/elastic.v3/bulk_processor.go | 515 + .../olivere/elastic.v3/bulk_request.go | 0 .../olivere/elastic.v3/bulk_update_request.go | 0 .../olivere/elastic.v3/canonicalize.go | 0 .../olivere/elastic.v3/clear_scroll.go | 0 .../gopkg.in/olivere/elastic.v3/client.go | 122 +- .../olivere/elastic.v3/cluster_health.go | 2 +- .../olivere/elastic.v3/cluster_state.go | 2 +- .../olivere/elastic.v3/cluster_stats.go | 2 +- .../gopkg.in/olivere/elastic.v3/connection.go | 0 .../gopkg.in/olivere/elastic.v3/count.go | 2 +- .../gopkg.in/olivere/elastic.v3/decoder.go | 0 .../gopkg.in/olivere/elastic.v3/delete.go | 2 +- .../olivere/elastic.v3/delete_by_query.go | 2 +- .../olivere/elastic.v3/delete_template.go | 2 +- .../gopkg.in/olivere/elastic.v3/doc.go | 0 .../gopkg.in/olivere/elastic.v3/errors.go | 6 - .../gopkg.in/olivere/elastic.v3/exists.go | 2 +- .../gopkg.in/olivere/elastic.v3/explain.go | 2 +- .../elastic.v3/fetch_source_context.go | 0 .../gopkg.in/olivere/elastic.v3/geo_point.go | 0 .../gopkg.in/olivere/elastic.v3/get.go | 2 +- .../olivere/elastic.v3/get_template.go | 2 +- .../gopkg.in/olivere/elastic.v3/highlight.go | 0 .../gopkg.in/olivere/elastic.v3/index.go | 2 +- .../olivere/elastic.v3/indices_close.go | 2 +- .../olivere/elastic.v3/indices_create.go | 2 +- .../olivere/elastic.v3/indices_delete.go | 2 +- .../elastic.v3/indices_delete_template.go | 2 +- .../elastic.v3/indices_delete_warmer.go | 2 +- .../olivere/elastic.v3/indices_exists.go | 2 +- .../elastic.v3/indices_exists_template.go | 2 +- .../olivere/elastic.v3/indices_exists_type.go | 2 +- .../olivere/elastic.v3/indices_flush.go | 2 +- .../olivere/elastic.v3/indices_forcemerge.go | 2 +- .../olivere/elastic.v3/indices_get.go | 2 +- .../olivere/elastic.v3/indices_get_aliases.go | 2 +- .../olivere/elastic.v3/indices_get_mapping.go | 2 +- .../elastic.v3/indices_get_settings.go | 2 +- .../elastic.v3/indices_get_template.go | 2 +- .../olivere/elastic.v3/indices_get_warmer.go | 2 +- .../olivere/elastic.v3/indices_open.go | 2 +- .../olivere/elastic.v3/indices_put_alias.go | 0 .../olivere/elastic.v3/indices_put_mapping.go | 2 +- .../elastic.v3/indices_put_settings.go | 184 + .../elastic.v3/indices_put_template.go | 2 +- .../olivere/elastic.v3/indices_put_warmer.go | 2 +- .../olivere/elastic.v3/indices_refresh.go | 2 +- .../olivere/elastic.v3/indices_stats.go | 2 +- .../gopkg.in/olivere/elastic.v3/inner_hit.go | 0 vendor/gopkg.in/olivere/elastic.v3/logger.go | 10 + .../gopkg.in/olivere/elastic.v3/mget.go | 0 .../gopkg.in/olivere/elastic.v3/msearch.go | 0 .../gopkg.in/olivere/elastic.v3/nodes_info.go | 2 +- .../gopkg.in/olivere/elastic.v3/optimize.go | 2 +- .../gopkg.in/olivere/elastic.v3/percolate.go | 2 +- .../gopkg.in/olivere/elastic.v3/ping.go | 0 .../gopkg.in/olivere/elastic.v3/plugins.go | 0 .../gopkg.in/olivere/elastic.v3/query.go | 0 .../gopkg.in/olivere/elastic.v3/reindexer.go | 0 vendor/gopkg.in/olivere/elastic.v3/request.go | 123 + .../gopkg.in/olivere/elastic.v3/rescore.go | 0 .../gopkg.in/olivere/elastic.v3/rescorer.go | 0 .../gopkg.in/olivere/elastic.v3/response.go | 0 .../gopkg.in/olivere/elastic.v3/scan.go | 2 +- .../gopkg.in/olivere/elastic.v3/script.go | 0 .../gopkg.in/olivere/elastic.v3/scroll.go | 2 +- .../gopkg.in/olivere/elastic.v3/search.go | 2 +- .../olivere/elastic.v3/search_aggs.go | 15 + .../elastic.v3/search_aggs_bucket_children.go | 8 +- .../search_aggs_bucket_date_histogram.go | 10 + .../search_aggs_bucket_date_range.go | 0 .../elastic.v3/search_aggs_bucket_filter.go | 0 .../elastic.v3/search_aggs_bucket_filters.go | 0 .../search_aggs_bucket_geo_distance.go | 0 .../elastic.v3/search_aggs_bucket_global.go | 0 .../search_aggs_bucket_histogram.go | 10 + .../elastic.v3/search_aggs_bucket_missing.go | 0 .../elastic.v3/search_aggs_bucket_nested.go | 0 .../elastic.v3/search_aggs_bucket_range.go | 10 + .../elastic.v3/search_aggs_bucket_sampler.go | 145 + .../search_aggs_bucket_significant_terms.go | 0 .../elastic.v3/search_aggs_bucket_terms.go | 10 + .../elastic.v3/search_aggs_metrics_avg.go | 0 .../search_aggs_metrics_cardinality.go | 0 .../search_aggs_metrics_extended_stats.go | 0 .../search_aggs_metrics_geo_bounds.go | 0 .../elastic.v3/search_aggs_metrics_max.go | 0 .../elastic.v3/search_aggs_metrics_min.go | 0 .../search_aggs_metrics_percentile_ranks.go | 0 .../search_aggs_metrics_percentiles.go | 0 .../elastic.v3/search_aggs_metrics_stats.go | 0 .../elastic.v3/search_aggs_metrics_sum.go | 0 .../search_aggs_metrics_top_hits.go | 0 .../search_aggs_metrics_value_count.go | 0 .../search_aggs_pipeline_avg_bucket.go | 0 .../search_aggs_pipeline_bucket_script.go | 0 .../search_aggs_pipeline_bucket_selector.go | 0 .../search_aggs_pipeline_cumulative_sum.go | 0 .../search_aggs_pipeline_derivative.go | 0 .../search_aggs_pipeline_max_bucket.go | 0 .../search_aggs_pipeline_min_bucket.go | 0 .../search_aggs_pipeline_mov_avg.go | 0 .../search_aggs_pipeline_serial_diff.go | 0 .../search_aggs_pipeline_sum_bucket.go | 0 .../olivere/elastic.v3/search_queries_bool.go | 0 .../elastic.v3/search_queries_boosting.go | 0 .../elastic.v3/search_queries_common_terms.go | 0 .../search_queries_constant_score.go | 0 .../elastic.v3/search_queries_dis_max.go | 0 .../elastic.v3/search_queries_exists.go | 0 .../olivere/elastic.v3/search_queries_fsq.go | 0 .../search_queries_fsq_score_funcs.go | 0 .../elastic.v3/search_queries_fuzzy.go | 0 .../search_queries_geo_bounding_box.go | 0 .../elastic.v3/search_queries_geo_distance.go | 0 .../elastic.v3/search_queries_geo_polygon.go | 0 .../elastic.v3/search_queries_has_child.go | 0 .../elastic.v3/search_queries_has_parent.go | 0 .../olivere/elastic.v3/search_queries_ids.go | 0 .../elastic.v3/search_queries_indices.go | 0 .../elastic.v3/search_queries_match.go | 0 .../elastic.v3/search_queries_match_all.go | 0 .../elastic.v3/search_queries_missing.go | 0 .../search_queries_more_like_this.go | 0 .../elastic.v3/search_queries_multi_match.go | 0 .../elastic.v3/search_queries_nested.go | 0 .../olivere/elastic.v3/search_queries_not.go | 0 .../elastic.v3/search_queries_prefix.go | 0 .../elastic.v3/search_queries_query_string.go | 0 .../elastic.v3/search_queries_range.go | 0 .../elastic.v3/search_queries_regexp.go | 0 .../elastic.v3/search_queries_script.go | 0 .../search_queries_simple_query_string.go | 0 .../search_queries_template_query.go | 0 .../olivere/elastic.v3/search_queries_term.go | 0 .../elastic.v3/search_queries_terms.go | 0 .../olivere/elastic.v3/search_queries_type.go | 0 .../elastic.v3/search_queries_wildcard.go | 0 .../olivere/elastic.v3/search_request.go | 0 .../olivere/elastic.v3/search_source.go | 0 .../olivere/elastic.v3/search_template.go | 2 +- .../gopkg.in/olivere/elastic.v3/sort.go | 0 .../gopkg.in/olivere/elastic.v3/suggest.go | 2 +- .../olivere/elastic.v3/suggest_field.go | 0 .../gopkg.in/olivere/elastic.v3/suggester.go | 0 .../elastic.v3/suggester_completion.go | 0 .../elastic.v3/suggester_completion_fuzzy.go | 0 .../olivere/elastic.v3/suggester_context.go | 0 .../elastic.v3/suggester_context_category.go | 0 .../elastic.v3/suggester_context_geo.go | 0 .../olivere/elastic.v3/suggester_phrase.go | 0 .../olivere/elastic.v3/suggester_term.go | 0 .../olivere/elastic.v3/termvectors.go | 2 +- .../gopkg.in/olivere/elastic.v3/update.go | 2 +- .../olivere/elastic.v3/uritemplates/LICENSE | 0 .../elastic.v3/uritemplates/uritemplates.go | 0 .../olivere/elastic.v3/uritemplates/utils.go | 0 .../gopkg.in/yaml.v1/LICENSE | 0 .../gopkg.in/yaml.v1/LICENSE.libyaml | 0 .../gopkg.in/yaml.v1/README.md | 0 .../gopkg.in/yaml.v1/apic.go | 0 .../gopkg.in/yaml.v1/decode.go | 0 .../gopkg.in/yaml.v1/emitterc.go | 0 .../gopkg.in/yaml.v1/encode.go | 0 .../gopkg.in/yaml.v1/parserc.go | 0 .../gopkg.in/yaml.v1/readerc.go | 0 .../gopkg.in/yaml.v1/resolve.go | 0 .../gopkg.in/yaml.v1/scannerc.go | 0 .../gopkg.in/yaml.v1/sorter.go | 0 .../gopkg.in/yaml.v1/writerc.go | 0 .../gopkg.in/yaml.v1/yaml.go | 0 .../gopkg.in/yaml.v1/yamlh.go | 2 +- .../gopkg.in/yaml.v1/yamlprivateh.go | 0 .../ledisdb/vendor => vendor}/lua/LICENSE | 0 .../ledisdb/vendor => vendor}/lua/c-golua.c | 0 .../ledisdb/vendor => vendor}/lua/golua.go | 0 .../ledisdb/vendor => vendor}/lua/golua.h | 0 .../vendor => vendor}/lua/golua_license | 0 .../ledisdb/vendor => vendor}/lua/lauxlib.go | 0 .../ledisdb/vendor => vendor}/lua/lua.go | 0 .../ledisdb/vendor => vendor}/lua/lua_cjson.c | 0 .../vendor => vendor}/lua/lua_cmsgpack.c | 0 .../ledisdb/vendor => vendor}/lua/lua_defs.go | 0 .../vendor => vendor}/lua/lua_struct.c | 0 .../ledisdb/vendor => vendor}/lua/strbuf.c | 0 .../ledisdb/vendor => vendor}/lua/strbuf.h | 0 vendor/vendor.json | 785 + 2489 files changed, 58671 insertions(+), 203411 deletions(-) delete mode 100644 _third_party/README delete mode 100644 _third_party/github.com/BurntSushi/toml/decode_test.go delete mode 100644 _third_party/github.com/BurntSushi/toml/encode_test.go delete mode 100644 _third_party/github.com/GaryBoone/GoStats/stats/regression_test.go delete mode 100644 _third_party/github.com/GaryBoone/GoStats/stats/stats_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/array_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_array_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_example_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_expand_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_filter_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_iteration_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_property_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_query_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/bench_traversal_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/example_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/expand_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/filter_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/iteration_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/manipulation_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/property_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/query_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/traversal_test.go delete mode 100644 _third_party/github.com/PuerkitoBio/goquery/type_test.go delete mode 100644 _third_party/github.com/StackExchange/httpunit/httpunit_test.go delete mode 100644 _third_party/github.com/StackExchange/mof/mof_test.go delete mode 100644 _third_party/github.com/StackExchange/wmi/wmi_test.go delete mode 100644 _third_party/github.com/andybalholm/cascadia/benchmark_test.go delete mode 100644 _third_party/github.com/andybalholm/cascadia/parser_test.go delete mode 100644 _third_party/github.com/andybalholm/cascadia/selector_test.go delete mode 100644 _third_party/github.com/armon/go-metrics/README.md delete mode 100644 _third_party/github.com/armon/go-metrics/const_unix.go delete mode 100644 _third_party/github.com/armon/go-metrics/const_windows.go delete mode 100644 _third_party/github.com/armon/go-metrics/inmem.go delete mode 100644 _third_party/github.com/armon/go-metrics/inmem_signal.go delete mode 100644 _third_party/github.com/armon/go-metrics/inmem_signal_test.go delete mode 100644 _third_party/github.com/armon/go-metrics/inmem_test.go delete mode 100755 _third_party/github.com/armon/go-metrics/metrics.go delete mode 100755 _third_party/github.com/armon/go-metrics/metrics_test.go delete mode 100755 _third_party/github.com/armon/go-metrics/sink.go delete mode 100755 _third_party/github.com/armon/go-metrics/sink_test.go delete mode 100755 _third_party/github.com/armon/go-metrics/start.go delete mode 100755 _third_party/github.com/armon/go-metrics/start_test.go delete mode 100644 _third_party/github.com/armon/go-metrics/statsd.go delete mode 100644 _third_party/github.com/armon/go-metrics/statsd_test.go delete mode 100755 _third_party/github.com/armon/go-metrics/statsite.go delete mode 100755 _third_party/github.com/armon/go-metrics/statsite_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/awsutil/copy_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/awsutil/path_value_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/config_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/convert_types_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/corehandlers/param_validator_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/chain_provider_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/credentials_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/env_provider_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/credentials/static_provider_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/defaults/defaults.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/ec2metadata/api_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/errors.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/request/handlers_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/request/request_pagination_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/request/request_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/service/service.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/service/serviceinfo/service_info.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/aws/types_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/endpoints/endpoints.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/endpoints/endpoints_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/protocol/ec2query/build_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/protocol/ec2query/unmarshal_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/protocol/query/build_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/protocol/query/unmarshal.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/protocol/query/unmarshal_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/signer/v4/functional_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/internal/signer/v4/v4_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/cloudwatch/examples_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/ec2/customizations.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/ec2/customizations_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/ec2/examples_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/ec2/service.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/elb/examples_test.go delete mode 100644 _third_party/github.com/aws/aws-sdk-go/service/elb/service.go delete mode 100644 _third_party/github.com/aymerick/douceur/inliner/inliner_test.go delete mode 100644 _third_party/github.com/aymerick/douceur/inliner/style_rule_test.go delete mode 100644 _third_party/github.com/aymerick/douceur/parser/parser_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/batch_benchmark_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/batch_example_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/batch_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/bolt_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/bolt_windows.go delete mode 100644 _third_party/github.com/boltdb/bolt/bucket_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/cursor_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/db_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/freelist_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/node_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/page_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/quick_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/simulation_test.go delete mode 100644 _third_party/github.com/boltdb/bolt/tx_test.go delete mode 100644 _third_party/github.com/bradfitz/slice/slice_test.go delete mode 100644 _third_party/github.com/coreos/go-systemd/dbus/dbus_test.go delete mode 100644 _third_party/github.com/coreos/go-systemd/dbus/methods_test.go delete mode 100644 _third_party/github.com/coreos/go-systemd/dbus/set_test.go delete mode 100644 _third_party/github.com/coreos/go-systemd/dbus/subscription_set_test.go delete mode 100644 _third_party/github.com/coreos/go-systemd/dbus/subscription_test.go delete mode 100644 _third_party/github.com/cupcake/rdb/decoder_test.go delete mode 100644 _third_party/github.com/cupcake/rdb/encoder_test.go delete mode 100644 _third_party/github.com/edsrzf/mmap-go/mmap_test.go delete mode 100644 _third_party/github.com/facebookgo/httpcontrol/example_test.go delete mode 100644 _third_party/github.com/facebookgo/httpcontrol/httpcontrol_test.go delete mode 100644 _third_party/github.com/facebookgo/httpcontrol/internal_test.go delete mode 100644 _third_party/github.com/facebookgo/pqueue/pqueue.go delete mode 100644 _third_party/github.com/facebookgo/pqueue/pqueue_test.go delete mode 100644 _third_party/github.com/facebookgo/pqueue/readme.md delete mode 100644 _third_party/github.com/garyburd/redigo/internal/commandinfo_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/conn_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/pool_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/pubsub_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/reply_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/scan_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/script_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/test_test.go delete mode 100644 _third_party/github.com/garyburd/redigo/redis/zpop_example_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/com_func_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/com_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/connect_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/connect_windows_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/go-get.go delete mode 100644 _third_party/github.com/go-ole/go-ole/idispatch.go delete mode 100644 _third_party/github.com/go-ole/go-ole/idispatch_windows_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/iunknown_windows_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/safearray_test.go delete mode 100644 _third_party/github.com/go-ole/go-ole/safearrayconversion_test.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/eavesdrop.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/introspect.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/list-names.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/notification.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/prop.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/server.go delete mode 100644 _third_party/github.com/godbus/dbus/_examples/signal.go delete mode 100644 _third_party/github.com/godbus/dbus/conn_test.go delete mode 100644 _third_party/github.com/godbus/dbus/encoder_test.go delete mode 100644 _third_party/github.com/godbus/dbus/examples_test.go delete mode 100644 _third_party/github.com/godbus/dbus/export_test.go delete mode 100644 _third_party/github.com/godbus/dbus/introspect/call.go delete mode 100644 _third_party/github.com/godbus/dbus/introspect/introspect.go delete mode 100644 _third_party/github.com/godbus/dbus/introspect/introspectable.go delete mode 100644 _third_party/github.com/godbus/dbus/prop/prop.go delete mode 100644 _third_party/github.com/godbus/dbus/proto_test.go delete mode 100644 _third_party/github.com/godbus/dbus/sig_test.go delete mode 100644 _third_party/github.com/godbus/dbus/transport_unix_test.go delete mode 100644 _third_party/github.com/godbus/dbus/variant_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/all_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/clone_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/equal_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/extensions_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/message_set_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/proto3_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/size2_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/size_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/text_parser_test.go delete mode 100644 _third_party/github.com/gogo/protobuf/proto/text_test.go delete mode 100644 _third_party/github.com/golang/freetype/freetype_test.go delete mode 100644 _third_party/github.com/golang/freetype/truetype/face_test.go delete mode 100644 _third_party/github.com/golang/freetype/truetype/hint_test.go delete mode 100644 _third_party/github.com/golang/freetype/truetype/truetype_test.go delete mode 100644 _third_party/github.com/golang/glog/glog_test.go delete mode 100644 _third_party/github.com/golang/groupcache/lru/lru_test.go delete mode 100644 _third_party/github.com/golang/groupcache/singleflight/singleflight_test.go delete mode 100644 _third_party/github.com/golang/snappy/snappy_test.go delete mode 100644 _third_party/github.com/google/cadvisor/client/README.md delete mode 100644 _third_party/github.com/google/cadvisor/client/client_test.go delete mode 100644 _third_party/github.com/google/cadvisor/info/v1/container_test.go delete mode 100644 _third_party/github.com/google/go-github/github/activity_events_test.go delete mode 100644 _third_party/github.com/google/go-github/github/activity_notifications_test.go delete mode 100644 _third_party/github.com/google/go-github/github/activity_star_test.go delete mode 100644 _third_party/github.com/google/go-github/github/activity_watching_test.go delete mode 100644 _third_party/github.com/google/go-github/github/gists_comments_test.go delete mode 100644 _third_party/github.com/google/go-github/github/gists_test.go delete mode 100644 _third_party/github.com/google/go-github/github/git_blobs_test.go delete mode 100644 _third_party/github.com/google/go-github/github/git_commits_test.go delete mode 100644 _third_party/github.com/google/go-github/github/git_refs_test.go delete mode 100644 _third_party/github.com/google/go-github/github/git_tags_test.go delete mode 100644 _third_party/github.com/google/go-github/github/git_trees_test.go delete mode 100644 _third_party/github.com/google/go-github/github/github_test.go delete mode 100644 _third_party/github.com/google/go-github/github/gitignore_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_assignees_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_comments_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_events_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_labels_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_milestones_test.go delete mode 100644 _third_party/github.com/google/go-github/github/issues_test.go delete mode 100644 _third_party/github.com/google/go-github/github/licenses_test.go delete mode 100644 _third_party/github.com/google/go-github/github/misc_test.go delete mode 100644 _third_party/github.com/google/go-github/github/orgs_hooks_test.go delete mode 100644 _third_party/github.com/google/go-github/github/orgs_members_test.go delete mode 100644 _third_party/github.com/google/go-github/github/orgs_teams_test.go delete mode 100644 _third_party/github.com/google/go-github/github/orgs_test.go delete mode 100644 _third_party/github.com/google/go-github/github/pulls_comments_test.go delete mode 100644 _third_party/github.com/google/go-github/github/pulls_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_collaborators_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_comments_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_commits_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_contents_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_deployments_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_forks_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_hooks_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_keys_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_merging_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_pages_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_releases_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_stats_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_statuses_test.go delete mode 100644 _third_party/github.com/google/go-github/github/repos_test.go delete mode 100644 _third_party/github.com/google/go-github/github/search_test.go delete mode 100644 _third_party/github.com/google/go-github/github/strings_test.go delete mode 100644 _third_party/github.com/google/go-github/github/timestamp_test.go delete mode 100644 _third_party/github.com/google/go-github/github/users_administration_test.go delete mode 100644 _third_party/github.com/google/go-github/github/users_emails_test.go delete mode 100644 _third_party/github.com/google/go-github/github/users_followers_test.go delete mode 100644 _third_party/github.com/google/go-github/github/users_keys_test.go delete mode 100644 _third_party/github.com/google/go-github/github/users_test.go delete mode 100644 _third_party/github.com/google/go-querystring/query/encode_test.go delete mode 100644 _third_party/github.com/gorilla/context/context_test.go delete mode 100644 _third_party/github.com/gorilla/css/scanner/scanner_test.go delete mode 100644 _third_party/github.com/gorilla/mux/bench_test.go delete mode 100644 _third_party/github.com/gorilla/mux/mux_test.go delete mode 100644 _third_party/github.com/gorilla/mux/old_test.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/0doc.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/README.md delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/bench_test.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/binc.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/codecs_test.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/decode.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/encode.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/ext_dep_test.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/helper.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/helper_internal.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/msgpack.go delete mode 100755 _third_party/github.com/hashicorp/go-msgpack/codec/msgpack_test.py delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/rpc.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/simple.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/time.go delete mode 100644 _third_party/github.com/hashicorp/go-msgpack/codec/z_helper_test.go delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/LICENSE delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/README.md delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/bench_test.go delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/bolt_store.go delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/bolt_store_test.go delete mode 100644 _third_party/github.com/hashicorp/raft-boltdb/util.go delete mode 100644 _third_party/github.com/hashicorp/raft/LICENSE delete mode 100644 _third_party/github.com/hashicorp/raft/Makefile delete mode 100644 _third_party/github.com/hashicorp/raft/README.md delete mode 100644 _third_party/github.com/hashicorp/raft/commands.go delete mode 100644 _third_party/github.com/hashicorp/raft/config.go delete mode 100644 _third_party/github.com/hashicorp/raft/discard_snapshot.go delete mode 100644 _third_party/github.com/hashicorp/raft/discard_snapshot_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/file_snapshot.go delete mode 100644 _third_party/github.com/hashicorp/raft/file_snapshot_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/fsm.go delete mode 100644 _third_party/github.com/hashicorp/raft/future.go delete mode 100644 _third_party/github.com/hashicorp/raft/inflight.go delete mode 100644 _third_party/github.com/hashicorp/raft/inflight_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/inmem_store.go delete mode 100644 _third_party/github.com/hashicorp/raft/inmem_transport.go delete mode 100644 _third_party/github.com/hashicorp/raft/inmem_transport_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/integ_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/log.go delete mode 100644 _third_party/github.com/hashicorp/raft/log_cache.go delete mode 100644 _third_party/github.com/hashicorp/raft/log_cache_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/net_transport.go delete mode 100644 _third_party/github.com/hashicorp/raft/net_transport_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/peer.go delete mode 100644 _third_party/github.com/hashicorp/raft/peer_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/raft.go delete mode 100644 _third_party/github.com/hashicorp/raft/raft_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/replication.go delete mode 100644 _third_party/github.com/hashicorp/raft/snapshot.go delete mode 100644 _third_party/github.com/hashicorp/raft/stable.go delete mode 100644 _third_party/github.com/hashicorp/raft/state.go delete mode 100644 _third_party/github.com/hashicorp/raft/tcp_transport.go delete mode 100644 _third_party/github.com/hashicorp/raft/tcp_transport_test.go delete mode 100644 _third_party/github.com/hashicorp/raft/transport.go delete mode 100644 _third_party/github.com/hashicorp/raft/util.go delete mode 100644 _third_party/github.com/hashicorp/raft/util_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/CHANGELOG.md delete mode 100644 _third_party/github.com/influxdb/influxdb/CONTRIBUTING.md delete mode 100644 _third_party/github.com/influxdb/influxdb/DOCKER.md delete mode 100644 _third_party/github.com/influxdb/influxdb/Dockerfile delete mode 100644 _third_party/github.com/influxdb/influxdb/Dockerfile_test_ubuntu32 delete mode 100644 _third_party/github.com/influxdb/influxdb/LICENSE delete mode 100644 _third_party/github.com/influxdb/influxdb/LICENSE_OF_DEPENDENCIES.md delete mode 100644 _third_party/github.com/influxdb/influxdb/QUERIES.md delete mode 100644 _third_party/github.com/influxdb/influxdb/README.md delete mode 100644 _third_party/github.com/influxdb/influxdb/balancer.go delete mode 100644 _third_party/github.com/influxdb/influxdb/balancer_test.go delete mode 100755 _third_party/github.com/influxdb/influxdb/build-docker.sh delete mode 100755 _third_party/github.com/influxdb/influxdb/circle-test.sh delete mode 100644 _third_party/github.com/influxdb/influxdb/circle.yml delete mode 100644 _third_party/github.com/influxdb/influxdb/client/README.md delete mode 100644 _third_party/github.com/influxdb/influxdb/client/example_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/client/influxdb_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/errors.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/INFLUXQL.md delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/NOTES delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/ast_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/functions.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/functions_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/parser_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxql/scanner_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/influxvar.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/config.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/config_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/data.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/data_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/errors.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/internal/meta.pb.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/internal/meta.proto delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/proxy.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/rpc.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/rpc_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/state.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/statement_executor.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/statement_executor_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/store.go delete mode 100644 _third_party/github.com/influxdb/influxdb/meta/store_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/models/points_test.go delete mode 100755 _third_party/github.com/influxdb/influxdb/nightly.sh delete mode 100755 _third_party/github.com/influxdb/influxdb/package.sh delete mode 100644 _third_party/github.com/influxdb/influxdb/snapshot/snapshot.go delete mode 100644 _third_party/github.com/influxdb/influxdb/snapshot/snapshot_test.go delete mode 100755 _third_party/github.com/influxdb/influxdb/test-32bit-docker.sh delete mode 100644 _third_party/github.com/influxdb/influxdb/toml/toml.go delete mode 100644 _third_party/github.com/influxdb/influxdb/toml/toml_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/README.md delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/batcher.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/batcher_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/config.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/cursor.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/cursor_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/doc.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/engine.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/engine_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/executor.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/executor_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/functions.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/functions_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/internal/meta.pb.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/internal/meta.proto delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/mapper.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/mapper_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/meta.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/meta_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/monitor.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/points.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/points_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/query_executor.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/query_executor_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/shard.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/shard_test.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/show_measurements.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/show_tag_keys.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/snapshot_writer.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/store.go delete mode 100644 _third_party/github.com/influxdb/influxdb/tsdb/store_test.go delete mode 100644 _third_party/github.com/jmoiron/jsonq/jsonq_test.go delete mode 100644 _third_party/github.com/jordan-wright/email/email_test.go delete mode 100644 _third_party/github.com/llgcode/draw2d/draw2dbase/curve_test.go delete mode 100644 _third_party/github.com/llgcode/draw2d/samples_test.go delete mode 100644 _third_party/github.com/llgcode/draw2d/test_test.go delete mode 100644 _third_party/github.com/olivere/elastic/alias_test.go delete mode 100644 _third_party/github.com/olivere/elastic/aliases_test.go delete mode 100644 _third_party/github.com/olivere/elastic/bulk_delete_request_test.go delete mode 100644 _third_party/github.com/olivere/elastic/bulk_index_request_test.go delete mode 100644 _third_party/github.com/olivere/elastic/bulk_test.go delete mode 100644 _third_party/github.com/olivere/elastic/bulk_update_request_test.go delete mode 100644 _third_party/github.com/olivere/elastic/canonicalize_test.go delete mode 100644 _third_party/github.com/olivere/elastic/clear_scroll_test.go delete mode 100644 _third_party/github.com/olivere/elastic/client_test.go delete mode 100644 _third_party/github.com/olivere/elastic/cluster_health_test.go delete mode 100644 _third_party/github.com/olivere/elastic/cluster_state_test.go delete mode 100644 _third_party/github.com/olivere/elastic/cluster_stats_test.go delete mode 100644 _third_party/github.com/olivere/elastic/count.go delete mode 100644 _third_party/github.com/olivere/elastic/count_test.go delete mode 100644 _third_party/github.com/olivere/elastic/decoder_test.go delete mode 100644 _third_party/github.com/olivere/elastic/delete_by_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/delete_mapping_test.go delete mode 100644 _third_party/github.com/olivere/elastic/delete_test.go delete mode 100644 _third_party/github.com/olivere/elastic/errors_test.go delete mode 100644 _third_party/github.com/olivere/elastic/example_test.go delete mode 100644 _third_party/github.com/olivere/elastic/exists_test.go delete mode 100644 _third_party/github.com/olivere/elastic/explain_test.go delete mode 100644 _third_party/github.com/olivere/elastic/fetch_source_context_test.go delete mode 100644 _third_party/github.com/olivere/elastic/flush_test.go delete mode 100644 _third_party/github.com/olivere/elastic/geo_point_test.go delete mode 100644 _third_party/github.com/olivere/elastic/get_mapping_test.go delete mode 100644 _third_party/github.com/olivere/elastic/get_template_test.go delete mode 100644 _third_party/github.com/olivere/elastic/get_test.go delete mode 100644 _third_party/github.com/olivere/elastic/highlight_test.go delete mode 100644 _third_party/github.com/olivere/elastic/index_get_settings_test.go delete mode 100644 _third_party/github.com/olivere/elastic/index_get_test.go delete mode 100644 _third_party/github.com/olivere/elastic/index_test.go delete mode 100644 _third_party/github.com/olivere/elastic/indices_exists_template_test.go delete mode 100644 _third_party/github.com/olivere/elastic/indices_exists_type_test.go delete mode 100644 _third_party/github.com/olivere/elastic/indices_get_template_test.go delete mode 100644 _third_party/github.com/olivere/elastic/indices_stats_test.go delete mode 100644 _third_party/github.com/olivere/elastic/inner_hit_test.go delete mode 100644 _third_party/github.com/olivere/elastic/multi_get_test.go delete mode 100644 _third_party/github.com/olivere/elastic/multi_search_test.go delete mode 100644 _third_party/github.com/olivere/elastic/nodes_info_test.go delete mode 100644 _third_party/github.com/olivere/elastic/optimize_test.go delete mode 100644 _third_party/github.com/olivere/elastic/percolate_test.go delete mode 100644 _third_party/github.com/olivere/elastic/ping_test.go delete mode 100644 _third_party/github.com/olivere/elastic/put_mapping_test.go delete mode 100644 _third_party/github.com/olivere/elastic/refresh_test.go delete mode 100644 _third_party/github.com/olivere/elastic/reindexer_test.go delete mode 100644 _third_party/github.com/olivere/elastic/request.go delete mode 100644 _third_party/github.com/olivere/elastic/scan_test.go delete mode 100644 _third_party/github.com/olivere/elastic/scroll_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_avg_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_cardinality_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_children_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_date_histogram_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_date_range_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_extended_stats_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_filter_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_filters_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_geo_bounds_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_geo_distance_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_global_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_histogram_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_max_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_min_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_missing_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_nested_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_percentile_ranks_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_percentiles_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_range_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_significant_terms_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_stats_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_sum_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_terms_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_tophits_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_aggs_value_count_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_date_histogram_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_filter_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_geo_distance_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_histogram_script_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_histogram_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_range_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_statistical_script_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_statistical_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_terms_stats_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_terms_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_facets_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_and_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_bool_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_exists_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_geo_distance_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_geo_polygon_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_has_child_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_has_parent_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_ids_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_limit_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_match_all_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_missing_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_nested_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_not_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_or_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_prefix_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_range_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_regexp_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_term_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_terms_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_filters_type_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_bool_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_boosting_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_common_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_fsq_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_fuzzy_like_this_field_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_fuzzy_like_this_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_fuzzy_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_has_child_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_has_parent_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_ids_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_match_all_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_match_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_more_like_this_field_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_more_like_this_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_multi_match_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_nested_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_prefix_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_query_string_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_range_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_regexp_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_simple_query_string_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_template_query_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_term_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_terms_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_queries_wildcard_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_request_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_source_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_suggester_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_templates_test.go delete mode 100644 _third_party/github.com/olivere/elastic/search_test.go delete mode 100644 _third_party/github.com/olivere/elastic/sort_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggest_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_completion_fuzzy_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_completion_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_context_category_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_context_geo_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_phrase_test.go delete mode 100644 _third_party/github.com/olivere/elastic/suggester_term_test.go delete mode 100644 _third_party/github.com/olivere/elastic/update_test.go delete mode 100644 _third_party/github.com/olivere/elastic/uritemplates/utils_test.go delete mode 100644 _third_party/github.com/siddontang/go/bson/bson_test.go delete mode 100644 _third_party/github.com/siddontang/go/filelock/file_lock_test.go delete mode 100644 _third_party/github.com/siddontang/go/hack/hack_test.go delete mode 100644 _third_party/github.com/siddontang/go/ioutil2/sectionwriter_test.go delete mode 100644 _third_party/github.com/siddontang/go/log/log_test.go delete mode 100644 _third_party/github.com/siddontang/go/num/num_test.go delete mode 100644 _third_party/github.com/siddontang/go/snappy/snappy_test.go delete mode 100644 _third_party/github.com/siddontang/go/sync2/atomic_test.go delete mode 100644 _third_party/github.com/siddontang/go/sync2/semaphore_test.go delete mode 100644 _third_party/github.com/siddontang/goredis/goredis_test.go delete mode 100644 _third_party/github.com/siddontang/goredis/resp_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/config/config_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/dump_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/ledis_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/migrate_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/multi_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/replication_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/scan_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/sort_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_bit_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_hash_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_kv_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_list_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_set_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_ttl_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/t_zset_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/ledis/tx_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/rpl/file_table_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/rpl/log_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/rpl/rpl_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/rpl/store_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/rpl/table_readers_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/app_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/client_http_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_bit_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_hash_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_kv_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_list_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_migrate_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_replication_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_scan_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_script_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_server_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_set_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_sort_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_ttl_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/cmd_zset_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/script_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/server/snapshot_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/store/slice.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/store/store_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/store/tx_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/bench_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/env_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/error_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/example_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/mdb_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/gomdb/val_test.go delete mode 100644 _third_party/github.com/siddontang/ledisdb/vendor/lua/lua_test.go delete mode 100644 _third_party/github.com/siddontang/rdb/loader_test.go delete mode 100644 _third_party/github.com/siddontang/rdb/rdb_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/batch_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/bench2_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/bench_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/cache/bench2_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/cache/cache_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/corrupt_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/db_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/external_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/filter/bloom_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/iterator/array_iter_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/iterator/iter_suite_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/journal/journal_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/key_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/leveldb_suite_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/memdb/bench_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/memdb/memdb_suite_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/memdb/memdb_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/session_record_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/storage/file_storage_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/storage/mem_storage_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/storage_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/table/block_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/table/table_suite_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/table/table_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/testutil_test.go delete mode 100644 _third_party/github.com/syndtr/goleveldb/leveldb/util/buffer_test.go delete mode 100644 _third_party/github.com/tatsushid/go-fastping/fastping_test.go delete mode 100644 _third_party/github.com/ugorji/go/codec/cbor_test.go delete mode 100644 _third_party/github.com/ugorji/go/codec/codec_test.go delete mode 100644 _third_party/github.com/ugorji/go/codec/codecgen_test.go delete mode 100644 _third_party/github.com/ugorji/go/codec/gen-dec-array.go.tmpl delete mode 100644 _third_party/github.com/ugorji/go/codec/gen-dec-map.go.tmpl delete mode 100644 _third_party/github.com/ugorji/go/codec/gen.generated.go delete mode 100644 _third_party/github.com/ugorji/go/codec/helper_test.go delete mode 100644 _third_party/github.com/ugorji/go/codec/py_test.go delete mode 100755 _third_party/github.com/ugorji/go/codec/tests.sh delete mode 100644 _third_party/github.com/ugorji/go/codec/values_test.go delete mode 100644 _third_party/github.com/vaughan0/go-ini/LICENSE delete mode 100644 _third_party/github.com/vaughan0/go-ini/README.md delete mode 100644 _third_party/github.com/vaughan0/go-ini/ini.go delete mode 100644 _third_party/github.com/vaughan0/go-ini/ini_linux_test.go delete mode 100644 _third_party/github.com/vaughan0/go-ini/ini_test.go delete mode 100644 _third_party/github.com/vaughan0/go-ini/test.ini delete mode 100644 _third_party/github.com/vdobler/chart/graphics_test.go delete mode 100644 _third_party/github.com/vdobler/chart/imgg/image_test.go delete mode 100644 _third_party/github.com/vdobler/chart/style_test.go delete mode 100644 _third_party/github.com/vdobler/chart/time_test.go delete mode 100644 _third_party/golang.org/x/crypto/bcrypt/base64.go delete mode 100644 _third_party/golang.org/x/crypto/bcrypt/bcrypt.go delete mode 100644 _third_party/golang.org/x/crypto/bcrypt/bcrypt_test.go delete mode 100644 _third_party/golang.org/x/crypto/blowfish/block.go delete mode 100644 _third_party/golang.org/x/crypto/blowfish/blowfish_test.go delete mode 100644 _third_party/golang.org/x/crypto/blowfish/cipher.go delete mode 100644 _third_party/golang.org/x/crypto/blowfish/const.go delete mode 100644 _third_party/golang.org/x/image/draw/example_test.go delete mode 100644 _third_party/golang.org/x/image/draw/scale_test.go delete mode 100644 _third_party/golang.org/x/image/draw/stdlib_test.go delete mode 100644 _third_party/golang.org/x/image/math/fixed/fixed_test.go delete mode 100644 _third_party/golang.org/x/net/context/context_test.go delete mode 100644 _third_party/golang.org/x/net/context/ctxhttp/ctxhttp_test.go delete mode 100644 _third_party/golang.org/x/net/context/withtimeout_test.go delete mode 100644 _third_party/golang.org/x/net/html/atom/atom_test.go delete mode 100644 _third_party/golang.org/x/net/html/atom/table_test.go delete mode 100644 _third_party/golang.org/x/net/html/entity_test.go delete mode 100644 _third_party/golang.org/x/net/html/escape_test.go delete mode 100644 _third_party/golang.org/x/net/html/example_test.go delete mode 100644 _third_party/golang.org/x/net/html/node_test.go delete mode 100644 _third_party/golang.org/x/net/html/parse_test.go delete mode 100644 _third_party/golang.org/x/net/html/render_test.go delete mode 100644 _third_party/golang.org/x/net/html/token_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/example_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/extension_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/ipv4_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/message_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/multipart_test.go delete mode 100644 _third_party/golang.org/x/net/icmp/ping_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/example_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/header_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/icmp_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/mocktransponder_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/multicast_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/multicastlistener_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/multicastsockopt_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/readwrite_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/unicast_test.go delete mode 100644 _third_party/golang.org/x/net/ipv4/unicastsockopt_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/example_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/header_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/icmp_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/mocktransponder_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/multicast_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/multicastlistener_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/multicastsockopt_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/readwrite_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/sockopt_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/unicast_test.go delete mode 100644 _third_party/golang.org/x/net/ipv6/unicastsockopt_test.go delete mode 100644 _third_party/golang.org/x/oauth2/example_test.go delete mode 100644 _third_party/golang.org/x/oauth2/google/example_test.go delete mode 100644 _third_party/golang.org/x/oauth2/google/google_test.go delete mode 100644 _third_party/golang.org/x/oauth2/google/sdk_test.go delete mode 100644 _third_party/golang.org/x/oauth2/internal/oauth2_test.go delete mode 100644 _third_party/golang.org/x/oauth2/internal/token_test.go delete mode 100644 _third_party/golang.org/x/oauth2/jwt/example_test.go delete mode 100644 _third_party/golang.org/x/oauth2/jwt/jwt_test.go delete mode 100644 _third_party/golang.org/x/oauth2/oauth2_test.go delete mode 100644 _third_party/golang.org/x/oauth2/token_test.go delete mode 100644 _third_party/golang.org/x/oauth2/transport_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/creds_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/export_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/mmap_unix_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/syscall_bsd_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/syscall_test.go delete mode 100644 _third_party/golang.org/x/sys/unix/syscall_unix_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/registry/export_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/registry/registry_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/svc/eventlog/log_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/svc/mgr/mgr_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/svc/svc_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/syscall_test.go delete mode 100644 _third_party/golang.org/x/sys/windows/syscall_windows_test.go delete mode 100644 _third_party/google.golang.org/api/googleapi/googleapi_test.go delete mode 100644 _third_party/google.golang.org/api/googleapi/types_test.go delete mode 100644 _third_party/google.golang.org/api/internal/json_test.go delete mode 100644 _third_party/google.golang.org/cloud/compute/metadata/go13.go delete mode 100644 _third_party/gopkg.in/fsnotify.v1/NotUsed.xcworkspace delete mode 100644 _third_party/gopkg.in/fsnotify.v1/circle.yml delete mode 100644 _third_party/gopkg.in/fsnotify.v1/example_test.go delete mode 100644 _third_party/gopkg.in/fsnotify.v1/inotify_poller_test.go delete mode 100644 _third_party/gopkg.in/fsnotify.v1/inotify_test.go delete mode 100644 _third_party/gopkg.in/fsnotify.v1/integration_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/.gitignore delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/.travis.yml delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/CONTRIBUTING.md delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/bulk_delete_request_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/bulk_index_request_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/bulk_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/bulk_update_request_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/canonicalize_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/clear_scroll_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/client_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster-test/Makefile delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster-test/README.md delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster-test/cluster-test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster_health_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster_state_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/cluster_stats_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/config/elasticsearch.yml delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/count_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/decoder_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/delete_by_query_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/delete_template_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/delete_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/errors_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/example_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/exists_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/explain_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/fetch_source_context_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/geo_point_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/get_template_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/get_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/highlight_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/index_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_close_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_create_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_delete_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_delete_warmer_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_exists_template_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_exists_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_exists_type_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_flush_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_forcemerge_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_aliases_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_mapping_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_settings_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_template_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_get_warmer_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_open_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_put_alias_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_put_mapping_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_put_warmer_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_refresh_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/indices_stats_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/inner_hit_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/mget_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/msearch_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/nodes_info_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/optimize_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/percolate_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/ping_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/plugins_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/reindexer_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/scan_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/script_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/scroll_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_children_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_date_histogram_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_date_range_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_filter_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_filters_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_geo_distance_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_global_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_histogram_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_missing_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_nested_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_range_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_significant_terms_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_bucket_terms_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_avg_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_cardinality_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_extended_stats_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_geo_bounds_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_max_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_min_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_percentile_ranks_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_percentiles_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_stats_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_sum_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_top_hits_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_metrics_value_count_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_avg_bucket_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_bucket_script_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_bucket_selector_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_cumulative_sum_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_derivative_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_max_bucket_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_min_bucket_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_mov_avg_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_serial_diff_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_sum_bucket_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_aggs_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_bool_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_boosting_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_common_terms_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_constant_score_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_dis_max_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_exists_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_fsq_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_fuzzy_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_geo_bounding_box_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_geo_distance_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_geo_polygon_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_has_child_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_has_parent_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_ids_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_indices_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_match_all_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_match_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_missing_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_more_like_this_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_multi_match_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_nested_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_not_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_prefix_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_query_string_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_range_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_regexp_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_script_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_simple_query_string_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_template_query_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_term_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_terms_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_type_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_queries_wildcard_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_request_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_source_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_suggester_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_templates_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/search_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/setup_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/sort_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggest_field_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggest_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_completion_fuzzy_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_completion_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_context_category_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_context_geo_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_phrase_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/suggester_term_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/termvectors_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/update_test.go delete mode 100644 _third_party/gopkg.in/olivere/elastic.v3/uritemplates/utils_test.go delete mode 100644 _third_party/gopkg.in/yaml.v1/decode_test.go delete mode 100644 _third_party/gopkg.in/yaml.v1/encode_test.go delete mode 100644 _third_party/gopkg.in/yaml.v1/suite_test.go rename {_third_party => vendor}/github.com/BurntSushi/toml/COMPATIBLE (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/COPYING (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/Makefile (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/README.md (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/decode.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/decode_meta.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/doc.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/encode.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/encoding_types.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/encoding_types_1.1.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/lex.go (99%) rename {_third_party => vendor}/github.com/BurntSushi/toml/parse.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/session.vim (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/type_check.go (100%) rename {_third_party => vendor}/github.com/BurntSushi/toml/type_fields.go (100%) rename {_third_party => vendor}/github.com/GaryBoone/GoStats/stats/regression.go (98%) rename {_third_party => vendor}/github.com/GaryBoone/GoStats/stats/stats.go (98%) rename {_third_party => vendor}/github.com/MiniProfiler/go/miniprofiler/doc.go (100%) rename {_third_party => vendor}/github.com/MiniProfiler/go/miniprofiler/miniprofiler.go (100%) rename {_third_party => vendor}/github.com/MiniProfiler/go/miniprofiler/static.go (100%) rename {_third_party => vendor}/github.com/MiniProfiler/go/miniprofiler/templates.go (100%) rename {_third_party => vendor}/github.com/MiniProfiler/go/miniprofiler/types.go (100%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/LICENSE (100%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/README.md (100%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/array.go (98%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/doc.go (100%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/expand.go (93%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/filter.go (98%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/iteration.go (100%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/manipulation.go (99%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/property.go (99%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/query.go (94%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/traversal.go (99%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/type.go (98%) rename {_third_party => vendor}/github.com/PuerkitoBio/goquery/utilities.go (97%) rename {_third_party => vendor}/github.com/StackExchange/httpunit/LICENSE (100%) rename {_third_party => vendor}/github.com/StackExchange/httpunit/README.md (100%) rename {_third_party => vendor}/github.com/StackExchange/httpunit/httpunit.go (100%) rename {_third_party => vendor}/github.com/StackExchange/httpunit/mk_rpm_fpmdir.httpunit.txt (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/LICENSE (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/README.md (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/ascii.mof (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/lex.go (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/mof.go (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/node.go (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/parse.go (100%) rename {_third_party => vendor}/github.com/StackExchange/mof/utf16-le.mof (100%) rename {_third_party => vendor}/github.com/StackExchange/wmi/LICENSE (100%) rename {_third_party => vendor}/github.com/StackExchange/wmi/README.md (100%) rename {_third_party => vendor}/github.com/StackExchange/wmi/wmi.go (99%) rename {_third_party => vendor}/github.com/ajstarks/svgo/LICENSE (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/README.markdown (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/doc.go (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/gophercolor128x128.png (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/newsvg (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/svg.go (99%) rename {_third_party => vendor}/github.com/ajstarks/svgo/svgdef.pdf (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/svgdef.png (100%) rename {_third_party => vendor}/github.com/ajstarks/svgo/svgdef.svg (100%) rename {_third_party => vendor}/github.com/andybalholm/cascadia/LICENSE (100%) rename {_third_party => vendor}/github.com/andybalholm/cascadia/README.md (100%) rename {_third_party => vendor}/github.com/andybalholm/cascadia/parser.go (99%) rename {_third_party => vendor}/github.com/andybalholm/cascadia/selector.go (99%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/awserr/error.go (78%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/awserr/types.go (68%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/awsutil/copy.go (93%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/awsutil/equal.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go (58%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go (100%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/awsutil/string_value.go create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/client/client.go rename {_third_party/github.com/aws/aws-sdk-go/aws/service => vendor/github.com/aws/aws-sdk-go/aws/client}/default_retryer.go (69%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/client/metadata/client_info.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/config.go (65%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/convert_types.go (100%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go (71%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/corehandlers/param_validator.go (84%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/chain_provider.go (76%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/credentials.go (97%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go (59%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/env_provider.go (85%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/example.ini (69%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go (73%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/credentials/static_provider.go (80%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/ec2metadata/api.go (73%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/errors.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/logger.go (100%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/request/handlers.go (75%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/request/request.go (60%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/request/request_pagination.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/request/retryer.go (80%) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/session/session.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/types.go (97%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/aws/version.go (87%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/endpoints/endpoints.go rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/endpoints/endpoints.json (83%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/endpoints/endpoints_map.go (85%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/ec2query/build.go (60%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/ec2query/unmarshal.go (59%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/protocol/idempotency.go rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/query/build.go (61%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/query/queryutil/queryutil.go (93%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal.go rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/query/unmarshal_error.go (68%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/rest/build.go (63%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/rest/payload.go (89%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/rest/unmarshal.go (86%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/protocol/unmarshal.go rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/xml/xmlutil/build.go (96%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/xml/xmlutil/unmarshal.go (99%) rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/protocol/xml/xmlutil/xml_to_struct.go (100%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/signer/v4/header_rules.go rename {_third_party/github.com/aws/aws-sdk-go/internal => vendor/github.com/aws/aws-sdk-go/private}/signer/v4/v4.go (59%) create mode 100644 vendor/github.com/aws/aws-sdk-go/private/waiter/waiter.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/service/cloudwatch/api.go (91%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/service/cloudwatch/service.go (63%) rename {_third_party => vendor}/github.com/aws/aws-sdk-go/service/ec2/api.go (86%) create mode 100644 vendor/github.com/aws/aws-sdk-go/service/ec2/customizations.go create mode 100644 vendor/github.com/aws/aws-sdk-go/service/ec2/service.go create mode 100644 vendor/github.com/aws/aws-sdk-go/service/ec2/waiters.go rename {_third_party => vendor}/github.com/aws/aws-sdk-go/service/elb/api.go (86%) create mode 100644 vendor/github.com/aws/aws-sdk-go/service/elb/service.go create mode 100644 vendor/github.com/aws/aws-sdk-go/service/elb/waiters.go rename {_third_party => vendor}/github.com/aymerick/douceur/css/declaration.go (100%) rename {_third_party => vendor}/github.com/aymerick/douceur/css/rule.go (100%) rename {_third_party => vendor}/github.com/aymerick/douceur/css/stylesheet.go (100%) rename {_third_party => vendor}/github.com/aymerick/douceur/inliner/element.go (95%) rename {_third_party => vendor}/github.com/aymerick/douceur/inliner/inliner.go (95%) rename {_third_party => vendor}/github.com/aymerick/douceur/inliner/style_declaration.go (90%) rename {_third_party => vendor}/github.com/aymerick/douceur/inliner/style_rule.go (97%) rename {_third_party => vendor}/github.com/aymerick/douceur/parser/parser.go (98%) rename {_third_party => vendor}/github.com/boltdb/bolt/LICENSE (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/Makefile (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/README.md (81%) rename {_third_party => vendor}/github.com/boltdb/bolt/batch.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_386.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_amd64.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_arm.go (100%) create mode 100644 vendor/github.com/boltdb/bolt/bolt_arm64.go rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_linux.go (84%) rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_openbsd.go (96%) create mode 100644 vendor/github.com/boltdb/bolt/bolt_ppc64le.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_s390x.go rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_unix.go (98%) rename {_third_party => vendor}/github.com/boltdb/bolt/bolt_unix_solaris.go (97%) create mode 100644 vendor/github.com/boltdb/bolt/bolt_windows.go rename {_third_party => vendor}/github.com/boltdb/bolt/boltsync_unix.go (90%) rename {_third_party => vendor}/github.com/boltdb/bolt/bucket.go (98%) rename {_third_party => vendor}/github.com/boltdb/bolt/cursor.go (91%) rename {_third_party => vendor}/github.com/boltdb/bolt/db.go (98%) rename {_third_party => vendor}/github.com/boltdb/bolt/doc.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/errors.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/freelist.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/node.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/page.go (100%) rename {_third_party => vendor}/github.com/boltdb/bolt/tx.go (95%) rename {_third_party => vendor}/github.com/bradfitz/slice/COPYING (100%) rename {_third_party => vendor}/github.com/bradfitz/slice/LICENSE (100%) rename {_third_party => vendor}/github.com/bradfitz/slice/README (100%) rename {_third_party => vendor}/github.com/bradfitz/slice/slice.go (100%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/dbus.go (91%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/methods.go (95%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/properties.go (99%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/set.go (100%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/subscription.go (99%) rename {_third_party => vendor}/github.com/coreos/go-systemd/dbus/subscription_set.go (100%) rename {_third_party => vendor}/github.com/cupcake/rdb/LICENCE (100%) rename {_third_party => vendor}/github.com/cupcake/rdb/README.md (100%) rename {_third_party => vendor}/github.com/cupcake/rdb/crc64/crc64.go (100%) rename {_third_party => vendor}/github.com/cupcake/rdb/decoder.go (99%) rename {_third_party => vendor}/github.com/cupcake/rdb/encoder.go (98%) rename {_third_party => vendor}/github.com/cupcake/rdb/nopdecoder/nop_decoder.go (100%) rename {_third_party => vendor}/github.com/cupcake/rdb/slice_buffer.go (100%) rename {_third_party => vendor}/github.com/edsrzf/mmap-go/LICENSE (100%) rename {_third_party => vendor}/github.com/edsrzf/mmap-go/README.md (100%) rename {_third_party => vendor}/github.com/edsrzf/mmap-go/mmap.go (100%) rename {_third_party => vendor}/github.com/edsrzf/mmap-go/mmap_unix.go (100%) rename {_third_party => vendor}/github.com/edsrzf/mmap-go/mmap_windows.go (82%) rename {_third_party => vendor}/github.com/facebookgo/httpcontrol/httpcontrol.go (100%) rename {_third_party => vendor}/github.com/facebookgo/httpcontrol/license (100%) rename {_third_party => vendor}/github.com/facebookgo/httpcontrol/patents (100%) rename {_third_party => vendor}/github.com/facebookgo/httpcontrol/readme.md (100%) rename {_third_party => vendor}/github.com/garyburd/redigo/internal/commandinfo.go (93%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/conn.go (100%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/doc.go (98%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/log.go (100%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/pool.go (98%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/pubsub.go (100%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/redis.go (100%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/reply.go (92%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/scan.go (99%) rename {_third_party => vendor}/github.com/garyburd/redigo/redis/script.go (100%) rename {_third_party/github.com/golang/glog => vendor/github.com/go-ini/ini}/LICENSE (100%) create mode 100644 vendor/github.com/go-ini/ini/README.md create mode 100644 vendor/github.com/go-ini/ini/README_ZH.md create mode 100644 vendor/github.com/go-ini/ini/ini.go create mode 100644 vendor/github.com/go-ini/ini/struct.go rename {_third_party => vendor}/github.com/go-ole/go-ole/ChangeLog.md (97%) rename {_third_party => vendor}/github.com/go-ole/go-ole/README.md (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/appveyor.yml (83%) rename {_third_party => vendor}/github.com/go-ole/go-ole/com.go (99%) rename {_third_party => vendor}/github.com/go-ole/go-ole/com_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/connect.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/constants.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/error.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/error_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/error_windows.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/guid.go (95%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpoint.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpoint_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpoint_windows.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpointcontainer.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpointcontainer_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iconnectionpointcontainer_windows.go (100%) create mode 100644 vendor/github.com/go-ole/go-ole/idispatch.go rename {_third_party => vendor}/github.com/go-ole/go-ole/idispatch_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/idispatch_windows.go (88%) rename {_third_party => vendor}/github.com/go-ole/go-ole/ienumvariant.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/ienumvariant_func.go (68%) rename {_third_party => vendor}/github.com/go-ole/go-ole/ienumvariant_windows.go (91%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iinspectable.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iinspectable_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iinspectable_windows.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iprovideclassinfo.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iprovideclassinfo_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iprovideclassinfo_windows.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/itypeinfo.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/itypeinfo_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/itypeinfo_windows.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iunknown.go (98%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iunknown_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/iunknown_windows.go (86%) rename {_third_party => vendor}/github.com/go-ole/go-ole/ole.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/oleutil/connection.go (97%) rename {_third_party => vendor}/github.com/go-ole/go-ole/oleutil/connection_func.go (80%) rename {_third_party => vendor}/github.com/go-ole/go-ole/oleutil/connection_windows.go (96%) rename {_third_party => vendor}/github.com/go-ole/go-ole/oleutil/go-get.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/oleutil/oleutil.go (66%) rename {_third_party => vendor}/github.com/go-ole/go-ole/safearray.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/safearray_func.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/safearray_windows.go (98%) rename {_third_party => vendor}/github.com/go-ole/go-ole/safearrayconversion.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/safearrayslices.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/utility.go (75%) rename {_third_party => vendor}/github.com/go-ole/go-ole/variables.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/variant.go (93%) rename {_third_party => vendor}/github.com/go-ole/go-ole/variant_386.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/variant_amd64.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/vt_string.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/winrt.go (100%) rename {_third_party => vendor}/github.com/go-ole/go-ole/winrt_doc.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/CONTRIBUTING.md (100%) rename {_third_party => vendor}/github.com/godbus/dbus/LICENSE (100%) rename {_third_party => vendor}/github.com/godbus/dbus/MAINTAINERS (100%) rename {_third_party => vendor}/github.com/godbus/dbus/README.markdown (100%) rename {_third_party => vendor}/github.com/godbus/dbus/auth.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/auth_external.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/auth_sha1.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/call.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/conn.go (97%) rename {_third_party => vendor}/github.com/godbus/dbus/conn_darwin.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/conn_other.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/dbus.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/decoder.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/doc.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/encoder.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/export.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/homedir.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/homedir_dynamic.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/homedir_static.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/message.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/object.go (92%) rename {_third_party => vendor}/github.com/godbus/dbus/sig.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/transport_darwin.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/transport_generic.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/transport_unix.go (99%) rename {_third_party => vendor}/github.com/godbus/dbus/transport_unixcred_dragonfly.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/transport_unixcred_linux.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/variant.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/variant_lexer.go (100%) rename {_third_party => vendor}/github.com/godbus/dbus/variant_parser.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/Makefile (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/clone.go (99%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/decode.go (99%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/decode_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/encode.go (99%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/encode_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/equal.go (99%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/extensions.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/extensions_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/lib.go (99%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/lib_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/message_set.go (86%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/pointer_reflect.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/pointer_unsafe.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/properties.go (95%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/properties_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/skip_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/text.go (94%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/text_gogo.go (100%) rename {_third_party => vendor}/github.com/gogo/protobuf/proto/text_parser.go (96%) rename {_third_party => vendor}/github.com/golang/freetype/AUTHORS (100%) rename {_third_party => vendor}/github.com/golang/freetype/CONTRIBUTORS (100%) rename {_third_party => vendor}/github.com/golang/freetype/LICENSE (100%) rename {_third_party => vendor}/github.com/golang/freetype/README (100%) rename {_third_party => vendor}/github.com/golang/freetype/freetype.go (97%) rename {_third_party => vendor}/github.com/golang/freetype/raster/geom.go (99%) rename {_third_party => vendor}/github.com/golang/freetype/raster/paint.go (100%) rename {_third_party => vendor}/github.com/golang/freetype/raster/raster.go (99%) rename {_third_party => vendor}/github.com/golang/freetype/raster/stroke.go (99%) rename {_third_party => vendor}/github.com/golang/freetype/truetype/face.go (98%) rename {_third_party => vendor}/github.com/golang/freetype/truetype/glyph.go (99%) rename {_third_party => vendor}/github.com/golang/freetype/truetype/hint.go (99%) rename {_third_party => vendor}/github.com/golang/freetype/truetype/opcodes.go (100%) rename {_third_party => vendor}/github.com/golang/freetype/truetype/truetype.go (99%) create mode 100644 vendor/github.com/golang/glog/LICENSE rename {_third_party => vendor}/github.com/golang/glog/README (97%) rename {_third_party => vendor}/github.com/golang/glog/glog.go (100%) rename {_third_party => vendor}/github.com/golang/glog/glog_file.go (100%) rename {_third_party => vendor}/github.com/golang/groupcache/lru/lru.go (100%) rename {_third_party => vendor}/github.com/golang/groupcache/singleflight/singleflight.go (100%) rename {_third_party => vendor}/github.com/golang/snappy/AUTHORS (91%) rename {_third_party => vendor}/github.com/golang/snappy/CONTRIBUTORS (97%) rename {_third_party => vendor}/github.com/golang/snappy/LICENSE (100%) rename {_third_party => vendor}/github.com/golang/snappy/README (100%) rename {_third_party => vendor}/github.com/golang/snappy/decode.go (89%) rename {_third_party => vendor}/github.com/golang/snappy/encode.go (58%) rename {_third_party => vendor}/github.com/golang/snappy/snappy.go (82%) create mode 100644 vendor/github.com/google/cadvisor/client/README.md rename {_third_party => vendor}/github.com/google/cadvisor/client/client.go (77%) rename {_third_party => vendor}/github.com/google/cadvisor/info/v1/container.go (95%) rename {_third_party => vendor}/github.com/google/cadvisor/info/v1/machine.go (98%) rename {_third_party => vendor}/github.com/google/cadvisor/info/v1/metric.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/activity.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/activity_events.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/activity_notifications.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/activity_star.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/activity_watching.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/doc.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/gists.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/gists_comments.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git_blobs.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git_commits.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git_refs.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git_tags.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/git_trees.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/github.go (99%) rename {_third_party => vendor}/github.com/google/go-github/github/gitignore.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/issues.go (97%) rename {_third_party => vendor}/github.com/google/go-github/github/issues_assignees.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/issues_comments.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/issues_events.go (60%) rename {_third_party => vendor}/github.com/google/go-github/github/issues_labels.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/issues_milestones.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/licenses.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/misc.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/orgs.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/orgs_hooks.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/orgs_members.go (97%) rename {_third_party => vendor}/github.com/google/go-github/github/orgs_teams.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/pulls.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/pulls_comments.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_collaborators.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_comments.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_commits.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_contents.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_deployments.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_forks.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_hooks.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_keys.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_merging.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_pages.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_releases.go (92%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_stats.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/repos_statuses.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/search.go (98%) rename {_third_party => vendor}/github.com/google/go-github/github/strings.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/timestamp.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/users.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/users_administration.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/users_emails.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/users_followers.go (100%) rename {_third_party => vendor}/github.com/google/go-github/github/users_keys.go (100%) rename {_third_party => vendor}/github.com/google/go-querystring/query/encode.go (98%) rename {_third_party => vendor}/github.com/gorilla/context/LICENSE (100%) rename {_third_party => vendor}/github.com/gorilla/context/README.md (100%) rename {_third_party => vendor}/github.com/gorilla/context/context.go (100%) rename {_third_party => vendor}/github.com/gorilla/context/doc.go (100%) rename {_third_party => vendor}/github.com/gorilla/css/scanner/doc.go (100%) rename {_third_party => vendor}/github.com/gorilla/css/scanner/scanner.go (100%) rename {_third_party => vendor}/github.com/gorilla/mux/LICENSE (100%) rename {_third_party => vendor}/github.com/gorilla/mux/README.md (100%) rename {_third_party => vendor}/github.com/gorilla/mux/doc.go (100%) rename {_third_party => vendor}/github.com/gorilla/mux/mux.go (96%) rename {_third_party => vendor}/github.com/gorilla/mux/regexp.go (100%) rename {_third_party => vendor}/github.com/gorilla/mux/route.go (100%) create mode 100644 vendor/github.com/influxdata/influxdb/client/README.md rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/client/influxdb.go (89%) create mode 100644 vendor/github.com/influxdata/influxdb/influxql/README.md rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/ast.go (84%) create mode 100644 vendor/github.com/influxdata/influxdb/influxql/call_iterator.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/cast.go rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/doc.go (100%) create mode 100644 vendor/github.com/influxdata/influxdb/influxql/emitter.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/influxql.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/internal/internal.pb.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/internal/internal.proto create mode 100644 vendor/github.com/influxdata/influxdb/influxql/iterator.gen.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/iterator.gen.go.tmpl create mode 100644 vendor/github.com/influxdata/influxdb/influxql/iterator.go rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/parser.go (85%) create mode 100644 vendor/github.com/influxdata/influxdb/influxql/point.gen.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/point.gen.go.tmpl create mode 100644 vendor/github.com/influxdata/influxdb/influxql/point.go rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/result.go (98%) rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/scanner.go (100%) create mode 100644 vendor/github.com/influxdata/influxdb/influxql/select.go create mode 100644 vendor/github.com/influxdata/influxdb/influxql/tmpldata rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/influxql/token.go (60%) rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/models/points.go (72%) rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/models/rows.go (95%) create mode 100644 vendor/github.com/influxdata/influxdb/models/time.go rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/pkg/escape/bytes.go (90%) rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/pkg/escape/strings.go (100%) rename {_third_party/github.com/influxdb => vendor/github.com/influxdata}/influxdb/pkg/slices/strings.go (73%) rename _third_party/github.com/facebookgo/pqueue/license => vendor/github.com/jmespath/go-jmespath/LICENSE (93%) create mode 100644 vendor/github.com/jmespath/go-jmespath/Makefile create mode 100644 vendor/github.com/jmespath/go-jmespath/README.md create mode 100644 vendor/github.com/jmespath/go-jmespath/api.go create mode 100644 vendor/github.com/jmespath/go-jmespath/astnodetype_string.go create mode 100644 vendor/github.com/jmespath/go-jmespath/functions.go create mode 100644 vendor/github.com/jmespath/go-jmespath/interpreter.go create mode 100644 vendor/github.com/jmespath/go-jmespath/lexer.go create mode 100644 vendor/github.com/jmespath/go-jmespath/parser.go create mode 100644 vendor/github.com/jmespath/go-jmespath/toktype_string.go create mode 100644 vendor/github.com/jmespath/go-jmespath/util.go rename {_third_party => vendor}/github.com/jmoiron/jsonq/LICENSE (100%) rename {_third_party => vendor}/github.com/jmoiron/jsonq/README.md (100%) rename {_third_party => vendor}/github.com/jmoiron/jsonq/autotest.sh (100%) rename {_third_party => vendor}/github.com/jmoiron/jsonq/doc.go (100%) rename {_third_party => vendor}/github.com/jmoiron/jsonq/jsonq.go (100%) rename {_third_party => vendor}/github.com/jordan-wright/email/LICENSE (100%) rename {_third_party => vendor}/github.com/jordan-wright/email/README.md (100%) rename {_third_party => vendor}/github.com/jordan-wright/email/email.go (88%) rename {_third_party => vendor}/github.com/kylebrandt/gohop/gohop.go (97%) rename {_third_party => vendor}/github.com/llgcode/draw2d/AUTHORS (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/LICENSE (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/README.md (76%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2d.go (90%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/README.md (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/curve.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/dasher.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/demux_flattener.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/flattener.go (98%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/line.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/stack_gc.go (97%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dbase/stroker.go (97%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/README.md (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/fileutil.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/ftgc.go (96%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/ftpath.go (83%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/rgba_interpolation.go (99%) rename {_third_party => vendor}/github.com/llgcode/draw2d/draw2dimg/text.go (92%) rename {_third_party => vendor}/github.com/llgcode/draw2d/font.go (90%) rename {_third_party => vendor}/github.com/llgcode/draw2d/gc.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/matrix.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/path.go (100%) rename {_third_party => vendor}/github.com/llgcode/draw2d/test (100%) rename {_third_party => vendor}/github.com/olivere/elastic/CONTRIBUTING.md (100%) rename {_third_party/gopkg.in/olivere/elastic.v3 => vendor/github.com/olivere/elastic}/CONTRIBUTORS (88%) rename {_third_party => vendor}/github.com/olivere/elastic/LICENSE (100%) rename {_third_party => vendor}/github.com/olivere/elastic/README.md (90%) rename {_third_party => vendor}/github.com/olivere/elastic/alias.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/aliases.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/bulk.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/bulk_delete_request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/bulk_index_request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/bulk_request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/bulk_update_request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/canonicalize.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/clear_scroll.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/client.go (91%) rename {_third_party => vendor}/github.com/olivere/elastic/cluster_health.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/cluster_state.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/cluster_stats.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/connection.go (100%) create mode 100644 vendor/github.com/olivere/elastic/count.go rename {_third_party => vendor}/github.com/olivere/elastic/create_index.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/decoder.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/delete.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/delete_by_query.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/delete_index.go (94%) rename {_third_party => vendor}/github.com/olivere/elastic/delete_mapping.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/delete_template.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/doc.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/errors.go (82%) rename {_third_party => vendor}/github.com/olivere/elastic/exists.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/explain.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/fetch_source_context.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/filter.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/flush.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/geo_point.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/get.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/get_mapping.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/get_template.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/highlight.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/index.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/index_close.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/index_exists.go (94%) rename {_third_party => vendor}/github.com/olivere/elastic/index_get.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/index_get_settings.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/index_open.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_delete_template.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_exists_template.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_exists_type.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_get_template.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_put_template.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/indices_stats.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/inner_hit.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/multi_get.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/multi_search.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/nodes_info.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/optimize.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/percolate.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/ping.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/put_mapping.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/put_template.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/query.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/refresh.go (96%) rename {_third_party => vendor}/github.com/olivere/elastic/reindexer.go (100%) rename {_third_party/gopkg.in/olivere/elastic.v3 => vendor/github.com/olivere/elastic}/request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/rescore.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/rescorer.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/response.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/scan.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/scroll.go (98%) rename {_third_party => vendor}/github.com/olivere/elastic/search.go (99%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_avg.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_cardinality.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_children.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_date_histogram.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_date_range.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_extended_stats.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_filter.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_filters.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_geo_bounds.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_geo_distance.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_global.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_histogram.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_max.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_min.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_missing.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_nested.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_percentile_ranks.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_percentiles.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_range.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_significant_terms.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_stats.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_sum.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_terms.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_tophits.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_aggs_value_count.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_date_histogram.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_filter.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_geo_distance.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_histogram.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_histogram_script.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_query.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_range.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_statistical.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_statistical_script.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_terms.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_facets_terms_stats.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_and.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_bool.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_exists.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_geo_distance.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_geo_polygon.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_has_child.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_has_parent.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_ids.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_limit.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_match_all.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_missing.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_nested.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_not.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_or.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_prefix.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_query.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_range.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_regexp.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_term.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_terms.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_filters_type.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_bool.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_boosting.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_common.go (100%) create mode 100644 vendor/github.com/olivere/elastic/search_queries_constant_score.go rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_custom_filters_score.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_custom_score.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_dis_max.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_filtered.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_fsq.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_fsq_score_funcs.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_fuzzy.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_fuzzy_like_this.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_fuzzy_like_this_field_query.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_has_child.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_has_parent.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_ids.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_match.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_match_all.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_more_like_this.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_more_like_this_field.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_multi_match.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_nested.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_prefix.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_query_string.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_range.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_regexp.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_simple_query_string.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_template_query.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_term.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_terms.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_queries_wildcard.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_request.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/search_source.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/sort.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggest.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/suggest_field.go (72%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_completion.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_completion_fuzzy.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_context.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_context_category.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_context_geo.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_phrase.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/suggester_term.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/update.go (97%) rename {_third_party => vendor}/github.com/olivere/elastic/uritemplates/LICENSE (100%) rename {_third_party => vendor}/github.com/olivere/elastic/uritemplates/uritemplates.go (100%) rename {_third_party => vendor}/github.com/olivere/elastic/uritemplates/utils.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/bson/LICENSE (100%) rename {_third_party => vendor}/github.com/siddontang/go/bson/bson.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/bson/decode.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/bson/encode.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/filelock/LICENSE (100%) rename {_third_party => vendor}/github.com/siddontang/go/filelock/file_lock_generic.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/filelock/file_lock_solaris.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/filelock/file_lock_unix.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/filelock/file_lock_windows.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/hack/hack.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/ioutil2/ioutil.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/ioutil2/sectionwriter.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/log/doc.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/log/filehandler.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/log/handler.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/log/log.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/log/sockethandler.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/num/bytes.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/num/cmp.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/num/str.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/snappy/LICENSE (100%) rename {_third_party => vendor}/github.com/siddontang/go/snappy/decode.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/snappy/encode.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/snappy/snappy.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/sync2/atomic.go (100%) rename {_third_party => vendor}/github.com/siddontang/go/sync2/semaphore.go (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/LICENSE (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/client.go (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/conn.go (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/doc.go (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/garyburd_license (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/reply.go (100%) rename {_third_party => vendor}/github.com/siddontang/goredis/resp.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/config/config.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/config/config.toml (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/batch.go (92%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/doc.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/dump.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/event.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/ledis.go (92%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/ledis_db.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/migrate.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/multi.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/replication.go (94%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/scan.go (99%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/sort.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_bit.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_hash.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_kv.go (99%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_list.go (83%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_set.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_ttl.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/t_zset.go (99%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/tx.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/ledis/util.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/file_io.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/file_store.go (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/file_table.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/goleveldb_store.go (94%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/log.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/rpl.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/rpl/store.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/accesslog.go (76%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/app.go (86%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/client.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/client_http.go (94%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/client_resp.go (95%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_bit.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_hash.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_kv.go (99%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_list.go (78%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_migrate.go (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_replication.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_scan.go (95%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_script.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_server.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_set.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_sort.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_tx.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/cmd_zset.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/command.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/const.go (95%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/doc.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/info.go (99%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/replication.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/script.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/script_dummy.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/snapshot.go (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/server/util.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/boltdb/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/boltdb/db.go (93%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/boltdb/iterator.go (93%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/boltdb/snapshot.go (81%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/boltdb/tx.go (88%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/db.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/driver/batch.go (94%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/driver/driver.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/driver/slice.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/driver/store.go (91%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/goleveldb/batch.go (90%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/goleveldb/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/goleveldb/db.go (86%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/goleveldb/iterator.go (89%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/goleveldb/snapshot.go (73%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/iterator.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/batch.go (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/cache.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/db.go (97%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/filterpolicy.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/iterator.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/leveldb_ext.cc (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/leveldb_ext.h (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/levigo-license (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/options.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/slice.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/snapshot.go (91%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/leveldb/util.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/mdb/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/mdb/influxdb_license (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/mdb/mdb.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/mdb/snapshot.go (82%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/mdb/tx.go (91%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/batch.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/cache.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/const.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/db.go (98%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/env.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/filterpolicy.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/iterator.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/options.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/rocksdb_ext.cc (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/rocksdb_ext.h (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/slice.go (100%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/snapshot.go (91%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/rocksdb/util.go (100%) create mode 100644 vendor/github.com/siddontang/ledisdb/store/slice.go rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/snapshot.go (91%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/stat.go (94%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/store.go (61%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/tx.go (96%) rename {_third_party => vendor}/github.com/siddontang/ledisdb/store/writebatch.go (94%) rename {_third_party => vendor}/github.com/siddontang/rdb/LICENSE (100%) rename {_third_party => vendor}/github.com/siddontang/rdb/README.md (100%) rename {_third_party => vendor}/github.com/siddontang/rdb/decode.go (95%) rename {_third_party => vendor}/github.com/siddontang/rdb/digest.go (100%) rename {_third_party => vendor}/github.com/siddontang/rdb/encode.go (95%) rename {_third_party => vendor}/github.com/siddontang/rdb/loader.go (100%) rename {_third_party => vendor}/github.com/siddontang/rdb/reader.go (100%) rename {_third_party => vendor}/github.com/siddontang/rdb/wandoujia-license (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/batch.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/cache/cache.go (99%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/cache/lru.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/comparer.go (95%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/comparer/bytes_comparer.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/comparer/comparer.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_compaction.go (99%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_iter.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_snapshot.go (95%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_state.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_util.go (86%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/db_write.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/doc.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/errors.go (88%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/errors/errors.go (93%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/filter.go (90%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/filter/bloom.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/filter/filter.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/iterator/array_iter.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/iterator/iter.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/journal/journal.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/key.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/opt/options.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/options.go (94%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/session.go (93%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/session_compaction.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/session_record.go (99%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/session_util.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go (99%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/file_storage_plan9.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/file_storage_solaris.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/file_storage_unix.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/file_storage_windows.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/mem_storage.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/storage/storage.go (98%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/table.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/table/reader.go (97%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/table/table.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/table/writer.go (96%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util.go (94%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/buffer.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/crc32.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/hash.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/pool.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/pool_legacy.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/range.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/util/util.go (100%) rename {_third_party => vendor}/github.com/syndtr/goleveldb/leveldb/version.go (97%) rename {_third_party => vendor}/github.com/tatsushid/go-fastping/LICENSE (100%) rename {_third_party => vendor}/github.com/tatsushid/go-fastping/README.md (100%) rename {_third_party => vendor}/github.com/tatsushid/go-fastping/fastping.go (99%) rename {_third_party => vendor}/github.com/ugorji/go/codec/0doc.go (66%) rename {_third_party => vendor}/github.com/ugorji/go/codec/README.md (100%) rename {_third_party => vendor}/github.com/ugorji/go/codec/binc.go (91%) rename {_third_party => vendor}/github.com/ugorji/go/codec/cbor.go (87%) rename {_third_party => vendor}/github.com/ugorji/go/codec/decode.go (53%) rename {_third_party => vendor}/github.com/ugorji/go/codec/encode.go (62%) rename {_third_party => vendor}/github.com/ugorji/go/codec/fast-path.generated.go (51%) rename {_third_party => vendor}/github.com/ugorji/go/codec/fast-path.go.tmpl (53%) create mode 100644 vendor/github.com/ugorji/go/codec/fast-path.not.go create mode 100644 vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl create mode 100644 vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl rename {_third_party => vendor}/github.com/ugorji/go/codec/gen-helper.generated.go (89%) rename {_third_party => vendor}/github.com/ugorji/go/codec/gen-helper.go.tmpl (93%) create mode 100644 vendor/github.com/ugorji/go/codec/gen.generated.go rename {_third_party => vendor}/github.com/ugorji/go/codec/gen.go (84%) rename {_third_party => vendor}/github.com/ugorji/go/codec/helper.go (67%) rename {_third_party => vendor}/github.com/ugorji/go/codec/helper_internal.go (61%) rename {_third_party => vendor}/github.com/ugorji/go/codec/helper_not_unsafe.go (100%) rename {_third_party => vendor}/github.com/ugorji/go/codec/helper_unsafe.go (93%) rename {_third_party => vendor}/github.com/ugorji/go/codec/json.go (64%) rename {_third_party => vendor}/github.com/ugorji/go/codec/msgpack.go (90%) rename {_third_party => vendor}/github.com/ugorji/go/codec/noop.go (61%) rename {_third_party => vendor}/github.com/ugorji/go/codec/prebuild.go (100%) rename {_third_party => vendor}/github.com/ugorji/go/codec/prebuild.sh (72%) rename {_third_party => vendor}/github.com/ugorji/go/codec/rpc.go (100%) rename {_third_party => vendor}/github.com/ugorji/go/codec/simple.go (87%) rename {_third_party => vendor}/github.com/ugorji/go/codec/test-cbor-goldens.json (100%) rename {_third_party => vendor}/github.com/ugorji/go/codec/test.py (100%) create mode 100755 vendor/github.com/ugorji/go/codec/tests.sh rename {_third_party => vendor}/github.com/ugorji/go/codec/time.go (86%) rename {_third_party => vendor}/github.com/vdobler/chart/LICENSE (100%) rename {_third_party => vendor}/github.com/vdobler/chart/Makefile (100%) rename {_third_party => vendor}/github.com/vdobler/chart/README.md (100%) rename {_third_party => vendor}/github.com/vdobler/chart/bar.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/box.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/chart.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/data.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/doc.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/graphics.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/hist.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/imgg/font.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/imgg/image.go (95%) rename {_third_party => vendor}/github.com/vdobler/chart/key.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/pie.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/scatter.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/stat.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/strip.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/style.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/svgg/svg.go (99%) rename {_third_party => vendor}/github.com/vdobler/chart/time.go (100%) rename {_third_party => vendor}/github.com/vdobler/chart/util.go (100%) rename {_third_party => vendor}/golang.org/x/image/draw/draw.go (100%) rename {_third_party => vendor}/golang.org/x/image/draw/gen.go (100%) rename {_third_party => vendor}/golang.org/x/image/draw/impl.go (99%) rename {_third_party => vendor}/golang.org/x/image/draw/scale.go (99%) rename {_third_party => vendor}/golang.org/x/image/font/font.go (97%) rename {_third_party => vendor}/golang.org/x/image/math/f64/f64.go (93%) rename {_third_party => vendor}/golang.org/x/image/math/fixed/fixed.go (98%) rename {_third_party => vendor}/golang.org/x/net/context/context.go (98%) rename {_third_party => vendor}/golang.org/x/net/context/ctxhttp/cancelreq.go (86%) rename {_third_party => vendor}/golang.org/x/net/context/ctxhttp/cancelreq_go14.go (100%) rename {_third_party => vendor}/golang.org/x/net/context/ctxhttp/ctxhttp.go (62%) rename {_third_party => vendor}/golang.org/x/net/html/atom/atom.go (96%) rename {_third_party => vendor}/golang.org/x/net/html/atom/gen.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/atom/table.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/const.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/doc.go (97%) rename {_third_party => vendor}/golang.org/x/net/html/doctype.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/entity.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/escape.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/foreign.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/node.go (98%) rename {_third_party => vendor}/golang.org/x/net/html/parse.go (99%) rename {_third_party => vendor}/golang.org/x/net/html/render.go (100%) rename {_third_party => vendor}/golang.org/x/net/html/token.go (99%) rename {_third_party => vendor}/golang.org/x/net/icmp/dstunreach.go (98%) rename {_third_party => vendor}/golang.org/x/net/icmp/echo.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/endpoint.go (96%) rename {_third_party => vendor}/golang.org/x/net/icmp/extension.go (97%) rename {_third_party => vendor}/golang.org/x/net/icmp/helper_posix.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/interface.go (99%) rename {_third_party => vendor}/golang.org/x/net/icmp/ipv4.go (97%) rename {_third_party => vendor}/golang.org/x/net/icmp/ipv6.go (79%) rename {_third_party => vendor}/golang.org/x/net/icmp/listen_posix.go (94%) rename {_third_party => vendor}/golang.org/x/net/icmp/listen_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/message.go (93%) rename {_third_party => vendor}/golang.org/x/net/icmp/messagebody.go (94%) rename {_third_party => vendor}/golang.org/x/net/icmp/mpls.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/multipart.go (96%) rename {_third_party => vendor}/golang.org/x/net/icmp/packettoobig.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/paramprob.go (93%) rename {_third_party => vendor}/golang.org/x/net/icmp/sys_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/icmp/timeexceeded.go (98%) rename {_third_party => vendor}/golang.org/x/net/internal/iana/const.go (99%) rename {_third_party => vendor}/golang.org/x/net/internal/iana/gen.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control.go (95%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control_bsd.go (94%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control_pktinfo.go (93%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control_unix.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv4/control_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_linux.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/defs_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/dgramopt_posix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/dgramopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/doc.go (99%) rename {_third_party => vendor}/golang.org/x/net/ipv4/endpoint.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/gen.go (97%) rename {_third_party => vendor}/golang.org/x/net/ipv4/genericopt_posix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/genericopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/header.go (88%) rename {_third_party => vendor}/golang.org/x/net/ipv4/helper.go (69%) rename {_third_party => vendor}/golang.org/x/net/ipv4/helper_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/helper_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/helper_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/iana.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/icmp.go (96%) rename {_third_party => vendor}/golang.org/x/net/ipv4/icmp_linux.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/icmp_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/packet.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/payload.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/payload_cmsg.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/payload_nocmsg.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreq.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreq_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreq_unix.go (95%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreq_windows.go (95%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreqn_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_asmreqn_unix.go (94%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_ssmreq_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_ssmreq_unix.go (96%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_unix.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sockopt_windows.go (96%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_bsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_linux.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/sys_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/syscall_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/syscall_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/thunk_linux_386.s (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_arm.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_arm64.go (100%) create mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mips64.go create mode 100644 vendor/golang.org/x/net/ipv4/zsys_linux_mips64le.go rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_ppc64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_linux_ppc64le.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv4/zsys_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control.go (89%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control_rfc2292_unix.go (96%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control_rfc3542_unix.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control_unix.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/control_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_linux.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/defs_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/dgramopt_posix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/dgramopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/doc.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/endpoint.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/gen.go (97%) rename {_third_party => vendor}/golang.org/x/net/ipv6/genericopt_posix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/genericopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/header.go (82%) rename {_third_party => vendor}/golang.org/x/net/ipv6/helper.go (65%) rename {_third_party => vendor}/golang.org/x/net/ipv6/helper_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/helper_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/helper_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/iana.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp.go (95%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp_bsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp_linux.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/icmp_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/payload.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/payload_cmsg.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/payload_nocmsg.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_asmreq_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_asmreq_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_ssmreq_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_ssmreq_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sockopt_windows.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_bsd.go (97%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_darwin.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_freebsd.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_linux.go (98%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_stub.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/sys_windows.go (96%) rename {_third_party => vendor}/golang.org/x/net/ipv6/syscall_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/syscall_unix.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/thunk_linux_386.s (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_arm.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_arm64.go (100%) create mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mips64.go create mode 100644 vendor/golang.org/x/net/ipv6/zsys_linux_mips64le.go rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_ppc64.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_linux_ppc64le.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/net/ipv6/zsys_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/oauth2/AUTHORS (100%) rename {_third_party => vendor}/golang.org/x/oauth2/CONTRIBUTING.md (100%) rename {_third_party => vendor}/golang.org/x/oauth2/CONTRIBUTORS (100%) rename {_third_party => vendor}/golang.org/x/oauth2/LICENSE (100%) rename {_third_party => vendor}/golang.org/x/oauth2/README.md (97%) rename {_third_party => vendor}/golang.org/x/oauth2/client_appengine.go (53%) rename {_third_party => vendor}/golang.org/x/oauth2/google/appengine.go (90%) rename {_third_party => vendor}/golang.org/x/oauth2/google/appengine_hook.go (54%) rename {_third_party => vendor}/golang.org/x/oauth2/google/appenginevm_hook.go (82%) rename {_third_party => vendor}/golang.org/x/oauth2/google/default.go (87%) rename {_third_party => vendor}/golang.org/x/oauth2/google/google.go (92%) rename {_third_party => vendor}/golang.org/x/oauth2/google/jwt.go (89%) rename {_third_party => vendor}/golang.org/x/oauth2/google/sdk.go (96%) rename {_third_party => vendor}/golang.org/x/oauth2/internal/oauth2.go (93%) rename {_third_party => vendor}/golang.org/x/oauth2/internal/token.go (95%) rename {_third_party => vendor}/golang.org/x/oauth2/internal/transport.go (91%) rename {_third_party => vendor}/golang.org/x/oauth2/jws/jws.go (73%) rename {_third_party => vendor}/golang.org/x/oauth2/jwt/jwt.go (92%) rename {_third_party => vendor}/golang.org/x/oauth2/oauth2.go (55%) rename {_third_party => vendor}/golang.org/x/oauth2/token.go (66%) rename {_third_party => vendor}/golang.org/x/oauth2/transport.go (93%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_darwin_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_darwin_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_darwin_arm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_darwin_arm64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_dragonfly_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_dragonfly_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_freebsd_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_freebsd_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_freebsd_arm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_linux_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_linux_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_linux_arm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_linux_arm64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_linux_ppc64x.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_netbsd_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_netbsd_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_netbsd_arm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_openbsd_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_openbsd_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/asm_solaris_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/constants.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/env_unix.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/env_unset.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/flock.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/flock_linux_32bit.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/gccgo.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/gccgo_c.c (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/gccgo_linux_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mkall.sh (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mkerrors.sh (95%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksyscall.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksyscall_solaris.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysctl_openbsd.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_darwin.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_dragonfly.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_freebsd.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_linux.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_netbsd.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/mksysnum_openbsd.pl (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/race.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/race0.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/sockcmsg_linux.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/sockcmsg_unix.go (96%) rename {_third_party => vendor}/golang.org/x/sys/unix/str.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall.go (97%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_bsd.go (89%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_darwin_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_darwin_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_darwin_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_darwin_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_dragonfly_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_dragonfly_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_linux_ppc64x.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_netbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_netbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_netbsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_no_getwd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_openbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_openbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_solaris_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/syscall_unix.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_darwin.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_dragonfly.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_freebsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_linux.go (97%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_netbsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/types_solaris.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_darwin_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_darwin_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_darwin_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_darwin_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_dragonfly_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_386.go (96%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_amd64.go (96%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_arm.go (90%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_arm64.go (97%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_ppc64.go (97%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_linux_ppc64le.go (97%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_netbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_netbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_netbsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_openbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_openbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zerrors_solaris_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_darwin_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_darwin_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_darwin_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_darwin_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_dragonfly_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_386.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_amd64.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_arm.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_arm64.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_ppc64.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go (99%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_netbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_netbsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_openbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsyscall_solaris_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysctl_openbsd.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_darwin_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_darwin_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_darwin_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_darwin_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_dragonfly_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_ppc64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_netbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_netbsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_openbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/zsysnum_solaris_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_darwin_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_darwin_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_darwin_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_darwin_arm64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_dragonfly_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_freebsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_freebsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_freebsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_386.go (98%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_amd64.go (98%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_arm.go (83%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_arm64.go (98%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_ppc64.go (98%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_linux_ppc64le.go (98%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_netbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_netbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_netbsd_arm.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_openbsd_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_openbsd_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/unix/ztypes_solaris_amd64.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/asm.s (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/asm_windows_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/asm_windows_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/dll_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/env_unset.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/env_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/eventlog.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/exec_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/race.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/race0.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/registry/key.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/registry/syscall.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/registry/value.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/registry/zsyscall_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/security_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/service.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/str.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/debug/log.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/debug/service.go (94%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/event.go (94%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/eventlog/install.go (95%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/eventlog/log.go (97%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/go12.c (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/go12.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/go13.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/mgr/config.go (98%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/mgr/mgr.go (98%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/mgr/service.go (94%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/security.go (96%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/service.go (99%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/sys_386.s (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/svc/sys_amd64.s (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/syscall.go (97%) rename {_third_party => vendor}/golang.org/x/sys/windows/syscall_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/zsyscall_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/ztypes_windows.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/ztypes_windows_386.go (100%) rename {_third_party => vendor}/golang.org/x/sys/windows/ztypes_windows_amd64.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/LICENSE (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/README.md (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/cursor.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/env.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/lmdb.h (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/mdb.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/mdb.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/midl.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/midl.h (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/txn.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/gomdb/val.go (100%) rename {_third_party => vendor}/google.golang.org/api/analytics/v3/analytics-api.json (99%) rename {_third_party => vendor}/google.golang.org/api/analytics/v3/analytics-gen.go (87%) create mode 100644 vendor/google.golang.org/api/gensupport/backoff.go create mode 100644 vendor/google.golang.org/api/gensupport/buffer.go create mode 100644 vendor/google.golang.org/api/gensupport/doc.go rename {_third_party/google.golang.org/api/internal => vendor/google.golang.org/api/gensupport}/json.go (97%) create mode 100644 vendor/google.golang.org/api/gensupport/media.go create mode 100644 vendor/google.golang.org/api/gensupport/params.go create mode 100644 vendor/google.golang.org/api/gensupport/resumable.go rename {_third_party => vendor}/google.golang.org/api/googleapi/googleapi.go (55%) rename {_third_party => vendor}/google.golang.org/api/googleapi/internal/uritemplates/LICENSE (100%) rename {_third_party => vendor}/google.golang.org/api/googleapi/internal/uritemplates/uritemplates.go (100%) rename {_third_party => vendor}/google.golang.org/api/googleapi/internal/uritemplates/utils.go (100%) rename {_third_party => vendor}/google.golang.org/api/googleapi/types.go (100%) rename {_third_party => vendor}/google.golang.org/cloud/compute/metadata/metadata.go (63%) rename {_third_party => vendor}/google.golang.org/cloud/internal/cloud.go (96%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/AUTHORS (79%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/CHANGELOG.md (89%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/CONTRIBUTING.md (100%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/LICENSE (100%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/README.md (79%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/fsnotify.go (100%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/inotify.go (91%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/inotify_poller.go (99%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/kqueue.go (82%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/open_mode_bsd.go (100%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/open_mode_darwin.go (100%) rename {_third_party => vendor}/gopkg.in/fsnotify.v1/windows.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/CHANGELOG-3.0.md (93%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/CONTRIBUTING.md rename {_third_party/github.com/olivere/elastic => vendor/gopkg.in/olivere/elastic.v3}/CONTRIBUTORS (59%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/LICENSE (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/README.md (98%) rename {_third_party/github.com/armon/go-metrics => vendor/gopkg.in/olivere/elastic.v3/backoff}/LICENSE (93%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/backoff/backoff.go create mode 100644 vendor/gopkg.in/olivere/elastic.v3/backoff/retry.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/bulk.go (95%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/bulk_delete_request.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/bulk_index_request.go (100%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/bulk_processor.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/bulk_request.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/bulk_update_request.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/canonicalize.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/clear_scroll.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/client.go (91%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/cluster_health.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/cluster_state.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/cluster_stats.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/connection.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/count.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/decoder.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/delete.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/delete_by_query.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/delete_template.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/doc.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/errors.go (96%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/exists.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/explain.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/fetch_source_context.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/geo_point.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/get.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/get_template.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/highlight.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/index.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_close.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_create.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_delete.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_delete_template.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_delete_warmer.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_exists.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_exists_template.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_exists_type.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_flush.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_forcemerge.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get_aliases.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get_mapping.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get_settings.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get_template.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_get_warmer.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_open.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_put_alias.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_put_mapping.go (98%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/indices_put_settings.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_put_template.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_put_warmer.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_refresh.go (96%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/indices_stats.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/inner_hit.go (100%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/logger.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/mget.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/msearch.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/nodes_info.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/optimize.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/percolate.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/ping.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/plugins.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/query.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/reindexer.go (100%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/request.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/rescore.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/rescorer.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/response.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/scan.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/script.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/scroll.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_children.go (92%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_date_histogram.go (96%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_date_range.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_filter.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_filters.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_geo_distance.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_global.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_histogram.go (95%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_missing.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_nested.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_range.go (95%) create mode 100644 vendor/gopkg.in/olivere/elastic.v3/search_aggs_bucket_sampler.go rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_significant_terms.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_bucket_terms.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_avg.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_cardinality.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_extended_stats.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_geo_bounds.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_max.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_min.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_percentile_ranks.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_percentiles.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_stats.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_sum.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_top_hits.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_metrics_value_count.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_avg_bucket.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_bucket_script.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_bucket_selector.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_cumulative_sum.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_derivative.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_max_bucket.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_min_bucket.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_mov_avg.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_serial_diff.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_aggs_pipeline_sum_bucket.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_bool.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_boosting.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_common_terms.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_constant_score.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_dis_max.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_exists.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_fsq.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_fsq_score_funcs.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_fuzzy.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_geo_bounding_box.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_geo_distance.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_geo_polygon.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_has_child.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_has_parent.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_ids.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_indices.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_match.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_match_all.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_missing.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_more_like_this.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_multi_match.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_nested.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_not.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_prefix.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_query_string.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_range.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_regexp.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_script.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_simple_query_string.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_template_query.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_term.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_terms.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_type.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_queries_wildcard.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_request.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_source.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/search_template.go (98%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/sort.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggest.go (97%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggest_field.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_completion.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_completion_fuzzy.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_context.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_context_category.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_context_geo.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_phrase.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/suggester_term.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/termvectors.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/update.go (99%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/uritemplates/LICENSE (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/uritemplates/uritemplates.go (100%) rename {_third_party => vendor}/gopkg.in/olivere/elastic.v3/uritemplates/utils.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/LICENSE (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/LICENSE.libyaml (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/README.md (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/apic.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/decode.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/emitterc.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/encode.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/parserc.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/readerc.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/resolve.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/scannerc.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/sorter.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/writerc.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/yaml.go (100%) rename {_third_party => vendor}/gopkg.in/yaml.v1/yamlh.go (99%) rename {_third_party => vendor}/gopkg.in/yaml.v1/yamlprivateh.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/LICENSE (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/c-golua.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/golua.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/golua.h (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/golua_license (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lauxlib.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lua.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lua_cjson.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lua_cmsgpack.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lua_defs.go (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/lua_struct.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/strbuf.c (100%) rename {_third_party/github.com/siddontang/ledisdb/vendor => vendor}/lua/strbuf.h (100%) create mode 100644 vendor/vendor.json diff --git a/.travis.yml b/.travis.yml index 7d7d8e7878..02deadb34d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go sudo: false go: - - tip + - 1.5.3 notifications: email: false diff --git a/_third_party/README b/_third_party/README deleted file mode 100644 index a50b928442..0000000000 --- a/_third_party/README +++ /dev/null @@ -1,2 +0,0 @@ -The LICENSE file at the top of the repo does not apply to any of these third -party libraries. diff --git a/_third_party/github.com/BurntSushi/toml/decode_test.go b/_third_party/github.com/BurntSushi/toml/decode_test.go deleted file mode 100644 index 3805931f2d..0000000000 --- a/_third_party/github.com/BurntSushi/toml/decode_test.go +++ /dev/null @@ -1,950 +0,0 @@ -package toml - -import ( - "fmt" - "log" - "reflect" - "testing" - "time" -) - -func init() { - log.SetFlags(0) -} - -func TestDecodeSimple(t *testing.T) { - var testSimple = ` -age = 250 -andrew = "gallant" -kait = "brady" -now = 1987-07-05T05:45:00Z -yesOrNo = true -pi = 3.14 -colors = [ - ["red", "green", "blue"], - ["cyan", "magenta", "yellow", "black"], -] - -[My.Cats] -plato = "cat 1" -cauchy = "cat 2" -` - - type cats struct { - Plato string - Cauchy string - } - type simple struct { - Age int - Colors [][]string - Pi float64 - YesOrNo bool - Now time.Time - Andrew string - Kait string - My map[string]cats - } - - var val simple - _, err := Decode(testSimple, &val) - if err != nil { - t.Fatal(err) - } - - now, err := time.Parse("2006-01-02T15:04:05", "1987-07-05T05:45:00") - if err != nil { - panic(err) - } - var answer = simple{ - Age: 250, - Andrew: "gallant", - Kait: "brady", - Now: now, - YesOrNo: true, - Pi: 3.14, - Colors: [][]string{ - {"red", "green", "blue"}, - {"cyan", "magenta", "yellow", "black"}, - }, - My: map[string]cats{ - "Cats": cats{Plato: "cat 1", Cauchy: "cat 2"}, - }, - } - if !reflect.DeepEqual(val, answer) { - t.Fatalf("Expected\n-----\n%#v\n-----\nbut got\n-----\n%#v\n", - answer, val) - } -} - -func TestDecodeEmbedded(t *testing.T) { - type Dog struct{ Name string } - type Age int - - tests := map[string]struct { - input string - decodeInto interface{} - wantDecoded interface{} - }{ - "embedded struct": { - input: `Name = "milton"`, - decodeInto: &struct{ Dog }{}, - wantDecoded: &struct{ Dog }{Dog{"milton"}}, - }, - "embedded non-nil pointer to struct": { - input: `Name = "milton"`, - decodeInto: &struct{ *Dog }{}, - wantDecoded: &struct{ *Dog }{&Dog{"milton"}}, - }, - "embedded nil pointer to struct": { - input: ``, - decodeInto: &struct{ *Dog }{}, - wantDecoded: &struct{ *Dog }{nil}, - }, - "embedded int": { - input: `Age = -5`, - decodeInto: &struct{ Age }{}, - wantDecoded: &struct{ Age }{-5}, - }, - } - - for label, test := range tests { - _, err := Decode(test.input, test.decodeInto) - if err != nil { - t.Fatal(err) - } - if !reflect.DeepEqual(test.wantDecoded, test.decodeInto) { - t.Errorf("%s: want decoded == %+v, got %+v", - label, test.wantDecoded, test.decodeInto) - } - } -} - -func TestTableArrays(t *testing.T) { - var tomlTableArrays = ` -[[albums]] -name = "Born to Run" - - [[albums.songs]] - name = "Jungleland" - - [[albums.songs]] - name = "Meeting Across the River" - -[[albums]] -name = "Born in the USA" - - [[albums.songs]] - name = "Glory Days" - - [[albums.songs]] - name = "Dancing in the Dark" -` - - type Song struct { - Name string - } - - type Album struct { - Name string - Songs []Song - } - - type Music struct { - Albums []Album - } - - expected := Music{[]Album{ - {"Born to Run", []Song{{"Jungleland"}, {"Meeting Across the River"}}}, - {"Born in the USA", []Song{{"Glory Days"}, {"Dancing in the Dark"}}}, - }} - var got Music - if _, err := Decode(tomlTableArrays, &got); err != nil { - t.Fatal(err) - } - if !reflect.DeepEqual(expected, got) { - t.Fatalf("\n%#v\n!=\n%#v\n", expected, got) - } -} - -// Case insensitive matching tests. -// A bit more comprehensive than needed given the current implementation, -// but implementations change. -// Probably still missing demonstrations of some ugly corner cases regarding -// case insensitive matching and multiple fields. -func TestCase(t *testing.T) { - var caseToml = ` -tOpString = "string" -tOpInt = 1 -tOpFloat = 1.1 -tOpBool = true -tOpdate = 2006-01-02T15:04:05Z -tOparray = [ "array" ] -Match = "i should be in Match only" -MatcH = "i should be in MatcH only" -once = "just once" -[nEst.eD] -nEstedString = "another string" -` - - type InsensitiveEd struct { - NestedString string - } - - type InsensitiveNest struct { - Ed InsensitiveEd - } - - type Insensitive struct { - TopString string - TopInt int - TopFloat float64 - TopBool bool - TopDate time.Time - TopArray []string - Match string - MatcH string - Once string - OncE string - Nest InsensitiveNest - } - - tme, err := time.Parse(time.RFC3339, time.RFC3339[:len(time.RFC3339)-5]) - if err != nil { - panic(err) - } - expected := Insensitive{ - TopString: "string", - TopInt: 1, - TopFloat: 1.1, - TopBool: true, - TopDate: tme, - TopArray: []string{"array"}, - MatcH: "i should be in MatcH only", - Match: "i should be in Match only", - Once: "just once", - OncE: "", - Nest: InsensitiveNest{ - Ed: InsensitiveEd{NestedString: "another string"}, - }, - } - var got Insensitive - if _, err := Decode(caseToml, &got); err != nil { - t.Fatal(err) - } - if !reflect.DeepEqual(expected, got) { - t.Fatalf("\n%#v\n!=\n%#v\n", expected, got) - } -} - -func TestPointers(t *testing.T) { - type Object struct { - Type string - Description string - } - - type Dict struct { - NamedObject map[string]*Object - BaseObject *Object - Strptr *string - Strptrs []*string - } - s1, s2, s3 := "blah", "abc", "def" - expected := &Dict{ - Strptr: &s1, - Strptrs: []*string{&s2, &s3}, - NamedObject: map[string]*Object{ - "foo": {"FOO", "fooooo!!!"}, - "bar": {"BAR", "ba-ba-ba-ba-barrrr!!!"}, - }, - BaseObject: &Object{"BASE", "da base"}, - } - - ex1 := ` -Strptr = "blah" -Strptrs = ["abc", "def"] - -[NamedObject.foo] -Type = "FOO" -Description = "fooooo!!!" - -[NamedObject.bar] -Type = "BAR" -Description = "ba-ba-ba-ba-barrrr!!!" - -[BaseObject] -Type = "BASE" -Description = "da base" -` - dict := new(Dict) - _, err := Decode(ex1, dict) - if err != nil { - t.Errorf("Decode error: %v", err) - } - if !reflect.DeepEqual(expected, dict) { - t.Fatalf("\n%#v\n!=\n%#v\n", expected, dict) - } -} - -type sphere struct { - Center [3]float64 - Radius float64 -} - -func TestDecodeSimpleArray(t *testing.T) { - var s1 sphere - if _, err := Decode(`center = [0.0, 1.5, 0.0]`, &s1); err != nil { - t.Fatal(err) - } -} - -func TestDecodeArrayWrongSize(t *testing.T) { - var s1 sphere - if _, err := Decode(`center = [0.1, 2.3]`, &s1); err == nil { - t.Fatal("Expected array type mismatch error") - } -} - -func TestDecodeLargeIntoSmallInt(t *testing.T) { - type table struct { - Value int8 - } - var tab table - if _, err := Decode(`value = 500`, &tab); err == nil { - t.Fatal("Expected integer out-of-bounds error.") - } -} - -func TestDecodeSizedInts(t *testing.T) { - type table struct { - U8 uint8 - U16 uint16 - U32 uint32 - U64 uint64 - U uint - I8 int8 - I16 int16 - I32 int32 - I64 int64 - I int - } - answer := table{1, 1, 1, 1, 1, -1, -1, -1, -1, -1} - toml := ` - u8 = 1 - u16 = 1 - u32 = 1 - u64 = 1 - u = 1 - i8 = -1 - i16 = -1 - i32 = -1 - i64 = -1 - i = -1 - ` - var tab table - if _, err := Decode(toml, &tab); err != nil { - t.Fatal(err.Error()) - } - if answer != tab { - t.Fatalf("Expected %#v but got %#v", answer, tab) - } -} - -func TestUnmarshaler(t *testing.T) { - - var tomlBlob = ` -[dishes.hamboogie] -name = "Hamboogie with fries" -price = 10.99 - -[[dishes.hamboogie.ingredients]] -name = "Bread Bun" - -[[dishes.hamboogie.ingredients]] -name = "Lettuce" - -[[dishes.hamboogie.ingredients]] -name = "Real Beef Patty" - -[[dishes.hamboogie.ingredients]] -name = "Tomato" - -[dishes.eggsalad] -name = "Egg Salad with rice" -price = 3.99 - -[[dishes.eggsalad.ingredients]] -name = "Egg" - -[[dishes.eggsalad.ingredients]] -name = "Mayo" - -[[dishes.eggsalad.ingredients]] -name = "Rice" -` - m := &menu{} - if _, err := Decode(tomlBlob, m); err != nil { - log.Fatal(err) - } - - if len(m.Dishes) != 2 { - t.Log("two dishes should be loaded with UnmarshalTOML()") - t.Errorf("expected %d but got %d", 2, len(m.Dishes)) - } - - eggSalad := m.Dishes["eggsalad"] - if _, ok := interface{}(eggSalad).(dish); !ok { - t.Errorf("expected a dish") - } - - if eggSalad.Name != "Egg Salad with rice" { - t.Errorf("expected the dish to be named 'Egg Salad with rice'") - } - - if len(eggSalad.Ingredients) != 3 { - t.Log("dish should be loaded with UnmarshalTOML()") - t.Errorf("expected %d but got %d", 3, len(eggSalad.Ingredients)) - } - - found := false - for _, i := range eggSalad.Ingredients { - if i.Name == "Rice" { - found = true - break - } - } - if !found { - t.Error("Rice was not loaded in UnmarshalTOML()") - } - - // test on a value - must be passed as * - o := menu{} - if _, err := Decode(tomlBlob, &o); err != nil { - log.Fatal(err) - } - -} - -type menu struct { - Dishes map[string]dish -} - -func (m *menu) UnmarshalTOML(p interface{}) error { - m.Dishes = make(map[string]dish) - data, _ := p.(map[string]interface{}) - dishes := data["dishes"].(map[string]interface{}) - for n, v := range dishes { - if d, ok := v.(map[string]interface{}); ok { - nd := dish{} - nd.UnmarshalTOML(d) - m.Dishes[n] = nd - } else { - return fmt.Errorf("not a dish") - } - } - return nil -} - -type dish struct { - Name string - Price float32 - Ingredients []ingredient -} - -func (d *dish) UnmarshalTOML(p interface{}) error { - data, _ := p.(map[string]interface{}) - d.Name, _ = data["name"].(string) - d.Price, _ = data["price"].(float32) - ingredients, _ := data["ingredients"].([]map[string]interface{}) - for _, e := range ingredients { - n, _ := interface{}(e).(map[string]interface{}) - name, _ := n["name"].(string) - i := ingredient{name} - d.Ingredients = append(d.Ingredients, i) - } - return nil -} - -type ingredient struct { - Name string -} - -func ExampleMetaData_PrimitiveDecode() { - var md MetaData - var err error - - var tomlBlob = ` -ranking = ["Springsteen", "J Geils"] - -[bands.Springsteen] -started = 1973 -albums = ["Greetings", "WIESS", "Born to Run", "Darkness"] - -[bands."J Geils"] -started = 1970 -albums = ["The J. Geils Band", "Full House", "Blow Your Face Out"] -` - - type band struct { - Started int - Albums []string - } - type classics struct { - Ranking []string - Bands map[string]Primitive - } - - // Do the initial decode. Reflection is delayed on Primitive values. - var music classics - if md, err = Decode(tomlBlob, &music); err != nil { - log.Fatal(err) - } - - // MetaData still includes information on Primitive values. - fmt.Printf("Is `bands.Springsteen` defined? %v\n", - md.IsDefined("bands", "Springsteen")) - - // Decode primitive data into Go values. - for _, artist := range music.Ranking { - // A band is a primitive value, so we need to decode it to get a - // real `band` value. - primValue := music.Bands[artist] - - var aBand band - if err = md.PrimitiveDecode(primValue, &aBand); err != nil { - log.Fatal(err) - } - fmt.Printf("%s started in %d.\n", artist, aBand.Started) - } - // Check to see if there were any fields left undecoded. - // Note that this won't be empty before decoding the Primitive value! - fmt.Printf("Undecoded: %q\n", md.Undecoded()) - - // Output: - // Is `bands.Springsteen` defined? true - // Springsteen started in 1973. - // J Geils started in 1970. - // Undecoded: [] -} - -func ExampleDecode() { - var tomlBlob = ` -# Some comments. -[alpha] -ip = "10.0.0.1" - - [alpha.config] - Ports = [ 8001, 8002 ] - Location = "Toronto" - Created = 1987-07-05T05:45:00Z - -[beta] -ip = "10.0.0.2" - - [beta.config] - Ports = [ 9001, 9002 ] - Location = "New Jersey" - Created = 1887-01-05T05:55:00Z -` - - type serverConfig struct { - Ports []int - Location string - Created time.Time - } - - type server struct { - IP string `toml:"ip"` - Config serverConfig `toml:"config"` - } - - type servers map[string]server - - var config servers - if _, err := Decode(tomlBlob, &config); err != nil { - log.Fatal(err) - } - - for _, name := range []string{"alpha", "beta"} { - s := config[name] - fmt.Printf("Server: %s (ip: %s) in %s created on %s\n", - name, s.IP, s.Config.Location, - s.Config.Created.Format("2006-01-02")) - fmt.Printf("Ports: %v\n", s.Config.Ports) - } - - // Output: - // Server: alpha (ip: 10.0.0.1) in Toronto created on 1987-07-05 - // Ports: [8001 8002] - // Server: beta (ip: 10.0.0.2) in New Jersey created on 1887-01-05 - // Ports: [9001 9002] -} - -type duration struct { - time.Duration -} - -func (d *duration) UnmarshalText(text []byte) error { - var err error - d.Duration, err = time.ParseDuration(string(text)) - return err -} - -// Example Unmarshaler shows how to decode TOML strings into your own -// custom data type. -func Example_unmarshaler() { - blob := ` -[[song]] -name = "Thunder Road" -duration = "4m49s" - -[[song]] -name = "Stairway to Heaven" -duration = "8m03s" -` - type song struct { - Name string - Duration duration - } - type songs struct { - Song []song - } - var favorites songs - if _, err := Decode(blob, &favorites); err != nil { - log.Fatal(err) - } - - // Code to implement the TextUnmarshaler interface for `duration`: - // - // type duration struct { - // time.Duration - // } - // - // func (d *duration) UnmarshalText(text []byte) error { - // var err error - // d.Duration, err = time.ParseDuration(string(text)) - // return err - // } - - for _, s := range favorites.Song { - fmt.Printf("%s (%s)\n", s.Name, s.Duration) - } - // Output: - // Thunder Road (4m49s) - // Stairway to Heaven (8m3s) -} - -// Example StrictDecoding shows how to detect whether there are keys in the -// TOML document that weren't decoded into the value given. This is useful -// for returning an error to the user if they've included extraneous fields -// in their configuration. -func Example_strictDecoding() { - var blob = ` -key1 = "value1" -key2 = "value2" -key3 = "value3" -` - type config struct { - Key1 string - Key3 string - } - - var conf config - md, err := Decode(blob, &conf) - if err != nil { - log.Fatal(err) - } - fmt.Printf("Undecoded keys: %q\n", md.Undecoded()) - // Output: - // Undecoded keys: ["key2"] -} - -// Example UnmarshalTOML shows how to implement a struct type that knows how to -// unmarshal itself. The struct must take full responsibility for mapping the -// values passed into the struct. The method may be used with interfaces in a -// struct in cases where the actual type is not known until the data is -// examined. -func Example_unmarshalTOML() { - - var blob = ` -[[parts]] -type = "valve" -id = "valve-1" -size = 1.2 -rating = 4 - -[[parts]] -type = "valve" -id = "valve-2" -size = 2.1 -rating = 5 - -[[parts]] -type = "pipe" -id = "pipe-1" -length = 2.1 -diameter = 12 - -[[parts]] -type = "cable" -id = "cable-1" -length = 12 -rating = 3.1 -` - o := &order{} - err := Unmarshal([]byte(blob), o) - if err != nil { - log.Fatal(err) - } - - fmt.Println(len(o.parts)) - - for _, part := range o.parts { - fmt.Println(part.Name()) - } - - // Code to implement UmarshalJSON. - - // type order struct { - // // NOTE `order.parts` is a private slice of type `part` which is an - // // interface and may only be loaded from toml using the - // // UnmarshalTOML() method of the Umarshaler interface. - // parts parts - // } - - // func (o *order) UnmarshalTOML(data interface{}) error { - - // // NOTE the example below contains detailed type casting to show how - // // the 'data' is retrieved. In operational use, a type cast wrapper - // // may be prefered e.g. - // // - // // func AsMap(v interface{}) (map[string]interface{}, error) { - // // return v.(map[string]interface{}) - // // } - // // - // // resulting in: - // // d, _ := AsMap(data) - // // - - // d, _ := data.(map[string]interface{}) - // parts, _ := d["parts"].([]map[string]interface{}) - - // for _, p := range parts { - - // typ, _ := p["type"].(string) - // id, _ := p["id"].(string) - - // // detect the type of part and handle each case - // switch p["type"] { - // case "valve": - - // size := float32(p["size"].(float64)) - // rating := int(p["rating"].(int64)) - - // valve := &valve{ - // Type: typ, - // ID: id, - // Size: size, - // Rating: rating, - // } - - // o.parts = append(o.parts, valve) - - // case "pipe": - - // length := float32(p["length"].(float64)) - // diameter := int(p["diameter"].(int64)) - - // pipe := &pipe{ - // Type: typ, - // ID: id, - // Length: length, - // Diameter: diameter, - // } - - // o.parts = append(o.parts, pipe) - - // case "cable": - - // length := int(p["length"].(int64)) - // rating := float32(p["rating"].(float64)) - - // cable := &cable{ - // Type: typ, - // ID: id, - // Length: length, - // Rating: rating, - // } - - // o.parts = append(o.parts, cable) - - // } - // } - - // return nil - // } - - // type parts []part - - // type part interface { - // Name() string - // } - - // type valve struct { - // Type string - // ID string - // Size float32 - // Rating int - // } - - // func (v *valve) Name() string { - // return fmt.Sprintf("VALVE: %s", v.ID) - // } - - // type pipe struct { - // Type string - // ID string - // Length float32 - // Diameter int - // } - - // func (p *pipe) Name() string { - // return fmt.Sprintf("PIPE: %s", p.ID) - // } - - // type cable struct { - // Type string - // ID string - // Length int - // Rating float32 - // } - - // func (c *cable) Name() string { - // return fmt.Sprintf("CABLE: %s", c.ID) - // } - - // Output: - // 4 - // VALVE: valve-1 - // VALVE: valve-2 - // PIPE: pipe-1 - // CABLE: cable-1 - -} - -type order struct { - // NOTE `order.parts` is a private slice of type `part` which is an - // interface and may only be loaded from toml using the UnmarshalTOML() - // method of the Umarshaler interface. - parts parts -} - -func (o *order) UnmarshalTOML(data interface{}) error { - - // NOTE the example below contains detailed type casting to show how - // the 'data' is retrieved. In operational use, a type cast wrapper - // may be prefered e.g. - // - // func AsMap(v interface{}) (map[string]interface{}, error) { - // return v.(map[string]interface{}) - // } - // - // resulting in: - // d, _ := AsMap(data) - // - - d, _ := data.(map[string]interface{}) - parts, _ := d["parts"].([]map[string]interface{}) - - for _, p := range parts { - - typ, _ := p["type"].(string) - id, _ := p["id"].(string) - - // detect the type of part and handle each case - switch p["type"] { - case "valve": - - size := float32(p["size"].(float64)) - rating := int(p["rating"].(int64)) - - valve := &valve{ - Type: typ, - ID: id, - Size: size, - Rating: rating, - } - - o.parts = append(o.parts, valve) - - case "pipe": - - length := float32(p["length"].(float64)) - diameter := int(p["diameter"].(int64)) - - pipe := &pipe{ - Type: typ, - ID: id, - Length: length, - Diameter: diameter, - } - - o.parts = append(o.parts, pipe) - - case "cable": - - length := int(p["length"].(int64)) - rating := float32(p["rating"].(float64)) - - cable := &cable{ - Type: typ, - ID: id, - Length: length, - Rating: rating, - } - - o.parts = append(o.parts, cable) - - } - } - - return nil -} - -type parts []part - -type part interface { - Name() string -} - -type valve struct { - Type string - ID string - Size float32 - Rating int -} - -func (v *valve) Name() string { - return fmt.Sprintf("VALVE: %s", v.ID) -} - -type pipe struct { - Type string - ID string - Length float32 - Diameter int -} - -func (p *pipe) Name() string { - return fmt.Sprintf("PIPE: %s", p.ID) -} - -type cable struct { - Type string - ID string - Length int - Rating float32 -} - -func (c *cable) Name() string { - return fmt.Sprintf("CABLE: %s", c.ID) -} diff --git a/_third_party/github.com/BurntSushi/toml/encode_test.go b/_third_party/github.com/BurntSushi/toml/encode_test.go deleted file mode 100644 index 445ca8e211..0000000000 --- a/_third_party/github.com/BurntSushi/toml/encode_test.go +++ /dev/null @@ -1,542 +0,0 @@ -package toml - -import ( - "bytes" - "fmt" - "log" - "net" - "testing" - "time" -) - -func TestEncodeRoundTrip(t *testing.T) { - type Config struct { - Age int - Cats []string - Pi float64 - Perfection []int - DOB time.Time - Ipaddress net.IP - } - - var inputs = Config{ - 13, - []string{"one", "two", "three"}, - 3.145, - []int{11, 2, 3, 4}, - time.Now(), - net.ParseIP("192.168.59.254"), - } - - var firstBuffer bytes.Buffer - e := NewEncoder(&firstBuffer) - err := e.Encode(inputs) - if err != nil { - t.Fatal(err) - } - var outputs Config - if _, err := Decode(firstBuffer.String(), &outputs); err != nil { - log.Printf("Could not decode:\n-----\n%s\n-----\n", - firstBuffer.String()) - t.Fatal(err) - } - - // could test each value individually, but I'm lazy - var secondBuffer bytes.Buffer - e2 := NewEncoder(&secondBuffer) - err = e2.Encode(outputs) - if err != nil { - t.Fatal(err) - } - if firstBuffer.String() != secondBuffer.String() { - t.Error( - firstBuffer.String(), - "\n\n is not identical to\n\n", - secondBuffer.String()) - } -} - -// XXX(burntsushi) -// I think these tests probably should be removed. They are good, but they -// ought to be obsolete by toml-test. -func TestEncode(t *testing.T) { - type Embedded struct { - Int int `toml:"_int"` - } - type NonStruct int - - date := time.Date(2014, 5, 11, 20, 30, 40, 0, time.FixedZone("IST", 3600)) - dateStr := "2014-05-11T19:30:40Z" - - tests := map[string]struct { - input interface{} - wantOutput string - wantError error - }{ - "bool field": { - input: struct { - BoolTrue bool - BoolFalse bool - }{true, false}, - wantOutput: "BoolTrue = true\nBoolFalse = false\n", - }, - "int fields": { - input: struct { - Int int - Int8 int8 - Int16 int16 - Int32 int32 - Int64 int64 - }{1, 2, 3, 4, 5}, - wantOutput: "Int = 1\nInt8 = 2\nInt16 = 3\nInt32 = 4\nInt64 = 5\n", - }, - "uint fields": { - input: struct { - Uint uint - Uint8 uint8 - Uint16 uint16 - Uint32 uint32 - Uint64 uint64 - }{1, 2, 3, 4, 5}, - wantOutput: "Uint = 1\nUint8 = 2\nUint16 = 3\nUint32 = 4" + - "\nUint64 = 5\n", - }, - "float fields": { - input: struct { - Float32 float32 - Float64 float64 - }{1.5, 2.5}, - wantOutput: "Float32 = 1.5\nFloat64 = 2.5\n", - }, - "string field": { - input: struct{ String string }{"foo"}, - wantOutput: "String = \"foo\"\n", - }, - "string field and unexported field": { - input: struct { - String string - unexported int - }{"foo", 0}, - wantOutput: "String = \"foo\"\n", - }, - "datetime field in UTC": { - input: struct{ Date time.Time }{date}, - wantOutput: fmt.Sprintf("Date = %s\n", dateStr), - }, - "datetime field as primitive": { - // Using a map here to fail if isStructOrMap() returns true for - // time.Time. - input: map[string]interface{}{ - "Date": date, - "Int": 1, - }, - wantOutput: fmt.Sprintf("Date = %s\nInt = 1\n", dateStr), - }, - "array fields": { - input: struct { - IntArray0 [0]int - IntArray3 [3]int - }{[0]int{}, [3]int{1, 2, 3}}, - wantOutput: "IntArray0 = []\nIntArray3 = [1, 2, 3]\n", - }, - "slice fields": { - input: struct{ IntSliceNil, IntSlice0, IntSlice3 []int }{ - nil, []int{}, []int{1, 2, 3}, - }, - wantOutput: "IntSlice0 = []\nIntSlice3 = [1, 2, 3]\n", - }, - "datetime slices": { - input: struct{ DatetimeSlice []time.Time }{ - []time.Time{date, date}, - }, - wantOutput: fmt.Sprintf("DatetimeSlice = [%s, %s]\n", - dateStr, dateStr), - }, - "nested arrays and slices": { - input: struct { - SliceOfArrays [][2]int - ArrayOfSlices [2][]int - SliceOfArraysOfSlices [][2][]int - ArrayOfSlicesOfArrays [2][][2]int - SliceOfMixedArrays [][2]interface{} - ArrayOfMixedSlices [2][]interface{} - }{ - [][2]int{{1, 2}, {3, 4}}, - [2][]int{{1, 2}, {3, 4}}, - [][2][]int{ - { - {1, 2}, {3, 4}, - }, - { - {5, 6}, {7, 8}, - }, - }, - [2][][2]int{ - { - {1, 2}, {3, 4}, - }, - { - {5, 6}, {7, 8}, - }, - }, - [][2]interface{}{ - {1, 2}, {"a", "b"}, - }, - [2][]interface{}{ - {1, 2}, {"a", "b"}, - }, - }, - wantOutput: `SliceOfArrays = [[1, 2], [3, 4]] -ArrayOfSlices = [[1, 2], [3, 4]] -SliceOfArraysOfSlices = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]] -ArrayOfSlicesOfArrays = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]] -SliceOfMixedArrays = [[1, 2], ["a", "b"]] -ArrayOfMixedSlices = [[1, 2], ["a", "b"]] -`, - }, - "empty slice": { - input: struct{ Empty []interface{} }{[]interface{}{}}, - wantOutput: "Empty = []\n", - }, - "(error) slice with element type mismatch (string and integer)": { - input: struct{ Mixed []interface{} }{[]interface{}{1, "a"}}, - wantError: errArrayMixedElementTypes, - }, - "(error) slice with element type mismatch (integer and float)": { - input: struct{ Mixed []interface{} }{[]interface{}{1, 2.5}}, - wantError: errArrayMixedElementTypes, - }, - "slice with elems of differing Go types, same TOML types": { - input: struct { - MixedInts []interface{} - MixedFloats []interface{} - }{ - []interface{}{ - int(1), int8(2), int16(3), int32(4), int64(5), - uint(1), uint8(2), uint16(3), uint32(4), uint64(5), - }, - []interface{}{float32(1.5), float64(2.5)}, - }, - wantOutput: "MixedInts = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]\n" + - "MixedFloats = [1.5, 2.5]\n", - }, - "(error) slice w/ element type mismatch (one is nested array)": { - input: struct{ Mixed []interface{} }{ - []interface{}{1, []interface{}{2}}, - }, - wantError: errArrayMixedElementTypes, - }, - "(error) slice with 1 nil element": { - input: struct{ NilElement1 []interface{} }{[]interface{}{nil}}, - wantError: errArrayNilElement, - }, - "(error) slice with 1 nil element (and other non-nil elements)": { - input: struct{ NilElement []interface{} }{ - []interface{}{1, nil}, - }, - wantError: errArrayNilElement, - }, - "simple map": { - input: map[string]int{"a": 1, "b": 2}, - wantOutput: "a = 1\nb = 2\n", - }, - "map with interface{} value type": { - input: map[string]interface{}{"a": 1, "b": "c"}, - wantOutput: "a = 1\nb = \"c\"\n", - }, - "map with interface{} value type, some of which are structs": { - input: map[string]interface{}{ - "a": struct{ Int int }{2}, - "b": 1, - }, - wantOutput: "b = 1\n\n[a]\n Int = 2\n", - }, - "nested map": { - input: map[string]map[string]int{ - "a": {"b": 1}, - "c": {"d": 2}, - }, - wantOutput: "[a]\n b = 1\n\n[c]\n d = 2\n", - }, - "nested struct": { - input: struct{ Struct struct{ Int int } }{ - struct{ Int int }{1}, - }, - wantOutput: "[Struct]\n Int = 1\n", - }, - "nested struct and non-struct field": { - input: struct { - Struct struct{ Int int } - Bool bool - }{struct{ Int int }{1}, true}, - wantOutput: "Bool = true\n\n[Struct]\n Int = 1\n", - }, - "2 nested structs": { - input: struct{ Struct1, Struct2 struct{ Int int } }{ - struct{ Int int }{1}, struct{ Int int }{2}, - }, - wantOutput: "[Struct1]\n Int = 1\n\n[Struct2]\n Int = 2\n", - }, - "deeply nested structs": { - input: struct { - Struct1, Struct2 struct{ Struct3 *struct{ Int int } } - }{ - struct{ Struct3 *struct{ Int int } }{&struct{ Int int }{1}}, - struct{ Struct3 *struct{ Int int } }{nil}, - }, - wantOutput: "[Struct1]\n [Struct1.Struct3]\n Int = 1" + - "\n\n[Struct2]\n", - }, - "nested struct with nil struct elem": { - input: struct { - Struct struct{ Inner *struct{ Int int } } - }{ - struct{ Inner *struct{ Int int } }{nil}, - }, - wantOutput: "[Struct]\n", - }, - "nested struct with no fields": { - input: struct { - Struct struct{ Inner struct{} } - }{ - struct{ Inner struct{} }{struct{}{}}, - }, - wantOutput: "[Struct]\n [Struct.Inner]\n", - }, - "struct with tags": { - input: struct { - Struct struct { - Int int `toml:"_int"` - } `toml:"_struct"` - Bool bool `toml:"_bool"` - }{ - struct { - Int int `toml:"_int"` - }{1}, true, - }, - wantOutput: "_bool = true\n\n[_struct]\n _int = 1\n", - }, - "embedded struct": { - input: struct{ Embedded }{Embedded{1}}, - wantOutput: "_int = 1\n", - }, - "embedded *struct": { - input: struct{ *Embedded }{&Embedded{1}}, - wantOutput: "_int = 1\n", - }, - "nested embedded struct": { - input: struct { - Struct struct{ Embedded } `toml:"_struct"` - }{struct{ Embedded }{Embedded{1}}}, - wantOutput: "[_struct]\n _int = 1\n", - }, - "nested embedded *struct": { - input: struct { - Struct struct{ *Embedded } `toml:"_struct"` - }{struct{ *Embedded }{&Embedded{1}}}, - wantOutput: "[_struct]\n _int = 1\n", - }, - "array of tables": { - input: struct { - Structs []*struct{ Int int } `toml:"struct"` - }{ - []*struct{ Int int }{{1}, {3}}, - }, - wantOutput: "[[struct]]\n Int = 1\n\n[[struct]]\n Int = 3\n", - }, - "array of tables order": { - input: map[string]interface{}{ - "map": map[string]interface{}{ - "zero": 5, - "arr": []map[string]int{ - map[string]int{ - "friend": 5, - }, - }, - }, - }, - wantOutput: "[map]\n zero = 5\n\n [[map.arr]]\n friend = 5\n", - }, - "(error) top-level slice": { - input: []struct{ Int int }{{1}, {2}, {3}}, - wantError: errNoKey, - }, - "(error) slice of slice": { - input: struct { - Slices [][]struct{ Int int } - }{ - [][]struct{ Int int }{{{1}}, {{2}}, {{3}}}, - }, - wantError: errArrayNoTable, - }, - "(error) map no string key": { - input: map[int]string{1: ""}, - wantError: errNonString, - }, - "(error) anonymous non-struct": { - input: struct{ NonStruct }{5}, - wantError: errAnonNonStruct, - }, - "(error) empty key name": { - input: map[string]int{"": 1}, - wantError: errAnything, - }, - "(error) empty map name": { - input: map[string]interface{}{ - "": map[string]int{"v": 1}, - }, - wantError: errAnything, - }, - } - for label, test := range tests { - encodeExpected(t, label, test.input, test.wantOutput, test.wantError) - } -} - -func TestEncodeNestedTableArrays(t *testing.T) { - type song struct { - Name string `toml:"name"` - } - type album struct { - Name string `toml:"name"` - Songs []song `toml:"songs"` - } - type springsteen struct { - Albums []album `toml:"albums"` - } - value := springsteen{ - []album{ - {"Born to Run", - []song{{"Jungleland"}, {"Meeting Across the River"}}}, - {"Born in the USA", - []song{{"Glory Days"}, {"Dancing in the Dark"}}}, - }, - } - expected := `[[albums]] - name = "Born to Run" - - [[albums.songs]] - name = "Jungleland" - - [[albums.songs]] - name = "Meeting Across the River" - -[[albums]] - name = "Born in the USA" - - [[albums.songs]] - name = "Glory Days" - - [[albums.songs]] - name = "Dancing in the Dark" -` - encodeExpected(t, "nested table arrays", value, expected, nil) -} - -func TestEncodeArrayHashWithNormalHashOrder(t *testing.T) { - type Alpha struct { - V int - } - type Beta struct { - V int - } - type Conf struct { - V int - A Alpha - B []Beta - } - - val := Conf{ - V: 1, - A: Alpha{2}, - B: []Beta{{3}}, - } - expected := "V = 1\n\n[A]\n V = 2\n\n[[B]]\n V = 3\n" - encodeExpected(t, "array hash with normal hash order", val, expected, nil) -} - -func TestEncodeWithOmitEmpty(t *testing.T) { - type simple struct { - User string `toml:"user"` - Pass string `toml:"password,omitempty"` - } - - value := simple{"Testing", ""} - expected := fmt.Sprintf("user = %q\n", value.User) - encodeExpected(t, "simple with omitempty, is empty", value, expected, nil) - value.Pass = "some password" - expected = fmt.Sprintf("user = %q\npassword = %q\n", value.User, value.Pass) - encodeExpected(t, "simple with omitempty, not empty", value, expected, nil) -} - -func TestEncodeWithOmitZero(t *testing.T) { - type simple struct { - Number int `toml:"number,omitzero"` - Real float64 `toml:"real,omitzero"` - Unsigned uint `toml:"unsigned,omitzero"` - } - - value := simple{0, 0.0, uint(0)} - expected := "" - - encodeExpected(t, "simple with omitzero, all zero", value, expected, nil) - - value.Number = 10 - value.Real = 20 - value.Unsigned = 5 - expected = `number = 10 -real = 20.0 -unsigned = 5 -` - encodeExpected(t, "simple with omitzero, non-zero", value, expected, nil) -} - -func encodeExpected( - t *testing.T, label string, val interface{}, wantStr string, wantErr error, -) { - var buf bytes.Buffer - enc := NewEncoder(&buf) - err := enc.Encode(val) - if err != wantErr { - if wantErr != nil { - if wantErr == errAnything && err != nil { - return - } - t.Errorf("%s: want Encode error %v, got %v", label, wantErr, err) - } else { - t.Errorf("%s: Encode failed: %s", label, err) - } - } - if err != nil { - return - } - if got := buf.String(); wantStr != got { - t.Errorf("%s: want\n-----\n%q\n-----\nbut got\n-----\n%q\n-----\n", - label, wantStr, got) - } -} - -func ExampleEncoder_Encode() { - date, _ := time.Parse(time.RFC822, "14 Mar 10 18:00 UTC") - var config = map[string]interface{}{ - "date": date, - "counts": []int{1, 1, 2, 3, 5, 8}, - "hash": map[string]string{ - "key1": "val1", - "key2": "val2", - }, - } - buf := new(bytes.Buffer) - if err := NewEncoder(buf).Encode(config); err != nil { - log.Fatal(err) - } - fmt.Println(buf.String()) - - // Output: - // counts = [1, 1, 2, 3, 5, 8] - // date = 2010-03-14T18:00:00Z - // - // [hash] - // key1 = "val1" - // key2 = "val2" -} diff --git a/_third_party/github.com/GaryBoone/GoStats/stats/regression_test.go b/_third_party/github.com/GaryBoone/GoStats/stats/regression_test.go deleted file mode 100644 index ff27937b58..0000000000 --- a/_third_party/github.com/GaryBoone/GoStats/stats/regression_test.go +++ /dev/null @@ -1,264 +0,0 @@ -package stats - -// -// regression_test.go -// -// Author: Gary Boone -// -// Test: -// go test stats.go stats_test.go regression.go regression_test.go -// -// Copyright (c) 2011-2013 Gary Boone . -// -// To test, all code was compared against the R stats package (http://r-project.org) -// -// R test code example: -// x <- c(2000 , 2001 , 2002 , 2003 , 2004) -// y <- c(9.34 , 8.50 , 7.62 , 6.93 , 6.60) -// fit <- lm( y ~ x ) -// summary(fit) -// -// The summary result contains the information used for the tests below. -// - -import ( - "testing" -) - -const REG_TOL = 1e-11 - -// -// -// Test incremental functions -// -// - -func TestRegressionUpdate0(t *testing.T) { - var r Regression - checkInt(r.Count(), 0, "Count", t) - checkNaN(r.Slope(), "Slope", t) - checkNaN(r.Intercept(), "Intercept", t) - checkNaN(r.RSquared(), "RSquared", t) - checkNaN(r.SlopeStandardError(), "SlopeStandardError", t) - checkNaN(r.InterceptStandardError(), "InterceptStandardError", t) -} - -func TestRegressionUpdate1(t *testing.T) { - var r Regression - r.Update(2000, 9.34) - checkInt(r.Count(), 1, "Count", t) - checkNaN(r.Slope(), "Slope", t) - checkNaN(r.Intercept(), "Intercept", t) - checkNaN(r.RSquared(), "RSquared", t) - checkNaN(r.SlopeStandardError(), "SlopeStandardError", t) - checkNaN(r.InterceptStandardError(), "InterceptStandardError", t) -} - -func TestRegressionUpdate2(t *testing.T) { - var r Regression - r.Update(2000, 9.34) - r.Update(2001, 8.50) - checkInt(r.Count(), 2, "Count", t) - checkFloat64(r.Slope(), -0.840000000000126, REG_TOL, "Slope", t) - checkFloat64(r.Intercept(), 1689.340000000251393, REG_TOL, "Intercept", t) - checkFloat64(r.RSquared(), 1.0, REG_TOL, "RSquared", t) - checkNaN(r.SlopeStandardError(), "SlopeStandardError", t) - checkNaN(r.InterceptStandardError(), "InterceptStandardError", t) -} - -func TestRegressionUpdate3(t *testing.T) { - var r Regression - r.Update(2000, 9.34) - r.Update(2001, 8.50) - r.Update(2002, 7.62) - checkInt(r.Count(), 3, "Count", t) - checkFloat64(r.Slope(), -0.8600000000004419, REG_TOL, "Slope", t) - checkFloat64(r.Intercept(), 1729.3466666675515171, REG_TOL, "Intercept", t) - checkFloat64(r.RSquared(), 0.999819754866627, REG_TOL, "RSquared", t) - checkFloat64(r.SlopeStandardError(), 0.0115470053835452, 1e-8, "SlopeStandardError", t) - checkFloat64(r.InterceptStandardError(), 23.1055596960129250, 1e-6, "InterceptStandardError", t) -} - -func TestRegressionUpdate5(t *testing.T) { - var r Regression - r.Update(2000, 9.34) - r.Update(2001, 8.50) - r.Update(2002, 7.62) - r.Update(2003, 6.93) - r.Update(2004, 6.60) - checkInt(r.Count(), 5, "Count", t) - checkFloat64(r.Slope(), -0.705000000000075, REG_TOL, "Slope", t) - checkFloat64(r.Intercept(), 1419.208000000151287, REG_TOL, "Intercept", t) - checkFloat64(r.RSquared(), 0.976304686026756, REG_TOL, "RSquared", t) - checkFloat64(r.SlopeStandardError(), 0.0634113554499872, 1e-10, "SlopeStandardError", t) - checkFloat64(r.InterceptStandardError(), 126.9495652848741400, 1e-6, "InterceptStandardError", t) -} - -func TestRegressionUpdateArray5(t *testing.T) { - var r Regression - xData := []float64{2000, 2001, 2002, 2003, 2004} - yData := []float64{9.34, 8.50, 7.62, 6.93, 6.60} - r.UpdateArray(xData, yData) - checkInt(r.Count(), 5, "Count", t) - checkFloat64(r.Slope(), -0.705000000000075, REG_TOL, "Slope", t) - checkFloat64(r.Intercept(), 1419.208000000151287, REG_TOL, "Intercept", t) - checkFloat64(r.RSquared(), 0.976304686026756, REG_TOL, "RSquared", t) - checkFloat64(r.SlopeStandardError(), 0.0634113554499872, 1e-10, "SlopeStandardError", t) - checkFloat64(r.InterceptStandardError(), 126.9495652848741400, 1e-6, "InterceptStandardError", t) -} - -// -// -// Test batch functions -// -// - -func TestLinearRegression0(t *testing.T) { - xData := []float64{} - yData := []float64{} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkNaN(slope, "Slope", t) - checkNaN(intercept, "Intercept", t) - checkNaN(rsquared, "RSquared", t) - checkInt(count, 0, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression1(t *testing.T) { - xData := []float64{2000} - yData := []float64{9.34} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkNaN(slope, "Slope", t) - checkNaN(intercept, "Intercept", t) - checkNaN(rsquared, "RSquared", t) - checkInt(count, 1, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression2(t *testing.T) { - xData := []float64{2000, 2001} - yData := []float64{9.34, 8.50} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, -0.840000000000126, REG_TOL, "Slope", t) - checkFloat64(intercept, 1689.340000000251393, REG_TOL, "Intercept", t) - checkFloat64(rsquared, 1.0, REG_TOL, "RSquared", t) - checkInt(count, 2, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression3(t *testing.T) { - xData := []float64{2000, 2001, 2002} - yData := []float64{9.34, 8.50, 7.62} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, -0.8600000000004419, REG_TOL, "Slope", t) - checkFloat64(intercept, 1729.3466666675515171, REG_TOL, "Intercept", t) - checkFloat64(rsquared, 0.999819754866627, REG_TOL, "RSquared", t) - checkInt(count, 3, "Count", t) - checkFloat64(slopeStdErr, 0.0115470053835452, 1e-8, "SlopeStandardError", t) - checkFloat64(intcptStdErr, 23.1055596960129250, 1e-6, "InterceptStandardError", t) -} - -func TestLinearRegression5(t *testing.T) { - xData := []float64{2000, 2001, 2002, 2003, 2004} - yData := []float64{9.34, 8.50, 7.62, 6.93, 6.60} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, -0.705000000000075, REG_TOL, "Slope", t) - checkFloat64(intercept, 1419.208000000151287, REG_TOL, "Intercept", t) - checkFloat64(rsquared, 0.976304686026756, REG_TOL, "RSquared", t) - checkInt(count, 5, "Count", t) - checkFloat64(slopeStdErr, 0.0634113554499872, 1e-10, "SlopeStandardError", t) - checkFloat64(intcptStdErr, 126.9495652848741400, 1e-6, "InterceptStandardError", t) -} - -// -// -// Degenerate examples tests -// -// - -func TestLinearRegression01(t *testing.T) { - xData := []float64{0.0} - yData := []float64{0.0} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkNaN(slope, "Slope", t) - checkNaN(intercept, "Intercept", t) - checkNaN(rsquared, "RSquared", t) - checkInt(count, 1, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression2Same(t *testing.T) { - xData := []float64{2.0, 2.0} - yData := []float64{0.3, 0.3} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkNaN(slope, "Slope", t) - checkNaN(intercept, "Intercept", t) - checkNaN(rsquared, "RSquared", t) - checkInt(count, 2, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression2SameX(t *testing.T) { - xData := []float64{2.0, 2.0} - yData := []float64{0.5, 0.3} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkNaN(slope, "Slope", t) - checkNaN(intercept, "Intercept", t) - checkNaN(rsquared, "RSquared", t) - checkInt(count, 2, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression2SameY(t *testing.T) { - xData := []float64{2.2, 0.7} - yData := []float64{0.3, 0.3} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64Abs(slope, 0.0, REG_TOL, "Slope", t) - checkFloat64(intercept, 0.3, REG_TOL, "Intercept", t) - checkInf(rsquared, "RSquared", t) - checkInt(count, 2, "Count", t) - checkNaN(slopeStdErr, "SlopeStandardError", t) - checkNaN(intcptStdErr, "InterceptStandardError", t) -} - -func TestLinearRegression3WithSame(t *testing.T) { - xData := []float64{20, 21, 20} - yData := []float64{9.3, 8.5, 9.3} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, -0.8, REG_TOL, "Slope", t) - checkFloat64(intercept, 25.3, REG_TOL, "Intercept", t) - checkFloat64(rsquared, 1.0, REG_TOL, "RSquared", t) - checkInt(count, 3, "Count", t) - checkFloat64(slopeStdErr, 5.03103783538893e-15, 1e-8, "SlopeStandardError", t) - checkFloat64(intcptStdErr, 1.02325257636427e-13, 1e-6, "InterceptStandardError", t) -} - -func TestLinearRegression3WithSameX(t *testing.T) { - xData := []float64{2000, 2001, 2000} - yData := []float64{9.34, 8.50, 7.62} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, 0.0200000000016344, 1e-9, "Slope", t) - checkFloat64(intercept, -31.5200000032693488, 1e-9, "Intercept", t) - checkFloat64(rsquared, 0.000180245133410639, 1e-9, "RSquared", t) - checkInt(count, 3, "Count", t) - checkFloat64(slopeStdErr, 1.4895636945101514, 1e-9, "SlopeStandardError", t) - checkFloat64(intcptStdErr, 2979.6239929915545872, 1e-6, "InterceptStandardError", t) -} - -func TestLinearRegression3WithSameY(t *testing.T) { - xData := []float64{2000, 2001, 2002} - yData := []float64{9.34, 8.50, 9.34} - var slope, intercept, rsquared, count, slopeStdErr, intcptStdErr = LinearRegression(xData, yData) - checkFloat64(slope, 0.0, REG_TOL, "Slope", t) - checkFloat64Abs(intercept, 9.05999999971740, 1e-9, "Intercept", t) - checkFloat64Abs(rsquared, 8.69423995966795e-26, REG_TOL, "RSquared", t) - checkInt(count, 3, "Count", t) - checkFloat64(slopeStdErr, 4.84974226119533e-01, 1e-9, "SlopeStandardError", t) - checkFloat64(intcptStdErr, 9.70433507253826e+02, 1e-6, "InterceptStandardError", t) -} diff --git a/_third_party/github.com/GaryBoone/GoStats/stats/stats_test.go b/_third_party/github.com/GaryBoone/GoStats/stats/stats_test.go deleted file mode 100644 index 7cec37e171..0000000000 --- a/_third_party/github.com/GaryBoone/GoStats/stats/stats_test.go +++ /dev/null @@ -1,528 +0,0 @@ -package stats - -// -// stats.go testing -// -// Author: Gary Boone -// -// Test: -// go test stats.go stats_test.go -// -// Benchmark: -// go test stats.go stats_test.go -bench='.' -// -// Copyright (c) 2011-2013 Gary Boone . -// -// To test, all code was compared against the R stats package (http://r-project.org) -// -// R test code (set 'a' appropriately for each test): -// a=c(1,2,3,4,5);n=length(a);n;min(a);max(a);sum(a);mean(a);((n-1)/n)*var(a);var(a); -// sqrt(var(a)*(n-1)/n);sd(a);skewness(a);sqrt(n*(n-1))/(n-2)*skewness(a); -// kurtosis(a)-3;(n-1)/(n-2)/(n-3)*((n+1)*(kurtosis(a)-3)+6) -// -// The above prints out a list of values corresponding to the list of test results shown -// in the tests below. -// -// Unpacking: -// a=c(1,2,3,4,5); // creates a list of input values -// n=length(a);n; // print the Count() -// min(a); max(a); sum(a); mean(a); // Min(), Max(), Sum(), Mean() -// ((n-1)/n)*var(a); // PopulationVariance() -// var(a); // SampleVariance() -// sqrt(var(a)*(n-1)/n); // PopulationStandardDeviation() -// sd(a); // SampleStandardDeviation() -// skewness(a); // PopulationSkew() -// sqrt(n*(n-1))/(n-2)*skewness(a); // SampleSkew() -// kurtosis(a)-3; // PopulationKurtosis() -// (n-1)/(n-2)/(n-3)*((n+1)*(kurtosis(a)-3)+6) // SampleKurtosis() -// -// R Notes: -// var() returns the sample variance. -// sd() returns sample standard deviation. -// skewness() returns the population skew. -// kurtosis() returns the population kurtosis, which is not the excess pop kurtosis. -// - -import ( - "math" - "math/rand" - "testing" - "time" -) - -const TOL = 1e-14 - -// -// -// Incremental stats tests -// -// - -// With no updates, these are the results on initialization -func TestUpdate0(t *testing.T) { - var d Stats - checkInt(d.Count(), 0, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkNaN(d.PopulationVariance(), "PopulationVariance", t) - checkNaN(d.SampleVariance(), "SampleVariance", t) - checkNaN(d.PopulationStandardDeviation(), "PopulationStandardDeviation", t) - checkNaN(d.SampleStandardDeviation(), "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 1 value -func TestUpdate1(t *testing.T) { - var d Stats - d.Update(2.3) - checkInt(d.Count(), 1, "Count", t) - checkFloat64(d.Min(), 2.3, TOL, "Min", t) - checkFloat64(d.Max(), 2.3, TOL, "Max", t) - checkFloat64(d.Sum(), 2.3, TOL, "Sum", t) - checkFloat64(d.Mean(), 2.3, TOL, "Mean", t) - checkNaN(d.PopulationVariance(), "PopulationVariance", t) - checkNaN(d.SampleVariance(), "SampleVariance", t) - checkNaN(d.PopulationStandardDeviation(), "PopulationStandardDeviation", t) - checkNaN(d.SampleStandardDeviation(), "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 2 values -func TestUpdate2(t *testing.T) { - var d Stats - d.Update(2.3) - d.Update(0.4) - checkInt(d.Count(), 2, "Count", t) - checkFloat64(d.Min(), 0.4, TOL, "Min", t) - checkFloat64(d.Max(), 2.3, TOL, "Max", t) - checkFloat64(d.Sum(), 2.7, TOL, "Sum", t) - checkFloat64(d.Mean(), 1.35, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.9025, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 1.805, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.95, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 1.34350288425444, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), 0.0, TOL, "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), -2.0, TOL, "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 3 values. -func TestUpdate3(t *testing.T) { - var d Stats - d.Update(2.3) - d.Update(0.4) - d.Update(-3.4) - checkInt(d.Count(), 3, "Count", t) - checkFloat64(d.Min(), -3.4, TOL, "Min", t) - checkFloat64(d.Max(), 2.3, TOL, "Max", t) - checkFloat64(d.Sum(), -0.7, TOL, "Sum", t) - checkFloat64(d.Mean(), -0.2333333333333334, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 5.615555555555554, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 8.42333333333333, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 2.36971634495683, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 2.90229794013870, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), -0.3818017741606063, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), -0.935219529582825, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), -1.5, TOL, "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 4 values. Now all of the statistics are available. -func TestUpdate4(t *testing.T) { - var d Stats - d.Update(1.0) - d.Update(2.0) - d.Update(3.0) - d.Update(4.0) - checkInt(d.Count(), 4, "Count", t) - checkFloat64(d.Min(), 1.0, TOL, "Min", t) - checkFloat64(d.Max(), 4.0, TOL, "Max", t) - checkFloat64(d.Sum(), 10.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 2.5, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 1.25, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 1.666666666666667, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 1.118033988749895, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 1.290994448735806, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), 0.0, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), 0.0, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), -1.36, TOL, "PopulationKurtosis", t) - checkFloat64(d.SampleKurtosis(), -1.2, TOL, "SampleKurtosis", t) -} - -func TestUpdate5(t *testing.T) { - var d Stats - d.Update(1.0) - d.Update(2.0) - d.Update(3.0) - d.Update(4.0) - d.Update(5.0) - checkInt(d.Count(), 5, "Count", t) - checkFloat64(d.Min(), 1.0, TOL, "Min", t) - checkFloat64(d.Max(), 5.0, TOL, "Max", t) - checkFloat64(d.Sum(), 15.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 3.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 2.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 2.5, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 1.414213562373095, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 1.5811388300841898, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), 0.0, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), 0.0, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), -1.3, TOL, "PopulationKurtosis", t) - checkFloat64(d.SampleKurtosis(), -1.2, TOL, "SampleKurtosis", t) -} - -func TestUpdate10(t *testing.T) { - var d Stats - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for _, v := range a { - d.Update(v) - } - checkInt(d.Count(), 10, "Count", t) - checkFloat64(d.Min(), -123.4, TOL, "Min", t) - checkFloat64(d.Max(), 115.0, TOL, "Max", t) - checkFloat64(d.Sum(), 62.83, TOL, "Sum", t) - checkFloat64(d.Mean(), 6.283, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 3165.19316100, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 3516.88129, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 56.2600494223032, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 59.3032991493728, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), -0.4770396201629045, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), -0.565699400196136, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), 1.253240236214162, TOL, "PopulationKurtosis", t) - checkFloat64(d.SampleKurtosis(), 3.179835417592894, TOL, "SampleKurtosis", t) -} - -// Update by array. In this case, we use slices to update via half of the array at a time. -func TestUpdateArray10(t *testing.T) { - var d Stats - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - // load the first half of the array - d.UpdateArray(a[:5]) - checkInt(d.Count(), 5, "Count", t) - checkFloat64(d.Min(), -2.0, TOL, "Min", t) - checkFloat64(d.Max(), 115.0, TOL, "Max", t) - checkFloat64(d.Sum(), 174, TOL, "Sum", t) - checkFloat64(d.Mean(), 34.8, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 1910.56, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 2388.2, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 43.70995309995196, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 48.8692132124101, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), 1.003118841855798, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), 1.495361279933617, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), -0.5476524250400354, TOL, "PopulationKurtosis", t) - checkFloat64(d.SampleKurtosis(), 1.809390299839858, TOL, "SampleKurtosis", t) - - // load rest of array. The results will be cumulative. - d.UpdateArray(a[5:]) - checkInt(d.Count(), 10, "Count", t) - checkFloat64(d.Min(), -123.4, TOL, "Min", t) - checkFloat64(d.Max(), 115.0, TOL, "Max", t) - checkFloat64(d.Sum(), 62.83, TOL, "Sum", t) - checkFloat64(d.Mean(), 6.283, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 3165.19316100, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 3516.88129, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 56.2600494223032, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 59.3032991493728, TOL, "SampleStandardDeviation", t) - checkFloat64(d.PopulationSkew(), -0.4770396201629045, TOL, "PopulationSkew", t) - checkFloat64(d.SampleSkew(), -0.565699400196136, TOL, "SampleSkew", t) - checkFloat64(d.PopulationKurtosis(), 1.253240236214162, TOL, "PopulationKurtosis", t) - checkFloat64(d.SampleKurtosis(), 3.179835417592894, TOL, "SampleKurtosis", t) -} - -// Test the batch functions. Calculate the descriptive stats on the whole array. -func TestArrayStats(t *testing.T) { - a := []float64{1.0, 2.0, 3.0, 4.0, 5.0} - checkInt(StatsCount(a), 5, "Count", t) - checkFloat64(StatsMin(a), 1.0, TOL, "Min", t) - checkFloat64(StatsMax(a), 5.0, TOL, "Max", t) - checkFloat64(StatsSum(a), 15.0, TOL, "Sum", t) - checkFloat64(StatsMean(a), 3.0, TOL, "Mean", t) - checkFloat64(StatsPopulationVariance(a), 2.0, TOL, "PopulationVariance", t) - checkFloat64(StatsSampleVariance(a), 2.5, TOL, "SampleVariance", t) - checkFloat64(StatsPopulationStandardDeviation(a), 1.414213562373095, TOL, "PopulationStandardDeviation", t) - checkFloat64(StatsSampleStandardDeviation(a), 1.5811388300841898, TOL, "SampleStandardDeviation", t) - checkFloat64(StatsPopulationSkew(a), 0.0, TOL, "PopulationSkew", t) - checkFloat64(StatsSampleSkew(a), 0.0, TOL, "SampleSkew", t) - checkFloat64(StatsPopulationKurtosis(a), -1.3, TOL, "PopulationKurtosis", t) - checkFloat64(StatsSampleKurtosis(a), -1.2, TOL, "SampleKurtosis", t) -} - -func TestArrayStats2(t *testing.T) { - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - checkInt(StatsCount(a), 10, "Count", t) - checkFloat64(StatsMin(a), -123.4, TOL, "Min", t) - checkFloat64(StatsMax(a), 115.0, TOL, "Max", t) - checkFloat64(StatsSum(a), 62.83, TOL, "Sum", t) - checkFloat64(StatsMean(a), 6.283, TOL, "Mean", t) - checkFloat64(StatsPopulationVariance(a), 3165.19316100, TOL, "PopulationVariance", t) - checkFloat64(StatsSampleVariance(a), 3516.88129, TOL, "SampleVariance", t) - checkFloat64(StatsPopulationStandardDeviation(a), 56.2600494223032, TOL, "PopulationStandardDeviation", t) - checkFloat64(StatsSampleStandardDeviation(a), 59.3032991493728, TOL, "SampleStandardDeviation", t) - checkFloat64(StatsPopulationSkew(a), -0.4770396201629045, TOL, "PopulationSkew", t) - checkFloat64(StatsSampleSkew(a), -0.565699400196136, TOL, "SampleSkew", t) - checkFloat64(StatsPopulationKurtosis(a), 1.253240236214162, TOL, "PopulationKurtosis", t) - checkFloat64(StatsSampleKurtosis(a), 3.179835417592894, TOL, "SampleKurtosis", t) -} - -// -// -// Benchmark tests -// -// run with: go test stats.go stats_test.go -bench="Benchmark" -// - -func BenchmarkUpdate(b *testing.B) { - var d Stats - for i := 0; i < b.N; i++ { - d.Update(3.5) - } -} - -// Test the incremental Variance function by itself. This result is how fast the -// Variance is calculated not including the time to incrementally update the Stats -// structure with 10 values. -func BenchmarkPopulationVariance10(b *testing.B) { - b.StopTimer() - var d Stats - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for _, v := range a { - d.Update(v) - } - b.StartTimer() - for i := 0; i < b.N; i++ { - d.PopulationVariance() - } -} - -// Test the incremental Variance function by itself. This result is how fast the -// Variance is calculated _including_ the time to incrementally update the Stats -// structure with 10 values. Therefore this result can be compared to the CalcVariance -// function operating on 10 values. -func BenchmarkPopulationVarWUpdates10(b *testing.B) { - b.StopTimer() - var d Stats - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for _, v := range a { - d.Update(v) - } - b.StartTimer() - for i := 0; i < b.N; i++ { - d.PopulationVariance() - } -} - -// benchmark on 10 values, so divide by 10 to estimate the per-value time for array calculations -func BenchmarkCalcPopulationVariance10(b *testing.B) { - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for i := 0; i < b.N; i++ { - StatsPopulationVariance(a) - } -} - -func BenchmarkCalcPopulationKurtosis10(b *testing.B) { - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for i := 0; i < b.N; i++ { - StatsPopulationKurtosis(a) - } -} - -func BenchmarkCalcSampleKurtosis10(b *testing.B) { - a := []float64{1.0, -2.0, 13.0, 47.0, 115.0, -0.03, -123.4, 23.0, -23.04, 12.3} - for i := 0; i < b.N; i++ { - StatsSampleKurtosis(a) - } -} - -// Find the time to calculate Sample Kurtosis on an input array 100k random values. -// The benchmark will repeat this test b.N times to determine a stable time. The -// resulting stable time is the time for the calculation on 100k values. -func BenchmarkCalcSampleKurtosis100k(b *testing.B) { - b.StopTimer() - rand.Seed(int64(time.Now().Nanosecond())) - n := 100000 // not the same as b.N - a := make([]float64, n) - for i := 0; i < n; i++ { - a[i] = rand.Float64() - } - b.StartTimer() - for i := 0; i < b.N; i++ { - StatsSampleKurtosis(a) - } -} - -// -// -// Degenerate examples tests -// -// - -// Update() 1 0 value -func TestUpdate01(t *testing.T) { - var d Stats - d.Update(0.0) - checkInt(d.Count(), 1, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkNaN(d.PopulationVariance(), "PopulationVariance", t) - checkNaN(d.SampleVariance(), "SampleVariance", t) - checkNaN(d.PopulationStandardDeviation(), "PopulationStandardDeviation", t) - checkNaN(d.SampleStandardDeviation(), "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 2 0 values -func TestUpdate02(t *testing.T) { - var d Stats - d.Update(0.0) - d.Update(0.0) - checkInt(d.Count(), 2, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 0.0, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.0, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 0.0, TOL, "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 3 0 values. -func TestUpdate03(t *testing.T) { - var d Stats - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - checkInt(d.Count(), 3, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 0.0, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.0, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 0.0, TOL, "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// Update() 4 0 values. -func TestUpdate04(t *testing.T) { - var d Stats - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - checkInt(d.Count(), 4, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 0.0, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.0, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 0.0, TOL, "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -func TestUpdate05(t *testing.T) { - var d Stats - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - d.Update(0.0) - checkInt(d.Count(), 5, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 0.0, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.0, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 0.0, TOL, "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -func TestUpdate010(t *testing.T) { - var d Stats - a := []float64{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0} - for _, v := range a { - d.Update(v) - } - checkInt(d.Count(), 10, "Count", t) - checkFloat64(d.Min(), 0.0, TOL, "Min", t) - checkFloat64(d.Max(), 0.0, TOL, "Max", t) - checkFloat64(d.Sum(), 0.0, TOL, "Sum", t) - checkFloat64(d.Mean(), 0.0, TOL, "Mean", t) - checkFloat64(d.PopulationVariance(), 0.0, TOL, "PopulationVariance", t) - checkFloat64(d.SampleVariance(), 0.0, TOL, "SampleVariance", t) - checkFloat64(d.PopulationStandardDeviation(), 0.0, TOL, "PopulationStandardDeviation", t) - checkFloat64(d.SampleStandardDeviation(), 0.0, TOL, "SampleStandardDeviation", t) - checkNaN(d.PopulationSkew(), "PopulationSkew", t) - checkNaN(d.SampleSkew(), "SampleSkew", t) - checkNaN(d.PopulationKurtosis(), "PopulationKurtosis", t) - checkNaN(d.SampleKurtosis(), "SampleKurtosis", t) -} - -// -// -// Assertion functions used for tests -// -// - -// check that the value x equals the expected value y -func checkInt(x, y int, test string, t *testing.T) { - if x != y { - t.Errorf("Found %v, but expected %v for test %v", x, y, test) - } -} - -func checkFloat64(x, y, tol float64, test string, t *testing.T) { - if math.Abs(x-y) > math.Abs(x*tol) { - t.Errorf("Found %v, but expected %v for test %v", x, y, test) - } -} - -func checkNaN(x float64, test string, t *testing.T) { - if !math.IsNaN(x) { - t.Errorf("Found %v, but expected NaN for test %v", x, test) - } -} - -func checkFloat64Abs(x, y, tol float64, test string, t *testing.T) { - if math.Abs(x-y) > math.Abs(tol) { - t.Errorf("Found %v, but expected %v for test %v", x, y, test) - } -} - -func checkInf(x float64, test string, t *testing.T) { - if !math.IsInf(x, 1) { - t.Errorf("Found %v, but expected Inf for test %v", x, test) - } -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/array_test.go b/_third_party/github.com/PuerkitoBio/goquery/array_test.go deleted file mode 100644 index 1dda525663..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/array_test.go +++ /dev/null @@ -1,180 +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 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 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 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) -} - -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 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 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/_third_party/github.com/PuerkitoBio/goquery/bench_array_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_array_test.go deleted file mode 100644 index 6d5581eb18..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_array_test.go +++ /dev/null @@ -1,112 +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() - } - b.Logf("Index=%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") - } - b.Logf("IndexSelector=%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) - } - b.Logf("IndexOfNode=%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) - } - b.Logf("IndexOfSelection=%d", j) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_example_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_example_test.go deleted file mode 100644 index a5474310df..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_example_test.go +++ /dev/null @@ -1,42 +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)) - } - } - }) - } - b.Log(buf.String()) - b.Logf("MetalReviewExample=%d", n) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_expand_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_expand_test.go deleted file mode 100644 index aee7d81d30..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_expand_test.go +++ /dev/null @@ -1,72 +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]") - } - } - b.Logf("Add=%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) - } - } - b.Logf("AddSelection=%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...) - } - } - b.Logf("AddNodes=%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() - } - } - b.Logf("AndSelf=%d", n) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_filter_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_filter_test.go deleted file mode 100644 index 05ffaaa390..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_filter_test.go +++ /dev/null @@ -1,212 +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") - } - } - b.Logf("Filter=%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") - } - } - b.Logf("Not=%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) - } - } - b.Logf("FilterFunction=%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) - } - } - b.Logf("NotFunction=%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...) - } - } - b.Logf("FilterNodes=%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...) - } - } - b.Logf("NotNodes=%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) - } - } - b.Logf("FilterSelection=%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) - } - } - b.Logf("NotSelection=%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") - } - } - b.Logf("Has=%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...) - } - } - b.Logf("HasNodes=%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) - } - } - b.Logf("HasSelection=%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() - } - } - b.Logf("End=%d", n) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_iteration_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_iteration_test.go deleted file mode 100644 index f1b5530842..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_iteration_test.go +++ /dev/null @@ -1,62 +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 - } - } - b.Logf("Each=%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 - } - } - b.Logf("Map=%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 - } - } - b.Logf("Each=%d", n) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_property_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_property_test.go deleted file mode 100644 index 0e6160362d..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_property_test.go +++ /dev/null @@ -1,47 +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") - } - b.Logf("Attr=%s", 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() - } - b.Logf("Length=%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/_third_party/github.com/PuerkitoBio/goquery/bench_query_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_query_test.go deleted file mode 100644 index 3d3a98f8ef..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_query_test.go +++ /dev/null @@ -1,97 +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") - } - b.Logf("Is=%v", y) -} - -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)") - } - b.Logf("IsPositional=%v", y) -} - -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) - } - b.Logf("IsFunction=%v", y) -} - -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) - } - b.Logf("IsSelection=%v", y) -} - -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...) - } - b.Logf("IsNodes=%v", y) -} - -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") - } - b.Logf("HasClass=%v", y) -} - -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) - } - b.Logf("Contains=%v", y) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/bench_traversal_test.go b/_third_party/github.com/PuerkitoBio/goquery/bench_traversal_test.go deleted file mode 100644 index 43610f6feb..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/bench_traversal_test.go +++ /dev/null @@ -1,716 +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") - } - } - b.Logf("Find=%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]") - } - } - b.Logf("FindWithinSelection=%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) - } - } - b.Logf("FindSelection=%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...) - } - } - b.Logf("FindNodes=%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() - } - } - b.Logf("Contents=%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\"]") - } - } - b.Logf("ContentsFiltered=%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() - } - } - b.Logf("Children=%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") - } - } - b.Logf("ChildrenFiltered=%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() - } - } - b.Logf("Parent=%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]") - } - } - b.Logf("ParentFiltered=%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() - } - } - b.Logf("Parents=%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") - } - } - b.Logf("ParentsFiltered=%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") - } - } - b.Logf("ParentsUntil=%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) - } - } - b.Logf("ParentsUntilSelection=%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...) - } - } - b.Logf("ParentsUntilNodes=%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") - } - } - b.Logf("ParentsFilteredUntil=%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) - } - } - b.Logf("ParentsFilteredUntilSelection=%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...) - } - } - b.Logf("ParentsFilteredUntilNodes=%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() - } - } - b.Logf("Siblings=%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]") - } - } - b.Logf("SiblingsFiltered=%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() - } - } - b.Logf("Next=%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]") - } - } - b.Logf("NextFiltered=%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() - } - } - b.Logf("NextAll=%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]") - } - } - b.Logf("NextAllFiltered=%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() - } - } - b.Logf("Prev=%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) - b.Logf("PrevFiltered=%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() - } - } - b.Logf("PrevAll=%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]") - } - } - b.Logf("PrevAllFiltered=%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)") - } - } - b.Logf("NextUntil=%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) - } - } - b.Logf("NextUntilSelection=%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...) - } - } - b.Logf("NextUntilNodes=%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)") - } - } - b.Logf("PrevUntil=%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) - } - } - b.Logf("PrevUntilSelection=%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...) - } - } - b.Logf("PrevUntilNodes=%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") - } - } - b.Logf("NextFilteredUntil=%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) - } - } - b.Logf("NextFilteredUntilSelection=%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...) - } - } - b.Logf("NextFilteredUntilNodes=%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") - } - } - b.Logf("PrevFilteredUntil=%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) - } - } - b.Logf("PrevFilteredUntilSelection=%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...) - } - } - b.Logf("PrevFilteredUntilNodes=%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") - } - } - b.Logf("Closest=%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) - } - } - b.Logf("ClosestSelection=%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...) - } - } - b.Logf("ClosestNodes=%d", n) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/example_test.go b/_third_party/github.com/PuerkitoBio/goquery/example_test.go deleted file mode 100644 index 9e8c3c54b8..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/example_test.go +++ /dev/null @@ -1,32 +0,0 @@ -package goquery - -import ( - "fmt" - "log" - - // In real use, this import would be required (not in this example, since it - // is part of the goquery package) - //"github.com/PuerkitoBio/goquery" -) - -// This example scrapes the reviews shown on the home page of metalsucks.net. -func ExampleScrape_MetalSucks() { - // Load the HTML document (in real use, the type would be *goquery.Document) - doc, err := NewDocument("http://metalsucks.net") - if err != nil { - log.Fatal(err) - } - - // Find the review items (the type of the Selection would be *goquery.Selection) - doc.Find(".reviews-wrap article .review-rhs").Each(func(i int, s *Selection) { - // For each item found, get the band and title - band := s.Find("h3").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. -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/expand_test.go b/_third_party/github.com/PuerkitoBio/goquery/expand_test.go deleted file mode 100644 index cff69968c4..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/expand_test.go +++ /dev/null @@ -1,68 +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 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 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) -} diff --git a/_third_party/github.com/PuerkitoBio/goquery/filter_test.go b/_third_party/github.com/PuerkitoBio/goquery/filter_test.go deleted file mode 100644 index d5978b5c91..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/filter_test.go +++ /dev/null @@ -1,191 +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 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 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 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/_third_party/github.com/PuerkitoBio/goquery/iteration_test.go b/_third_party/github.com/PuerkitoBio/goquery/iteration_test.go deleted file mode 100644 index 33434047db..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/iteration_test.go +++ /dev/null @@ -1,88 +0,0 @@ -package goquery - -import ( - "testing" - - "bosun.org/_third_party/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/_third_party/github.com/PuerkitoBio/goquery/manipulation_test.go b/_third_party/github.com/PuerkitoBio/goquery/manipulation_test.go deleted file mode 100644 index f1c6e3ef90..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/manipulation_test.go +++ /dev/null @@ -1,453 +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 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/_third_party/github.com/PuerkitoBio/goquery/property_test.go b/_third_party/github.com/PuerkitoBio/goquery/property_test.go deleted file mode 100644 index 1095dcc899..0000000000 --- a/_third_party/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/_third_party/github.com/PuerkitoBio/goquery/query_test.go b/_third_party/github.com/PuerkitoBio/goquery/query_test.go deleted file mode 100644 index 2f40f42451..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/query_test.go +++ /dev/null @@ -1,96 +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 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/_third_party/github.com/PuerkitoBio/goquery/traversal_test.go b/_third_party/github.com/PuerkitoBio/goquery/traversal_test.go deleted file mode 100644 index 00fb5cd505..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/traversal_test.go +++ /dev/null @@ -1,697 +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 TestFindInvalidSelector(t *testing.T) { - defer assertPanic(t) - Doc().Find(":+ ^") -} - -func TestChainedFind(t *testing.T) { - sel := Doc().Find("div.hero-unit").Find(".row-fluid") - assertLength(t, sel.Nodes, 4) -} - -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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/_third_party/github.com/PuerkitoBio/goquery/type_test.go b/_third_party/github.com/PuerkitoBio/goquery/type_test.go deleted file mode 100644 index 36b142bdfd..0000000000 --- a/_third_party/github.com/PuerkitoBio/goquery/type_test.go +++ /dev/null @@ -1,192 +0,0 @@ -package goquery - -import ( - "bytes" - "fmt" - "os" - "testing" - - "bosun.org/_third_party/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 DocClone() *Document { - return CloneDocument(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 DocBClone() *Document { - return CloneDocument(DocB()) -} -func DocW() *Document { - if docW == nil { - docW = loadDoc("gowiki.html") - } - return docW -} -func DocWClone() *Document { - return CloneDocument(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") - } -} diff --git a/_third_party/github.com/StackExchange/httpunit/httpunit_test.go b/_third_party/github.com/StackExchange/httpunit/httpunit_test.go deleted file mode 100644 index a0945c296a..0000000000 --- a/_third_party/github.com/StackExchange/httpunit/httpunit_test.go +++ /dev/null @@ -1,53 +0,0 @@ -package httpunit - -import "testing" - -func TestIPMapResolve(t *testing.T) { - m := IPMap{ - "BASEIP": []string{"87.65.43."}, - `^(\d+)$`: []string{"*", "BASEIP$1", "BASEIP($1+64)", "123.45.67.$1"}, - `^(\d+)i$`: []string{"*", "10.0.1.$1", "10.0.2.$1", "BASEIP$1", "BASEIP($1+64)", "123.45.67.$1"}, - } - tests := []struct { - in string - error bool - out []string - }{ - { - "16", - false, - []string{ - "*", - "123.45.67.16", - "87.65.43.16", - "87.65.43.80", - }, - }, - { - "16i", - false, - []string{"*", - "10.0.1.16", - "10.0.2.16", - "123.45.67.16", - "87.65.43.16", - "87.65.43.80", - }, - }, - { - "unused", - true, - nil, - }, - } - for i, test := range tests { - ips, err := m.Expand(test.in) - if err != nil && !test.error { - t.Errorf("%v: expected no error, got %v", i, err) - } else if err == nil && test.error { - t.Errorf("%v: expected error", i) - } else if !strEqual(ips, test.out) { - t.Errorf("%v: expected %v, got %v", i, test.out, ips) - } - } -} diff --git a/_third_party/github.com/StackExchange/mof/mof_test.go b/_third_party/github.com/StackExchange/mof/mof_test.go deleted file mode 100644 index 2ac39a9214..0000000000 --- a/_third_party/github.com/StackExchange/mof/mof_test.go +++ /dev/null @@ -1,195 +0,0 @@ -package mof - -import ( - "encoding/json" - "io/ioutil" - "testing" -) - -func TestUnmarshal(t *testing.T) { - tests := []struct { - filename string - typ interface{} - expected string - }{ - // ASCII - {"ascii.mof", MSFT_DSCConfigurationStatus{}, asciiMOFExpected}, - - // UTF-16, little-endian - {"utf16-le.mof", MSFT_DSCConfigurationStatus{}, utf16leMOFExpected}, - } - for _, test := range tests { - b, err := ioutil.ReadFile(test.filename) - if err != nil { - t.Fatal(err) - } - var v interface{} - if err := Unmarshal(b, &v); err != nil { - t.Fatal(err) - } - s := test.typ - if err := Unmarshal(b, &s); err != nil { - t.Fatal(err) - } - vb, _ := json.MarshalIndent(&v, "", " ") - sb, _ := json.MarshalIndent(&s, "", " ") - if string(vb) != test.expected { - t.Errorf("%v: unexpected interface value", test.filename) - } - if string(sb) != test.expected { - t.Errorf("%v: unexpected struct value", test.filename) - } - } -} - -type MSFT_DSCConfigurationStatus struct { - MSFT_DSCConfigurationStatus []struct { - DurationInSeconds int - Error string - HostName string - IPV4Addresses []string - IPV6Addresses []string - JobID string - LCMVersion string - Locale string - MACAddresses []string - MetaConfiguration struct { - AllowModuleOverwrite bool - ConfigurationDownloadManagers []interface{} - ConfigurationMode string - ConfigurationModeFrequencyMins int - DebugMode []string - LCMCompatibleVersions []string - LCMState string - LCMVersion string - RebootNodeIfNeeded bool - RefreshFrequencyMins int - RefreshMode string - ReportManagers []interface{} - ResourceModuleManagers []interface{} - StatusRetentionTimeInDays int - } - Mode string - RebootRequested bool - StartDate string - Status string - Type string - } - ReturnValue int -} - -const ( - asciiMOFExpected = `{ - "MSFT_DSCConfigurationStatus": [ - { - "DurationInSeconds": 0, - "Error": "Current configuration does not exist. Execute Start-DscConfiguration command with -Path parameter to specify a configuration file and create a current configuration first.", - "HostName": "HOSTNAME-VM", - "IPV4Addresses": [ - "1.2.3.4", - "127.0.0.1" - ], - "IPV6Addresses": [ - "fe80::9aac:52eb:f6ca:a32b%3", - "::2000:0:0:0", - "::1", - "::2000:0:0:0" - ], - "JobID": "{1D75864B-1451-11E5-8276-08002721727D}", - "LCMVersion": "2.0", - "Locale": "en-US", - "MACAddresses": [ - "28-09-35-11-42-8A", - "00-00-00-00-00-00-00-E0" - ], - "MetaConfiguration": { - "AllowModuleOverwrite": false, - "ConfigurationDownloadManagers": [], - "ConfigurationMode": "ApplyAndMonitor", - "ConfigurationModeFrequencyMins": 15, - "DebugMode": [ - "NONE" - ], - "LCMCompatibleVersions": [ - "1.0", - "2.0" - ], - "LCMState": "Idle", - "LCMVersion": "2.0", - "RebootNodeIfNeeded": false, - "RefreshFrequencyMins": 30, - "RefreshMode": "PUSH", - "ReportManagers": [], - "ResourceModuleManagers": [], - "StatusRetentionTimeInDays": 10 - }, - "Mode": "PUSH", - "RebootRequested": false, - "StartDate": "2015/06/16 13:57:13", - "Status": "Failure", - "Type": "ReadOnly" - } - ], - "ReturnValue": 0 -}` - - utf16leMOFExpected = `{ - "MSFT_DSCConfigurationStatus": [ - { - "DurationInSeconds": 8127, - "HostName": "GBRAY02", - "IPV4Addresses": [ - "192.168.0.7", - "172.28.19.1", - "127.0.0.1" - ], - "IPV6Addresses": [ - "fe80::ec13:deaa:d70c:615c%3", - "::2000:0:0:0", - "fe80::51c1:6e25:a2b1:6053%26", - "::2000:0:0:0", - "::1", - "::2000:0:0:0" - ], - "JobID": "{79D1FB3D-0F06-11E5-8288-D48564B35523}", - "LCMVersion": "2.0", - "Locale": "en-US", - "MACAddresses": [ - "D4-85-64-B3-55-23", - "08-00-27-00-4C-02", - "00-00-00-00-00-00-00-E0", - "00-00-00-00-00-00-00-E0" - ], - "MetaConfiguration": { - "AllowModuleOverwrite": false, - "ConfigurationDownloadManagers": [], - "ConfigurationMode": "ApplyAndMonitor", - "ConfigurationModeFrequencyMins": 15, - "DebugMode": [ - "NONE" - ], - "LCMCompatibleVersions": [ - "1.0", - "2.0" - ], - "LCMState": "Ready", - "LCMVersion": "2.0", - "RebootNodeIfNeeded": false, - "RefreshFrequencyMins": 30, - "RefreshMode": "PUSH", - "ReportManagers": [], - "ResourceModuleManagers": [], - "StatusRetentionTimeInDays": 10 - }, - "MetaData": "Author: gbray; Name: SEConfig_Simple; Version: 2.0.0; GenerationDate: 06/08/2015 16:42:06; GenerationHost: GBRAY02;", - "Mode": "PUSH", - "NumberOfResources": 1, - "RebootRequested": false, - "StartDate": "2015/06/09 18:20:20", - "Status": "Success", - "Type": "Reboot" - } - ], - "ReturnValue": 0 -}` -) diff --git a/_third_party/github.com/StackExchange/wmi/wmi_test.go b/_third_party/github.com/StackExchange/wmi/wmi_test.go deleted file mode 100644 index aea63dfeca..0000000000 --- a/_third_party/github.com/StackExchange/wmi/wmi_test.go +++ /dev/null @@ -1,316 +0,0 @@ -// +build windows - -package wmi - -import ( - "encoding/json" - "fmt" - "reflect" - "runtime" - "runtime/debug" - "sync" - "testing" - "time" -) - -func TestQuery(t *testing.T) { - var dst []Win32_Process - q := CreateQuery(&dst, "") - err := Query(q, &dst) - if err != nil { - t.Fatal(err) - } -} - -func TestFieldMismatch(t *testing.T) { - type s struct { - Name string - HandleCount uint32 - Blah uint32 - } - var dst []s - err := Query("SELECT Name, HandleCount FROM Win32_Process", &dst) - if err == nil || err.Error() != `wmi: cannot load field "Blah" into a "uint32": no such struct field` { - t.Error("Expected err field mismatch") - } -} - -func TestStrings(t *testing.T) { - printed := false - f := func() { - var dst []Win32_Process - zeros := 0 - q := CreateQuery(&dst, "") - for i := 0; i < 5; i++ { - err := Query(q, &dst) - if err != nil { - t.Fatal(err, q) - } - for _, d := range dst { - v := reflect.ValueOf(d) - for j := 0; j < v.NumField(); j++ { - f := v.Field(j) - if f.Kind() != reflect.String { - continue - } - s := f.Interface().(string) - if len(s) > 0 && s[0] == '\u0000' { - zeros++ - if !printed { - printed = true - j, _ := json.MarshalIndent(&d, "", " ") - t.Log("Example with \\u0000:\n", string(j)) - } - } - } - } - fmt.Println("iter", i, "zeros:", zeros) - } - if zeros > 0 { - t.Error("> 0 zeros") - } - } - - fmt.Println("Disabling GC") - debug.SetGCPercent(-1) - f() - fmt.Println("Enabling GC") - debug.SetGCPercent(100) - f() -} - -func TestNamespace(t *testing.T) { - var dst []Win32_Process - q := CreateQuery(&dst, "") - err := QueryNamespace(q, &dst, `root\CIMV2`) - if err != nil { - t.Fatal(err) - } - dst = nil - err = QueryNamespace(q, &dst, `broken\nothing`) - if err == nil { - t.Fatal("expected error") - } -} - -func TestCreateQuery(t *testing.T) { - type TestStruct struct { - Name string - Count int - } - var dst []TestStruct - output := "SELECT Name, Count FROM TestStruct WHERE Count > 2" - tests := []interface{}{ - &dst, - dst, - TestStruct{}, - &TestStruct{}, - } - for i, test := range tests { - if o := CreateQuery(test, "WHERE Count > 2"); o != output { - t.Error("bad output on", i, o) - } - } - if CreateQuery(3, "") != "" { - t.Error("expected empty string") - } -} - -func _TestMany(t *testing.T) { - limit := 5000 - fmt.Println("running until:", limit) - fmt.Println("No panics mean it succeeded. Other errors are OK.") - runtime.GOMAXPROCS(2) - wg := sync.WaitGroup{} - wg.Add(2) - go func() { - for i := 0; i < limit; i++ { - if i%25 == 0 { - fmt.Println(i) - } - var dst []Win32_PerfRawData_PerfDisk_LogicalDisk - q := CreateQuery(&dst, "") - err := Query(q, &dst) - if err != nil { - fmt.Println("ERROR disk", err) - } - } - wg.Done() - }() - go func() { - for i := 0; i > -limit; i-- { - if i%25 == 0 { - fmt.Println(i) - } - var dst []Win32_OperatingSystem - q := CreateQuery(&dst, "") - err := Query(q, &dst) - if err != nil { - fmt.Println("ERROR OS", err) - } - } - wg.Done() - }() - wg.Wait() -} - -type Win32_Process struct { - CSCreationClassName string - CSName string - Caption *string - CommandLine *string - CreationClassName string - CreationDate *time.Time - Description *string - ExecutablePath *string - ExecutionState *uint16 - Handle string - HandleCount uint32 - InstallDate *time.Time - KernelModeTime uint64 - MaximumWorkingSetSize *uint32 - MinimumWorkingSetSize *uint32 - Name string - OSCreationClassName string - OSName string - OtherOperationCount uint64 - OtherTransferCount uint64 - PageFaults uint32 - PageFileUsage uint32 - ParentProcessId uint32 - PeakPageFileUsage uint32 - PeakVirtualSize uint64 - PeakWorkingSetSize uint32 - Priority uint32 - PrivatePageCount uint64 - ProcessId uint32 - QuotaNonPagedPoolUsage uint32 - QuotaPagedPoolUsage uint32 - QuotaPeakNonPagedPoolUsage uint32 - QuotaPeakPagedPoolUsage uint32 - ReadOperationCount uint64 - ReadTransferCount uint64 - SessionId uint32 - Status *string - TerminationDate *time.Time - ThreadCount uint32 - UserModeTime uint64 - VirtualSize uint64 - WindowsVersion string - WorkingSetSize uint64 - WriteOperationCount uint64 - WriteTransferCount uint64 -} - -type Win32_PerfRawData_PerfDisk_LogicalDisk struct { - AvgDiskBytesPerRead uint64 - AvgDiskBytesPerRead_Base uint32 - AvgDiskBytesPerTransfer uint64 - AvgDiskBytesPerTransfer_Base uint32 - AvgDiskBytesPerWrite uint64 - AvgDiskBytesPerWrite_Base uint32 - AvgDiskQueueLength uint64 - AvgDiskReadQueueLength uint64 - AvgDiskSecPerRead uint32 - AvgDiskSecPerRead_Base uint32 - AvgDiskSecPerTransfer uint32 - AvgDiskSecPerTransfer_Base uint32 - AvgDiskSecPerWrite uint32 - AvgDiskSecPerWrite_Base uint32 - AvgDiskWriteQueueLength uint64 - Caption *string - CurrentDiskQueueLength uint32 - Description *string - DiskBytesPerSec uint64 - DiskReadBytesPerSec uint64 - DiskReadsPerSec uint32 - DiskTransfersPerSec uint32 - DiskWriteBytesPerSec uint64 - DiskWritesPerSec uint32 - FreeMegabytes uint32 - Frequency_Object uint64 - Frequency_PerfTime uint64 - Frequency_Sys100NS uint64 - Name string - PercentDiskReadTime uint64 - PercentDiskReadTime_Base uint64 - PercentDiskTime uint64 - PercentDiskTime_Base uint64 - PercentDiskWriteTime uint64 - PercentDiskWriteTime_Base uint64 - PercentFreeSpace uint32 - PercentFreeSpace_Base uint32 - PercentIdleTime uint64 - PercentIdleTime_Base uint64 - SplitIOPerSec uint32 - Timestamp_Object uint64 - Timestamp_PerfTime uint64 - Timestamp_Sys100NS uint64 -} - -type Win32_OperatingSystem struct { - BootDevice string - BuildNumber string - BuildType string - Caption *string - CodeSet string - CountryCode string - CreationClassName string - CSCreationClassName string - CSDVersion *string - CSName string - CurrentTimeZone int16 - DataExecutionPrevention_Available bool - DataExecutionPrevention_32BitApplications bool - DataExecutionPrevention_Drivers bool - DataExecutionPrevention_SupportPolicy *uint8 - Debug bool - Description *string - Distributed bool - EncryptionLevel uint32 - ForegroundApplicationBoost *uint8 - FreePhysicalMemory uint64 - FreeSpaceInPagingFiles uint64 - FreeVirtualMemory uint64 - InstallDate time.Time - LargeSystemCache *uint32 - LastBootUpTime time.Time - LocalDateTime time.Time - Locale string - Manufacturer string - MaxNumberOfProcesses uint32 - MaxProcessMemorySize uint64 - MUILanguages *[]string - Name string - NumberOfLicensedUsers *uint32 - NumberOfProcesses uint32 - NumberOfUsers uint32 - OperatingSystemSKU uint32 - Organization string - OSArchitecture string - OSLanguage uint32 - OSProductSuite uint32 - OSType uint16 - OtherTypeDescription *string - PAEEnabled *bool - PlusProductID *string - PlusVersionNumber *string - PortableOperatingSystem bool - Primary bool - ProductType uint32 - RegisteredUser string - SerialNumber string - ServicePackMajorVersion uint16 - ServicePackMinorVersion uint16 - SizeStoredInPagingFiles uint64 - Status string - SuiteMask uint32 - SystemDevice string - SystemDirectory string - SystemDrive string - TotalSwapSpaceSize *uint64 - TotalVirtualMemorySize uint64 - TotalVisibleMemorySize uint64 - Version string - WindowsDirectory string -} diff --git a/_third_party/github.com/andybalholm/cascadia/benchmark_test.go b/_third_party/github.com/andybalholm/cascadia/benchmark_test.go deleted file mode 100644 index df1c4c2bf6..0000000000 --- a/_third_party/github.com/andybalholm/cascadia/benchmark_test.go +++ /dev/null @@ -1,53 +0,0 @@ -package cascadia - -import ( - "strings" - "testing" - - "bosun.org/_third_party/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/_third_party/github.com/andybalholm/cascadia/parser_test.go b/_third_party/github.com/andybalholm/cascadia/parser_test.go deleted file mode 100644 index 47dd4a6922..0000000000 --- a/_third_party/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/_third_party/github.com/andybalholm/cascadia/selector_test.go b/_third_party/github.com/andybalholm/cascadia/selector_test.go deleted file mode 100644 index 62b5417f42..0000000000 --- a/_third_party/github.com/andybalholm/cascadia/selector_test.go +++ /dev/null @@ -1,559 +0,0 @@ -package cascadia - -import ( - "strings" - "testing" - - "bosun.org/_third_party/golang.org/x/net/html" -) - -type selectorTest struct { - HTML, selector string - results []string -} - -func nodeString(n *html.Node) string { - switch n.Type { - case html.TextNode: - return n.Data - case html.ElementNode: - return html.Token{ - Type: html.StartTagToken, - Data: n.Data, - Attr: n.Attr, - }.String() - } - return "" -} - -var selectorTests = []selectorTest{ - { - `
This address...
`, - "address", - []string{ - "
", - }, - }, - { - ``, - "*", - []string{ - "", - "", - "", - "", - }, - }, - { - `

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

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