Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
wubin1989 committed Jan 18, 2022
1 parent 4257313 commit a8e58df
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ Go-doudou a RESTFul microservice framework(we will add grpc support soon) comes
### Install

```shell
go get -v github.com/unionj-cloud/go-doudou@v0.9.4
go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

If you meet 410 Gone error, try below command:

```shell
export GOSUMDB=off && go get -v github.com/unionj-cloud/go-doudou@v0.9.4
export GOSUMDB=off && go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

### Usage
Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ go-doudou(兜兜)是一个基于gossip协议和OpenAPI3.0规范的去中心
### 安装

```shell
go get -v github.com/unionj-cloud/go-doudou@v0.9.4
go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

如果遇到410 Gone报错,请尝试用下面的命令:

```shell
export GOSUMDB=off && go get -v github.com/unionj-cloud/go-doudou@v0.9.4
export GOSUMDB=off && go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

### 用法
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

// rootCmd is the base command when called without any subcommands
var rootCmd = &cobra.Command{
Version: "v0.9.4",
Version: "v0.9.5",
Use: "go-doudou",
Short: "go-doudou is microservice rapid develop framework based on openapi 3.0 spec and gossip protocol",
Long: `go-doudou works like a scaffolding tool but more than that.
Expand Down
2 changes: 1 addition & 1 deletion ddl/doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Flags:
- Install go-doudou

```shell
go get -v github.com/unionj-cloud/go-doudou@v0.9.4
go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

- Clone demo repository
Expand Down
2 changes: 1 addition & 1 deletion ddl/doc/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Flags:
- Install go-doudou

```shell
go get -v github.com/unionj-cloud/go-doudou@v0.9.4
go get -v github.com/unionj-cloud/go-doudou@v0.9.5
```

- Clone demo repository
Expand Down
2 changes: 1 addition & 1 deletion svc/internal/codegen/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
github.com/unionj-cloud/cast v1.3.2
github.com/unionj-cloud/go-doudou v0.9.4
github.com/unionj-cloud/go-doudou v0.9.5
)`

const gitignoreTmpl = `# Binaries for programs and plugins
Expand Down
2 changes: 1 addition & 1 deletion svc/registry/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func newConf() *memberlist.Config {
}
// if env GDD_MEM_WEIGHT is set to > 0, then disable weight calculation, client will always use the same weight
if cast.ToInt(config.GddMemWeight.Load()) > 0 {
cfg.WeightInterval = time.Duration(0)
cfg.WeightInterval = 0
} else {
weightIntervalStr := config.GddMemWeightInterval.Load()
if stringutils.IsNotEmpty(weightIntervalStr) {
Expand Down

0 comments on commit a8e58df

Please sign in to comment.