Comments (3)
the first pic in your issue seems that you inserted a hex encoded string not a json string
from redix.
I had instered my data by redis-client for go, and got the result. This is my code after :
func setListData(code string, sig sync.Signal, val []string) error {
db := storage.Redis().Get()
defer db.Close()
key := getListDataKey(code, sig)
args := []interface{}{key}
for i := range val {
args = append(args, val[i])
}
_, err := redis.ByteSlices(db.Do("LPUSHU", args...))
if err != nil {
return err
}
return nil
}
May be I'll test this tomorrow to find what happend
from redix.
I test this from redis-cli and got the same result.
May be this is caused by different version. This is the envriment.
OS : Macos Darwin Kernel Version 16.0.0
redis-cli : 3.2.3
redix-server [docker images]: alash3al/redix latest 8b51be953c19 5 months ago 438MB
from redix.
Related Issues (20)
- command line params change HOT 3
- expire abc 30
- what's the params of lrange HOT 2
- Does redix support replication or clustering feature? HOT 3
- Invalid strorage engine badger specified HOT 3
- Unknown commands KEYS & SCAN
- Too many open files HOT 6
- Docker image not building
- Upgrade newest version dependency (BadgerDB v3.2011.1)
- How to set password connection ?
- Getting this error when trying to do go get, how do I resolve this? Thx in advance
- No permissions to pull HOT 12
- availability of v1 branch? HOT 10
- bug: long lasting connections terminate with sql error codes HOT 5
- feature request: info and scan command for redis-tui client
- feature: WEBHOOK set
- ping timeout when using go-redis client for pubsub
- feature request: HELLO command and discoverability
- Project is hold? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redix.