Documentation
¶
Overview ¶
Copyright (c) 2023 Lucas de Ataides <ldatb@icloud.com>
SPDX-License-Identifier: MIT
Copyright (c) 2023 Lucas de Ataides <ldatb@icloud.com>
SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configs ¶
type Configs struct {
API_PORT string
LOG_LEVEL string
LOG_OUTPUT string
DB_HOST string
DB_PORT string
DB_USER string
DB_PASSWORD string
DB_NAME string
}
All possible configs for the app
type Courses ¶
type Courses struct {
ID uint `gorm:"primaryKey"`
Title string
OfferedBy string
CertificateLink string
Duration time.Duration
Timestamp time.Time
}
Non-college courses
type DatabaseConfigs ¶
type DatabaseConfigs struct {
DB_HOST string
DB_PORT string
DB_USER string
DB_PASSWORD string
DB_NAME string
}
Only database configs
type Education ¶
type Education struct {
ID uint `gorm:"primaryKey"`
DegreeType string
DegreeName string
CollegeName string
CollegeLocation string
StartDate time.Time
EndDate time.Time
}
College degrees
Click to show internal directories.
Click to hide internal directories.