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").
>127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196