package
0.0.0-20191223111852-1bc63cf51d79
Repository: https://github.com/opencourseplatform/opencourseplatform-go.git
Documentation: pkg.go.dev

# Functions

CreateAccessLogs creates access_logs table.
CreateBlogPosts creates blog_posts table.
CreateCourseCategories creates course_categories table.
CreateCourseRelatedTables creates course related tables */.
CreateCourses creates courses table.
CreateDatabase creates a database with the name sent in.
CreateEmailVerification creates email_verification table.
CreateEssentials creates essential tables for running the application */.
CreateFooter creates footer table.
CreateFooterCategories creates footer_categories table.
CreateForumPosts creates forum_posts table.
CreateForumTopics creates forum_topics table.
CreateGroupMembers creates group_members table.
CreateGroupPermissions creates group_permissions table.
CreateModule creates module table.
CreatePages creates pages table.
CreatePermissions creates permission table.
CreatePodcastPost creates podcast_posts table.
CreateSession creates session table.
CreateSessionText creates session_text table.
CreateSessionYoutube creates session_youtube table.
CreateSettings creates settings table and inserts basic settings.
CreateTables creates all tables needed to run the application.
CreateTicketResponses creates ticket_responses table.
CreateTickets creates tickets table.
CreateToolbar creates toolbar table.
CreateUserGroups creates user_groups table.
CreateUserPermissions creates user_permissions table.
CreateUserRelatedTables creates user related tables */.
CreateUsers creates users table.
DeleteSettingsFile Deletes the JSON Settings file and returns it.
FinishTests should be used for testing functions that need a database.
GetSettingsName ..
Tests should be used for testing functions that need a database.
UpdateDatabaseName updates the name of the database in the settings json file.
UpdateSettingToTestDB Updates the JSON Settings to the testDB.
WriteSettingsFile writes the JSON Settings file.