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

jeffotoni / quick / 214

04 Mar 2025 07:11AM UTC coverage: 49.209% (-26.0%) from 75.221%
214

push

circleci

jeffotoni
Merge branch 'feature/refactory_http_client'

new version http client

32 of 1275 new or added lines in 44 files covered. (2.51%)

15 existing lines in 1 file now uncovered.

1803 of 3664 relevant lines covered (49.21%)

2724.12 hits per line

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

0.0
/example/group/group.go
1
package main
2

3
import "github.com/jeffotoni/quick"
4

NEW
5
func main() {
×
NEW
6
        q := quick.New(quick.Config{
×
NEW
7
                MaxBodySize: 5 * 1024 * 1024,
×
NEW
8
        })
×
NEW
9

×
NEW
10
        group := q.Group("/v1")
×
NEW
11
        group.Get("/user", func(c *quick.Ctx) error {
×
NEW
12
                return c.Status(200).SendString("[GET] [GROUP] /v1/user ok!!!")
×
NEW
13
        })
×
14

NEW
15
        group.Post("/user", func(c *quick.Ctx) error {
×
NEW
16
                return c.Status(200).SendString("[POST] [GROUP] /v1/user ok!!!")
×
NEW
17
        })
×
18

NEW
19
        group2 := q.Group("/v2")
×
NEW
20

×
NEW
21
        group2.Get("/user", func(c *quick.Ctx) error {
×
NEW
22
                c.Set("Content-Type", "application/json")
×
NEW
23
                return c.Status(200).SendString("Quick in action com [GET] /v2/user ❤️!")
×
NEW
24
        })
×
25

NEW
26
        group2.Post("/user", func(c *quick.Ctx) error {
×
NEW
27
                c.Set("Content-Type", "application/json")
×
NEW
28
                return c.Status(200).SendString("Quick in action com [POST] /v2/user ❤️!")
×
NEW
29
        })
×
30

NEW
31
        q.Listen("0.0.0.0:8080")
×
32
}
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