lots of changes and reducing dependency imports
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user