standard functions to save and load config files
Go to file
Jeff Carr 7170482b80 config.Changed() 2025-09-13 01:58:54 -05:00
.gitignore day1 2025-09-10 13:00:40 -05:00
LICENSE day1 2025-09-10 13:00:40 -05:00
Makefile day1 2025-09-10 13:00:40 -05:00
README.md day1 2025-09-10 13:00:40 -05:00
changed.go amazing GO detection on needing a mutex. Very impressive! 2025-09-13 01:47:08 -05:00
configBackup.go probably rm this 2025-09-11 01:53:24 -05:00
findFilename.go add generic ConfigLoad() 2025-09-10 14:45:55 -05:00
go.mod config.Changed() 2025-09-13 01:58:54 -05:00
go.sum config.Changed() 2025-09-13 01:58:54 -05:00
load.go also save JSON files since protoTEXT() is unstable still 2025-09-11 07:54:03 -05:00
save.go also save JSON files since protoTEXT() is unstable still 2025-09-11 07:54:03 -05:00

README.md

// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

common config file handling for protobuf defined config files

By default, the config files are stored as:

~/.config//.text

assumes config files are simple, intended to be edited by hand by the user and can be exported by protobuf FormatTEXT()

intended to be called by functions that are automatically generated by 'autogenpb' for protobuf defined config files.

If you aren't using .proto defined config files, this package is not for you