MCPcopy Index your code
hub / github.com/dreamsofcode-io/nethttp / loadMonsters

Function loadMonsters

monster/monster.go:41–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func loadMonsters() map[string]Monster {
42 monsters := monsters()
43 res := make(map[string]Monster, len(monsters))
44
45 for _, x := range monsters {
46 res[strconv.Itoa(int(x.ID))] = x
47 }
48
49 return res
50}

Callers 1

FindByIDMethod · 0.85

Calls 1

monstersFunction · 0.85

Tested by

no test coverage detected