<commit_before>package contracts

import "net/http"

type Routerable interface {
	http.Handler
	NewRouter() Routerable
	Get(path string, fn func(http.ResponseWriter, *http.Request)) Routerable
	Serve()
}<commit_msg>Added verb handling to routes<commit_after>package contracts

import "net/http"

type Routerable interface {
	http.Handler

	NewRouter() Routerable

	Get(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Head(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Post(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Put(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Patch(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Delete(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Options(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Match(verbs []string, path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	All(path string, fn func(http.ResponseWriter, *http.Request)) Routerable

	Serve()
}
{'fraction_non_alphanumeric': 0.11038961038961038, 'fraction_numerical': 0.0, 'mean_word_length': 6.390410958904109, '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': '478441', 'n_tokens_mistral': 343, 'n_tokens_neox': 330, 'n_words': 88}