package
0.0.0-20230704192318-43291f5e3b8a
Repository: https://github.com/jecsand/go-web-app-boilerplate.git
Documentation: pkg.go.dev

# Functions

ConvertToDateTime inputs a string formatted as "YYYY-MM-DDTHH:mm" and returns a parsed time.Time value.
GenerateUuid is used for creating unique IDs to be used mainly in generated HTML elements.
GetDataSelectOptions ...
GetRoleSelectOptions ...
InitializeGroupSettings ...
InitializeGroupSettingsForm for a settings form.
InitializePasswordForm for updating a user password.
InitializePopupCreateGroupForm for a settings form.
InitializePopupCreateTaskForm for a settings form.
InitializePopupCreateUserForm for a settings form.
InitializePopupDeleteForm for deletes a data record.
InitializeRegistrationForm for a settings form.
InitializeSignInForm for a settings form.
InitializeTaskOverview instantiates a task Overview Abstract // TODO NEXT - START HERE, called in TASK CONTROLLER.
InitializeUserSettings ...
InitializeUserSettingsForm for a settings form.
LoadFields ...
NewAlert constructs and returns a new Link.
NewButtonInput ...
NewButtonListItem ...
NewCheckboxInput ...
NewCheckOption ...
NewColumnHeading ...
NewDataTable ...
NewDeleteOption ...
NewDivListItem ...
NewErrorAlert constructs and returns a new Link.
NewForm for a new form.
NewHeading ...
NewInput ...
NewLink constructs and returns a new Link.
NewLinkDiv ...
NewLinkedList initializes a new linked list of DataModel for rendering.
NewLinkedTableData ...
NewLinkListItem ...
NewList initializes a new list of groups for rendering.
NewListDiv ...
NewListItem ...
NewOrderedList for a new ul.
NewOverview instantiates a default Overview Abstract.
NewSearchInput ..
NewSelectInput ...
NewSettings instantiates a default Settings Abstract.
NewSuccessAlert constructs and returns a new Link.
NewTable ...
NewTableBody ...
NewTableData ...
NewTableHeader ...
NewTableHeaderRow ...
NewTableRow ...
NewTask instantiates a new Task struct.
NewTasksOverview instantiates a task Overview Abstract.
NewTextAreaInput ...
NewUnorderedList for a new ul.
NewUserHeaderRow ...
NewUserRow ...
NewUsersTable ...
SplitTasksByStatus inputs a slice of Task and returns a slice of Task for each status type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AboutModel of dynamic data used for about view.
AccountModel ...
AdminModel ...
Alert ...
Auth models the authentication structure of an app user.
Button ...
Div ...
Field ...
Form structures a generic form.
Group is a root struct that is used to store the json encoded data for/from a mongodb group doc.
Groups is used when returning a slice of Group.
GroupUsersDTO is used when returning a group with its associated users.
Heading ...
IndexModel of dynamic data used for index view.
InputField ...
ItemOption ...
Link ...
List structures a generic form.
ListItem ...
LoginModel of dynamic data used for login view.
Overview ...
RegisterModel of dynamic data used for register view.
Script ...
SelectOptions ...
Settings ...
Table ...
TableBody ...
TableData ...
TableHeader ...
TableRow ...
Task is a root struct that is used to store the json encoded data for/from a mongodb todos doc.
TaskModel ...
Tasks is used when returning a slice of Task.
UpdatePassword is used when updating a user password.
User is a root struct that is used to store the json encoded data for/from a mongodb user doc.
Users structures a slice of User.
VariableModel of dynamic data used for variable view.

# Interfaces

DataModel is an abstraction of the db model types.
DataModels is an abstraction of the db model types.
DTOModel is an abstraction of the db model types.

# Type aliases

No description provided by the author