package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jun 19, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SeedAlternativeTx(tx *sqlx.Tx)
func SeedQuestionsTx(tx *sqlx.Tx)
type Admin struct {
Username string `db:"username"`
Password string `db:"password"`
Email string `db:"email"`
PhoneNumber string `db:"phone_number"`
SchoolId string `db:"school_id"`
}
type Alternative struct {
Alternative string `db:"alternative"`
Description string `db:"description"`
}
type Question struct {
Code string `db:"code"`
Question string `db:"question"`
Category string `db:"category"`
Description string `db:"description"`
Number int `db:"number"`
}
type School struct {
Name string `db:"name"`
}
type SchooldId struct {
Id string `db:"id"`
}
type Student struct {
Username string `db:"username"`
Password string `db:"password"`
Fullname string `db:"fullname"`
Nisn string `db:"nisn"`
Email string `db:"email"`
PhoneNumber string `db:"phone_number"`
SchoolId string `db:"school_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.