github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/config/modify/README.md (about)

     1  # Modify Config
     2  
     3  This is an example of modifying config in a file.
     4  
     5  Note: We currently only support setting values in memory, not passing down to the source.
     6  
     7  ## Usage
     8  
     9  - example.conf is a toml file format
    10  - modify.go - loads, modifies and writes back the file
    11  
    12  ```
    13  go run modify.go
    14  ```