• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jeffotoni / quick / 230

07 Mar 2025 01:47PM UTC coverage: 56.952% (+0.1%) from 56.806%
230

push

circleci

jeffotoni
doc clean regex

0 of 1 new or added line in 1 file covered. (0.0%)

2171 of 3812 relevant lines covered (56.95%)

2618.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/example/quick.regex/quick.regex.go
1
package main
2

3
import (
4
        "github.com/jeffotoni/quick"
5
        "github.com/jeffotoni/quick/middleware/msgid"
6
)
7

8
func main() {
×
9
        q := quick.New()
×
10

×
11
        // Adding middleware msgid
×
12
        q.Use(msgid.New())
×
13

×
14
        // Corrected route using :id instead of {id:[0-9]+}
×
NEW
15
        q.Get("/v1/user/:id", func(c *quick.Ctx) error {
×
16
                c.Set("Content-Type", "application/json")
×
17
                return c.Status(200).String("Quick ação total!!!")
×
18
        })
×
19

20
        q.Listen("0.0.0.0:8080")
×
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc