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

Function monsters

monster/monster.go:11–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11func monsters() []Monster {
12 return []Monster{
13 {
14 ID: 1,
15 Name: "Dracula",
16 Powers: []string{"Immortality", "Shape-shifting", "Mind Control"},
17 },
18 {
19 ID: 2,
20 Name: "Frankenstein",
21 Powers: []string{"Superhuman Strength", "Endurance"},
22 },
23 {
24 ID: 3,
25 Name: "Werewolf",
26 Powers: []string{"Shape-shifting", "Enhanced Senses", "Regeneration"},
27 },
28 {
29 ID: 4,
30 Name: "Zombie",
31 Powers: []string{"Undead Physiology", "Immunity to Pain"},
32 },
33 {
34 ID: 5,
35 Name: "Mummy",
36 Powers: []string{"Immortality", "Control over Sand"},
37 },
38 }
39}
40
41func loadMonsters() map[string]Monster {
42 monsters := monsters()

Callers 1

loadMonstersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected