open-consul/command/validate
Daniel Nephin bd545963cc config: improve the interface of Load
This commit reduces the interface to Load() a bit, in preparation for
unexporting NewBuilder and having everything call Load.

The three arguments are reduced to a single argument by moving the other
two into the options struct.

The three return values are reduced to two by moving the RuntimeConfig
and Warnings into a LoadResult struct.
2021-01-27 17:34:43 -05:00
..
validate.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
validate_test.go testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00