()
| 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["quests"] = util.MemoryResult{Memory: util.MemoryUsage(quests), Count: len(quests)} |
| 9 | |
| 10 | return ret |
| 11 | } |
| 12 | |
| 13 | func init() { |
| 14 | util.AddMemoryReporter(`Quests`, GetMemoryUsage) |
nothing calls this directly
no test coverage detected