Skip to content

Commit

Permalink
[pocketbase#6019] fixed README example
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Dec 4, 2024
1 parent 376627b commit b0276ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Here is a minimal example:

app.OnServe().BindFunc(func(se *core.ServeEvent) error {
// registers new "GET /hello" route
se.Router.Get("/hello", func(re *core.RequestEvent) error {
se.Router.GET("/hello", func(re *core.RequestEvent) error {
return re.String(200, "Hello world!")
})

Expand Down

0 comments on commit b0276ad

Please sign in to comment.