1
0
Fork 0
This repository has been archived on 2025-09-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-yggdrasil/pkg/training/model.go

17 lines
221 B
Go

package training
import (
"github.com/google/uuid"
)
type TrainingID = uuid.UUID
func NewTrainingID() TrainingID {
return uuid.Must(uuid.NewV7())
}
type Training struct {
ID TrainingID
Name string
Days int32
}