Skip to content

Commit 064e068

Browse files
committed
Update README.md
1 parent 4e1a9f1 commit 064e068

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ TestConfig: "aaabbbccc"
2323
2424
### 独立结构体配置映射
2525
26+
将nacos中的配置直接映射到该结构体的变量中,并支持动态更新
27+
2628
配置,并编写生成命令
2729
```go
2830
// file: config/config.go
@@ -36,6 +38,8 @@ type SomeConfig struct {
3638

3739
### 嵌入结构体配置映射
3840

41+
将nacos中的配置映射到主结构体成员中,并支持动态更新
42+
3943
配置,并编写生成命令
4044

4145
```go

0 commit comments

Comments
 (0)