1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00
Files
go-micro/examples/config/modify/README.md

15 lines
287 B
Markdown
Raw Normal View History

2020-12-26 15:17:20 +00:00
# Modify Config
This is an example of modifying config in a file.
Note: We currently only support setting values in memory, not passing down to the source.
## Usage
- example.conf is a toml file format
- modify.go - loads, modifies and writes back the file
```
go run modify.go
```