update readme for broken links (#432)

This commit is contained in:
Kevin Wan
2021-02-03 12:02:22 +08:00
committed by GitHub
parent 8b273a075c
commit 30f5ab0b99
3 changed files with 16 additions and 16 deletions

View File

@@ -487,20 +487,6 @@ func (s *Redis) Hmset(key string, fieldsAndValues map[string]string) error {
}, acceptable)
}
func (s *Redis) Hvals(key string) (val []string, err error) {
err = s.brk.DoWithAcceptable(func() error {
conn, err := getRedis(s)
if err != nil {
return err
}
val, err = conn.HVals(key).Result()
return err
}, acceptable)
return
}
func (s *Redis) Hscan(key string, cursor uint64, match string, count int64) (keys []string, cur uint64, err error) {
err = s.brk.DoWithAcceptable(func() error {
conn, err := getRedis(s)
@@ -515,6 +501,20 @@ func (s *Redis) Hscan(key string, cursor uint64, match string, count int64) (key
return
}
func (s *Redis) Hvals(key string) (val []string, err error) {
err = s.brk.DoWithAcceptable(func() error {
conn, err := getRedis(s)
if err != nil {
return err
}
val, err = conn.HVals(key).Result()
return err
}, acceptable)
return
}
func (s *Redis) Incr(key string) (val int64, err error) {
err = s.brk.DoWithAcceptable(func() error {
conn, err := getRedis(s)

View File

@@ -2,7 +2,7 @@
# go-zero
[English](readme-en.md) | 简体中文
[English](readme.md) | 简体中文
[![Go](https://github.com/tal-tech/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/tal-tech/go-zero/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/tal-tech/go-zero)](https://goreportcard.com/report/github.com/tal-tech/go-zero)

View File

@@ -2,7 +2,7 @@
# go-zero
English | [简体中文](readme.md)
English | [简体中文](readme-cn.md)
[![Go](https://github.com/tal-tech/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/tal-tech/go-zero/actions)
[![codecov](https://codecov.io/gh/tal-tech/go-zero/branch/master/graph/badge.svg)](https://codecov.io/gh/tal-tech/go-zero)