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

mlange-42 / arche-serde / 7503512427

12 Jan 2024 02:31PM CUT coverage: 84.141%. Remained the same
7503512427

push

github

web-flow
Fix for renamed methods in ecs.World (#5)

191 of 227 relevant lines covered (84.14%)

30.83 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 {
18✔
17
        e.Bytes = jsonData
18✔
18
        return nil
18✔
19
}
18✔
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