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

mlange-42 / arche-serde / 7613049089

22 Jan 2024 02:56PM CUT coverage: 93.939%. Remained the same
7613049089

Pull #11

github

web-flow
Merge 393180d6e into 4bea2d3c8
Pull Request #11: Add test for components with generic type argument

217 of 231 relevant lines covered (93.94%)

25.84 hits per line

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

100.0
/types.go
1
package archeserde
2

3
import "github.com/mlange-42/arche/ecs"
4

5
type deserializer struct {
6
        World      ecs.EntityDump
7
        Types      []string
8
        Components []entry
9
        Resources  map[string]entry
10
}
11

12
type entry struct {
13
        Bytes []byte
14
}
15

16
func (e *entry) UnmarshalJSON(jsonData []byte) error {
188✔
17
        e.Bytes = jsonData
188✔
18
        return nil
188✔
19
}
188✔
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