package main
import (
"encoding/json"
"fmt"
"time"
"github.com/go-redis/redis"
)
type guo struct {
Name string `json:"name"`
Age int `json:"age"`
}
func (g *guo) MarshalBinary() (data []byte, err error) {
ret
golang 将结构体存入redis
最新推荐文章于 2023-03-14 09:17:22 发布