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

mlange-42 / modo / 12810176069

16 Jan 2025 01:43PM CUT coverage: 36.569% (+1.8%) from 34.803%
12810176069

push

github

web-flow
Implement re-exports on package level (#42)

235 of 505 new or added lines in 11 files covered. (46.53%)

41 existing lines in 4 files now uncovered.

437 of 1195 relevant lines covered (36.57%)

2.65 hits per line

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

78.57
/format/plain.go
1
package format
2

3
import (
4
        "path"
5

6
        "github.com/mlange-42/modo/document"
7
)
8

9
type PlainFormatter struct{}
10

11
func (f *PlainFormatter) ProcessMarkdown(name, summary, text string) (string, error) {
2✔
12
        return text, nil
2✔
13
}
2✔
14

NEW
15
func (f *PlainFormatter) WriteAuxiliary(p *document.Package, dir string, proc *document.Processor) error {
×
16
        return nil
×
17
}
×
18

19
func (f *PlainFormatter) ToFilePath(p string, kind string) (string, error) {
4✔
20
        if kind == "package" || kind == "module" {
6✔
21
                return path.Join(p, "_index.md"), nil
2✔
22
        }
2✔
23
        return p + ".md", nil
2✔
24
}
25

26
func (f *PlainFormatter) ToLinkPath(p string, kind string) (string, error) {
4✔
27
        return f.ToFilePath(p, kind)
4✔
28
}
4✔
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

© 2025 Coveralls, Inc