I just want to take a moment to go over why this site, wider application wide config is so useful right
now.
We only have two values in their use, cash and template cash.
But I can add something to this.
For example, let's add let's add a logger, and we're not going to do anything with it right now.
We will when we get to improved air handling.
But if I add a single member to this and I want to call it info log, and if a log is just going to
be a a member on this app config struct, that allows me to write information to a log file and we're
not going to do anything with it for a while.
But I can add it just by saying I want to add a pointer to log logger, which is something built into
the standard library that writes to log files or writes to the terminal or writes wherever we tell it.
To write, we can write it to a file, we can read it to the terminal window.
We can even write it to the database if we wanted to.
Once we have the database set up, of course.
So I've added that.
And now just by the very fact that it's been added to this, the struct this app config struct, it's
available to every part of my application that has access to the app config and that is incredibly useful.
So I'm going to leave that in there for right now.
We won't do anything with it for quite a while until we get to the centralized error handling part of
our our course.
But there it is.
And that's one of the things that makes this site wide app config app configuration so useful.