Files
honoka-chan/internal/handler/api/item/list.go
T
2026-06-03 23:22:33 +08:00

14 lines
235 B
Go

package item
import (
"encoding/json"
"honoka-chan/pkg/utils"
)
func itemList() (res any, err error) {
itemResp := utils.ReadAllText("assets/serverdata/item.json")
err = json.Unmarshal([]byte(itemResp), &res)
return res, err
}