Documentation ¶
Overview ¶
Package appsettings handles settings that change the functionality of this app. These settings turn certain features or checks on or off or otherwise alter the way the app looks or works. Most of the time app settings should be "opt in".
How to add a new app setting:
- Define a name for the setting, somthing short but descriptive, in camelcase.
- Name should be such that the "false" state is default.
- Add the setting to the AppSetting struct (db-appsettings.go).
- Update the createTableAppSettings function with the new column (db-appsettings.go).
- Update the updateTableAppSettings function with the new column (db-appsettings.go).
- Update the insertIntialAppSettings function with the new column (db-appsettings.go).
- Update the Update function with the new column (db-appsettings.go).
- Update the appsettings type (types.ts).
- Document new app setting in help files.
- Deploy the db or update the db schema as needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.