refactor conf
This commit is contained in:
parent
61ede78868
commit
edba874ae7
6 changed files with 69 additions and 37 deletions
|
|
@ -11,8 +11,12 @@ fn do_something() -> redis::RedisResult<()> {
|
|||
|
||||
/* do something here */
|
||||
//let val : String = con.get("/pl/0/0")?;
|
||||
let _ = con.set("/pl/0/0", "[(150.0, 230.0, 65280), (170.0, 170.0, 65280), (230.0, 170.0, 65280), (210.0, 230.0, 65280), (150.0, 230.0, 65280)]")?;
|
||||
|
||||
let _ = con.set("/pl/0/0", "[(150.0, 230.0, 65280), \
|
||||
(170.0, 170.0, 65280), \
|
||||
(230.0, 170.0, 65280), \
|
||||
(210.0, 230.0, 65280), \
|
||||
(150.0, 230.0, 65280)]")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue