How to get the property assignment of golang factory object?

simply implement redis factory, and dynamically obtain stand-alone instantiated objects or cluster instantiated objects according to configuration

< H1 > Golang sample code < / H1 >
//()
func demo() {
    instance := xxx.Factory()

    instance.Obj.Get("xx") //redis.Client.Get  redis.ClusterClient.Get
}
Dec.15,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36a7d-2c05c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36a7d-2c05c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?