<commit_before>// Copyright 2014 <NAME>.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package check provides useful checks for ht.
package check

import (
	"bytes"
	"encoding/json"
	"fmt"

	"image"
	_ "image/gif"
	_ "image/jpeg"
	_ "image/png"
	"net/http"
	"regexp"
	"strings"
	"time"
	"unicode/utf8"

	"github.com/nytlabs/gojee"
	"github.com/vdobler/ht/fingerprint"
	"github.com/vdobler/ht/response"

	"code.google.com/p/cascadia"
	"code.google.com/p/go.net/html"
)

func init() {
	RegisterCheck(BodyContains{})
	RegisterCheck(&BodyMatch{})
	RegisterCheck(Header{})
	RegisterCheck(ResponseTime{})
	RegisterCheck(SetCookie{})
	RegisterCheck(ValidHTML{})<commit_msg>Change import path of Go subrepos.<commit_after>// Copyright 2014 <NAME>.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package check provides useful checks for ht.
package check

import (
	"bytes"
	"encoding/json"
	"fmt"

	"image"
	_ "image/gif"
	_ "image/jpeg"
	_ "image/png"
	"net/http"
	"regexp"
	"strings"
	"time"
	"unicode/utf8"

	"github.com/nytlabs/gojee"
	"github.com/vdobler/ht/fingerprint"
	"github.com/vdobler/ht/response"

	"code.google.com/p/cascadia"
	"golang.org/x/net/html"
)

func init() {
	RegisterCheck(BodyContains{})
	RegisterCheck(&BodyMatch{})
	RegisterCheck(Header{})
	RegisterCheck(ResponseTime{})
	RegisterCheck(SetCookie{})
	RegisterCheck(ValidHTML{})
{'fraction_non_alphanumeric': 0.14342366159947126, 'fraction_numerical': 0.006609385327164574, 'mean_word_length': 4.34982332155477, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7005449', 'n_tokens_mistral': 576, 'n_tokens_neox': 552, 'n_words': 126}