You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repo_watch.go 476B

123456789101112131415161718
  1. // Copyright 2017 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. import (
  5. "time"
  6. )
  7. // WatchInfo represents an API watch status of one repository
  8. type WatchInfo struct {
  9. Subscribed bool `json:"subscribed"`
  10. Ignored bool `json:"ignored"`
  11. Reason any `json:"reason"`
  12. CreatedAt time.Time `json:"created_at"`
  13. URL string `json:"url"`
  14. RepositoryURL string `json:"repository_url"`
  15. }