lots of changes and reducing dependency imports

This commit is contained in:
Robin Olsen
2026-02-28 16:39:50 +01:00
parent 697b17e890
commit ba0115d1bc
54 changed files with 458 additions and 327 deletions

View File

@@ -2,19 +2,10 @@ package models
import (
"time"
"github.com/google/uuid"
)
type InterfaceType string
const (
InterfaceTypeCLI InterfaceType = "CLI"
InterfaceTypeWeb InterfaceType = "Web"
)
type Statistics struct {
ID uuid.UUID `json:"id"`
ID int `json:"id"`
StartTime time.Time `json:"start_time"`
EndTime time.Time `json:"end_time"`
Duration time.Duration `json:"duration"`