FilePersister saves viper configs to the file system.
| 15 | |
| 16 | // FilePersister saves viper configs to the file system. |
| 17 | type FilePersister struct { |
| 18 | Dir string |
| 19 | } |
| 20 | |
| 21 | // Save writes the viper config to the target location on the filesystem. |
| 22 | func (p FilePersister) Save(v *viper.Viper, basename string) error { |
nothing calls this directly
no outgoing calls
no test coverage detected