This commit is contained in:
Vladimir V Maksimov
2026-02-10 16:08:35 +03:00
parent 1f63c5fbd4
commit 8e1f17a359
9 changed files with 877 additions and 20 deletions

View File

@@ -1,11 +1,17 @@
package models
import "github.com/google/uuid"
import (
"time"
"github.com/google/uuid"
)
type Dir struct {
ID uuid.UUID `json:"id"`
ParentID *uuid.UUID `json:"parent_id"`
Name string `json:"name"`
OwnerID uuid.UUID `json:"owner_id"`
IsPublic bool `json:"is_public"`
ID uuid.UUID `json:"id"`
ParentID *uuid.UUID `json:"parent_id"`
Name string `json:"name"`
OwnerID uuid.UUID `json:"owner_id"`
IsPublic bool `json:"is_public"`
Created time.Time `json:"created"`
LastModified time.Time `json:"last_modified"`
}