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

mlange-42 / arche-serde / 7488271365

11 Jan 2024 11:45AM CUT coverage: 85.124% (+1.4%) from 83.766%
7488271365

Pull #3

github

web-flow
Merge a0e8f319c into 8937cb386
Pull Request #3: Serialize entity relations

206 of 242 relevant lines covered (85.12%)

29.18 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.EntityData
7
        Types      []string
8
        Entities   []ecs.Entity
9
        Components []entry
10
        Resources  map[string]entry
11
}
12

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

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