<commit_before>package main

import (
    "log"
    "github.com/zenazn/goji"
)

var Config *BlitzerConf

// Logs a Println-type message if we're in debug mode
func D(v ...interface{}) {
    if Config.Debug == "yes" {
        log.Println(v...)
    }
}

// Logs a Printf-type message if we're in debug mode
func Df(format string, v ...interface{}) {
    if Config.Debug == "yes" {
        log.Printf(format, v...)
    }
}

func PopulateControllers() error {
    goji.Get("/incident/:incident_slug", GET_Incident_IncidentSlug)
    goji.Get("/incident/:incident_slug/history/:timestamp", GET_Incident_IncidentSlug_History_Timestamp)

    goji.Post("/event/nagios", POST_Event_Nagios)

    return nil
}<commit_msg>Added dir for static assets<commit_after>package main

import (
    "log"
    "net/http"
    "github.com/zenazn/goji"
)

var Config *BlitzerConf

// Logs a Println-type message if we're in debug mode
func D(v ...interface{}) {
    if Config.Debug == "yes" {
        log.Println(v...)
    }
}

// Logs a Printf-type message if we're in debug mode
func Df(format string, v ...interface{}) {
    if Config.Debug == "yes" {
        log.Printf(format, v...)
    }
}

func PopulateControllers() error {
    goji.Get("/static/*", http.FileServer(http.Dir("/Users/dan/blitzer")))
    goji.Get("/incident/:incident_slug", GET_Incident_IncidentSlug)
    goji.Get("/incident/:incident_slug/history/:timestamp", GET_Incident_IncidentSlug_History_Timestamp)

    goji.Post("/event/nagios", POST_Event_Nagios)

    return nil
}
{'fraction_non_alphanumeric': 0.14651773981603153, 'fraction_numerical': 0.0, 'mean_word_length': 3.218836565096953, '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': '1471786', 'n_tokens_mistral': 547, 'n_tokens_neox': 541, 'n_words': 115}