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

jeffotoni / quick / 229

07 Mar 2025 01:30PM UTC coverage: 56.806% (-0.01%) from 56.816%
229

push

circleci

jeffotoni
regex bug fix

8 of 16 new or added lines in 2 files covered. (50.0%)

2166 of 3813 relevant lines covered (56.81%)

2618.09 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:[0-9]+}", func(c *quick.Ctx) error {
×
16
                c.Set("Content-Type", "application/json")
×
17
                return c.Status(200).String("Quick ação total!!!")
×
18
        })
×
19

NEW
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