<commit_before>// Copyright 2013 GCP Lab. All rights reserved.
// Use of this sorce code is governed by the MIT license
// that can be found in the LICENSE file.

package badge

import (
    "net/http"
    "text/template"
)

var (
    eventsTmpl *template.Template =
            template.Must(template.ParseFiles("templates/events.html"))
)

func init() {
    http.HandleFunc("/events", eventsHandler)
}

func eventsHandler(w http.ResponseWriter, r *http.Request) {
    // Do nothing now...
    err := eventsTmpl.Execute(w, nil)
    if err != nil {
        http.Error(w, err.Error(), http.StatusInternalServerError)
    }
}         <commit_msg>events: Keep the indent rule in golang<commit_after>// Copyright 2013 GCP Lab. All rights reserved.
// Use of this sorce code is governed by the MIT license
// that can be found in the LICENSE file.

package badge

import (
	"net/http"
	"text/template"
)

var (
	eventsTmpl *template.Template =
		template.Must(template.ParseFiles("templates/events.html"))
)

func init() {
	http.HandleFunc("/events", eventsHandler)
}

func eventsHandler(w http.ResponseWriter, r *http.Request) {
	// Do nothing now...
	err := eventsTmpl.Execute(w, nil)
	if err != nil {
		http.Error(w, err.Error(), http.StatusInternalServerError)
	}
}
{'fraction_non_alphanumeric': 0.12420886075949367, 'fraction_numerical': 0.006329113924050633, 'mean_word_length': 3.3321917808219177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '292828', 'n_tokens_mistral': 410, 'n_tokens_neox': 393, 'n_words': 120}