From 9a215fe3fe2e529c95bbb19e1e7306b0a6c71f0d Mon Sep 17 00:00:00 2001 From: hj Date: Mon, 6 Oct 2025 14:44:33 +0800 Subject: [PATCH] typo --- cmd/litefs-example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/litefs-example/main.go b/cmd/litefs-example/main.go index d793ef6..0d37913 100644 --- a/cmd/litefs-example/main.go +++ b/cmd/litefs-example/main.go @@ -159,7 +159,7 @@ func handleGenerate(w http.ResponseWriter, r *http.Request) { Company: gofakeit.Company(), } if _, err := db.ExecContext(r.Context(), `INSERT INTO persons (name, phone, company) VALUES (?, ?, ?)`, person.Name, person.Phone, person.Company); err != nil { - http.Error(w, "Method not alllowed", http.StatusMethodNotAllowed) + http.Error(w, "Method not allowed", http.StatusMethodNotAllowed) return }