Skip to content

Commit

Permalink
fix: example code issue in 02-config go-kratos#215
Browse files Browse the repository at this point in the history
  • Loading branch information
kvii committed Aug 15, 2024
1 parent 125f91d commit 3db7529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/component/02-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ c := config.New(
config.WithSource(
file.NewSource(path),
)
)
```

如果想用外部的配置中心,可以在[contrib/config](https://github.com/go-kratos/kratos/tree/main/contrib/config)里面找一个,以consul为例:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ c := config.New(
config.WithSource(
file.NewSource(path),
)
)
```

If you want to use an external configuration center, you can find one in [contrib/config](https://github.com/go-kratos/kratos/tree/main/contrib/config). Taking Consul as an example:
Expand Down

0 comments on commit 3db7529

Please sign in to comment.