You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thanks for Essen 👍
This is not really a bug but I wanted to be sure that I didn't get this part wrong. At the moment there is no way to display the page name/id directly in the route right ?
I am using
e.Get("/pages", func(res essen.Response, req essen.Request) {
page := req.Req.URL.Query().Get("page")
var a Page
err := db.QueryRow("SELECT * FROM pages where page = ?", page).Scan(&a.Page, &a.Content, &a.Date)
this works with a route like /pages?page=about but not for /about
The text was updated successfully, but these errors were encountered:
first of all thanks for Essen 👍
This is not really a bug but I wanted to be sure that I didn't get this part wrong. At the moment there is no way to display the page name/id directly in the route right ?
I am using
this works with a route like /pages?page=about but not for /about
The text was updated successfully, but these errors were encountered: