feat: add quiz, question, answer and attempt models with migrations

This commit is contained in:
Jakub Zych
2026-10-02 14:04:36 +02:00
parent a01a75d49b
commit ed167d8450
10 changed files with 683 additions and 5 deletions

5
models/util.go Normal file
View File

@@ -0,0 +1,5 @@
package models
import "strconv"
func uintString(n uint) string { return strconv.FormatUint(uint64(n), 10) }