CRITICAL BUG
For example, the following code demonstrate it:
golax.NewApi.
Root.
Node("users").
Node("{aa}").
Interceptor(&golax.Interceptor{
Before: func(c *golax.Context) {
fmt.Println("Parameter!!!", c.Parameter)
},
}).
Node("profile").Method("GET", func(c *golax.Context) {
fmt.Fprintln(c.Response, "hi user")
}).
Serve()
Fails misserably when:
curl http://localhost:8000/users/22/profile
CRITICAL BUG
For example, the following code demonstrate it:
Fails misserably when: