summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--handlers.go2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/handlers.go b/handlers.go
index 9f1dd8c..edfb333 100644
--- a/handlers.go
+++ b/handlers.go
@@ -17,7 +17,7 @@ func indexHandler(w http.ResponseWriter, r *http.Request) {
 	etag := fmt.Sprintf("%x", sha256.Sum256([]byte(staticCache.indexMod.String())))
 
 	// Take the hex-encoded sha256 sum of the index template's mod time
-	// to send as an ETag. If an error occured when grabbing the file info,
+	// to send as an ETag. If an error occurred when grabbing the file info,
 	// the ETag will be empty.
 	w.Header().Set("ETag", "\""+etag+"\"")
 	w.Header().Set("Content-Type", htmlutf8)
diff --git a/main.go b/main.go
index e9047cc..ff0447e 100644
--- a/main.go
+++ b/main.go
@@ -44,7 +44,7 @@ func main() {
 		HandlerFunc(apiEndpointHandler)
 
 	// Using stdlib net/url to validate the input URLs rather than regex.
-	// Validating a URL with regex is unwieldly
+	// Validating a URL with regex is unwieldy
 	api.Path("/{format:(?:plain)}/{endpoint:(?:mentions|users|tweets)}").
 		Queries("url", "{url}", "q", "{query}").
 		Methods("GET").