summaryrefslogtreecommitdiff
path: root/view/recipe.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-11 20:25:31 +0200
committerxengineering <me@xengineering.eu>2024-09-11 20:25:54 +0200
commit54029aac92f17ec87d3ef0bb73fcdac271b209c9 (patch)
treee73a23c9c556485102efa1212bf24a908359a3ba /view/recipe.go
parent08150821fdb8fd1af23d84e661e61983a16a36b5 (diff)
downloadceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.tar
ceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.tar.zst
ceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.zip
Apply go fmt to all source files
This applies default Go code style recommendations.
Diffstat (limited to 'view/recipe.go')
-rw-r--r--view/recipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/recipe.go b/view/recipe.go
index 8236476..d77d771 100644
--- a/view/recipe.go
+++ b/view/recipe.go
@@ -41,7 +41,7 @@ func RecipeRead(w http.ResponseWriter, r *http.Request) {
}
}
if !is_valid {
- http.Error(w, "Unsupported view: " + template, http.StatusBadRequest)
+ http.Error(w, "Unsupported view: "+template, http.StatusBadRequest)
return
}