1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-02-04 18:21:53 +02:00
Benjamin 5d5aee1f08
replace ioutil with io and os (#2327)
set the go version to 1.16 in pr.yml and tests.yml, so as to be consistent with the version in go.mod.
2021-10-30 19:24:40 +01:00
..
2020-12-26 15:17:20 +00:00
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