()
| 3 | import "github.com/GoMudEngine/GoMud/internal/util" |
| 4 | |
| 5 | func GetMemoryUsage() map[string]util.MemoryResult { |
| 6 | ret := map[string]util.MemoryResult{} |
| 7 | |
| 8 | ret["petTypes"] = util.MemoryResult{Memory: util.MemoryUsage(petTypes), Count: len(petTypes)} |
| 9 | |
| 10 | return ret |
| 11 | } |
| 12 | |
| 13 | func init() { |
| 14 | util.AddMemoryReporter(`Pets`, GetMemoryUsage) |
nothing calls this directly
no test coverage detected