Update README informing config files without extension are supported

This commit is contained in:
Pedro Silva 2019-11-05 13:29:29 +00:00
parent 1655def7e9
commit 059e69cf18
No known key found for this signature in database
GPG key ID: 135E84A1E585EE34

View file

@ -107,6 +107,8 @@ if err != nil { // Handle errors reading the config file
} }
``` ```
*NOTE:* You can also have a file without an extension and specify the format programmaticaly. For those configuration files that lie in the home of the user without any extension like `.bashrc`
### Writing Config Files ### Writing Config Files
Reading from config files is useful, but at times you want to store all modifications made at run time. Reading from config files is useful, but at times you want to store all modifications made at run time.