Skip to content

v0.1.0

Compare
Choose a tag to compare
@2hmad 2hmad released this 09 Apr 23:17
· 118 commits to master since this release

🚀 New

  • Support Wildcard route
router.Get("/users/*", func(ctx *Context) error {
  ctx.String("hello")
  return nil
})
  • Support Static Rotues
router.Get("/", func(ctx *Context) error {
  ctx.SetHeader("test-header", "test header value")
  fmt.Println(ctx.GetHeader("test-header"))
  return nil
})

🧹 Updates

  • Change ctx in context struct to RequestCtx