Show memory stats in debug

This commit is contained in:
世界
2022-08-11 12:41:54 +08:00
parent 7b30815938
commit c9226aeaaf
6 changed files with 60 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ type JSONObject struct {
linkedhashmap.Map[string, any]
}
func (m *JSONObject) MarshalJSON() ([]byte, error) {
func (m JSONObject) MarshalJSON() ([]byte, error) {
buffer := new(bytes.Buffer)
buffer.WriteString("{")
items := m.Entries()