本文转载:https://blog.csdn.net/han_cui/article/details/54767208?tdsourcetag=s_pcqq_aiomsg 解决 Redis 只读不可写的问题在 Redis 终端上进行读写操作,发现只读不可写,GET 操作是正常的,SET 操作提示错误:(error)MISCONF Redis is configured to save RDB snapshots,but is currently not able to persist on di…
网易: package main import ( "fmt" ) func main() { var c chan int fmt.Printf("c=%v\n", c) c = make(chan ) fmt.Printf("c=%v\n", c) c <- /* data := <-c fmt.Printf("data:%v\n", data) */ <-c } nobufChan 不带缓冲(不带大小的…