mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-25 21:53:14 +02:00
15 lines
287 B
Markdown
15 lines
287 B
Markdown
# 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
|
|
```
|