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

mlange-42 / arche-serde / 12457296363

22 Dec 2024 08:06PM CUT coverage: 95.808% (+0.1%) from 95.679%
12457296363

push

github

web-flow
Get rid of the use of deprecated methods (#15)

* upgrade to Arche v0.14.0
* get rid of the use of deprecated methods
* update CHANGELOG

17 of 17 new or added lines in 1 file covered. (100.0%)

320 of 334 relevant lines covered (95.81%)

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