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

cybertec-postgresql / pgwatch3 / 10458959383

19 Aug 2024 06:32PM UTC coverage: 28.809% (+0.5%) from 28.289%
10458959383

push

github

web-flow
[!] add support for application commands (#504)

[!] add support for application commands
[*] move command-line options to respective packages
[+] add "metric" sub-commands "print-sql", "print-init", closes #505
[*] ignore warning SA5008: duplicate struct tag "choice" by staticcheck
[-] fix possible nil pointer dereference in `SetupCloseHandler()`
[+] add "source" sub-command "ping", closes #506
[*] make sure no extra logging is present for sub-commands
[*] improve context deadline error message
[*] use `cmp.Or()` stdlib function instead of custom
[+] add `Options.CompleteCommand()` function

95 of 295 new or added lines in 17 files covered. (32.2%)

3 existing lines in 3 files now uncovered.

1335 of 4634 relevant lines covered (28.81%)

0.33 hits per line

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

0.0
/src/embed.go
1
package main
2

3
import (
4
        "embed"
5
        "io/fs"
6
)
7

8
//go:embed webui/build
9
var efs embed.FS
10

11
var webuifs fs.FS
12

NEW
13
func init() {
×
NEW
14
        webuifs, _ = fs.Sub(efs, "webui/build")
×
NEW
15
}
×
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