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

mlange-42 / modo / 12758132717

13 Jan 2025 11:36PM CUT coverage: 34.783%. Remained the same
12758132717

push

github

web-flow
Tweak README intro (#32)

264 of 759 relevant lines covered (34.78%)

2.0 hits per line

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

100.0
/document/util.go
1
package document
2

3
// appends to a slice, but guaranties to return a new one and not alter the original.
4
func appendNew[T any](sl []T, elems ...T) []T {
23✔
5
        sl2 := make([]T, len(sl), len(sl)+len(elems))
23✔
6
        copy(sl2, sl)
23✔
7
        sl2 = append(sl2, elems...)
23✔
8
        return sl2
23✔
9
}
23✔
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