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

profe-ajedrez / obreron / 22269206492

22 Feb 2026 02:55AM UTC coverage: 5.357% (-87.1%) from 92.476%
22269206492

push

github

areyes
Issue 2 — Sistema de errores v3: sentinels + BuildError (contrato cerrado)

6 of 107 new or added lines in 9 files covered. (5.61%)

5 existing lines in 4 files now uncovered.

6 of 112 relevant lines covered (5.36%)

0.08 hits per line

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

0.0
/dialect/postgres.go
1
package dialect
2

3
import "strconv"
4

5
// Postgres implements PostgreSQL dialect.
6
type Postgres struct{}
7

NEW
8
func (Postgres) AppendPlaceholder(dst []byte, n int) []byte {
×
NEW
9
        dst = append(dst, '$')
×
NEW
10
        // n is 0-based; PostgreSQL placeholders are 1-based.
×
NEW
11
        return strconv.AppendInt(dst, int64(n+1), 10)
×
NEW
12
}
×
13

NEW
14
func (Postgres) AppendQuotedIdentifier(dst []byte, id string) []byte {
×
NEW
15
        dst = append(dst, '"')
×
NEW
16
        for i := 0; i < len(id); i++ {
×
NEW
17
                b := id[i]
×
NEW
18
                if b == '"' {
×
NEW
19
                        dst = append(dst, '"', '"')
×
NEW
20
                        continue
×
21
                }
NEW
22
                dst = append(dst, b)
×
23
        }
NEW
24
        dst = append(dst, '"')
×
NEW
25
        return dst
×
26
}
27

NEW
28
func (Postgres) Name() string { return "postgres" }
×
29

NEW
30
func (Postgres) SupportsReturning() bool { return true }
×
31

NEW
32
func (Postgres) MaxParams() int { return 0 }
×
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