Files
request/gitea/structs/issue_stopwatch.go
Matheus Sampaio Queiroga 520d37c408
All checks were successful
Golang test / go-test (push) Successful in 26s
Add Gitea and Github basic clients
2025-04-02 22:31:24 -03:00

23 lines
583 B
Go

// Copyright 2019 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package structs
import (
"time"
)
// StopWatch represent a running stopwatch
type StopWatch struct {
Created time.Time `json:"created"`
Seconds int `json:"seconds"`
Duration string `json:"duration"`
IssueIndex int `json:"issue_index"`
IssueTitle string `json:"issue_title"`
RepoOwnerName string `json:"repo_owner_name"`
RepoName string `json:"repo_name"`
}
// StopWatches represent a list of stopwatches
type StopWatches []StopWatch