formatting

This commit is contained in:
Fran Jurmanović
2024-07-16 22:50:54 +02:00
parent 6e638bfa84
commit 6137b55a3c
12 changed files with 128 additions and 139 deletions

View File

@@ -32,11 +32,8 @@ type BaseModel struct {
DateUpdated time.Time `json:"dateUpdated"`
}
/*
Init
Initializes base model with DateCreated, DateUpdated, and Id values.
*/
// Init
// Initializes base model with DateCreated, DateUpdated, and Id values.
func (cm *BaseModel) Init() {
date := time.Now()
cm.Id = uuid.NewString()