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 560B

12345678910111213141516171819
  1. // Copyright 2017 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package structs
  5. import (
  6. "time"
  7. )
  8. // WatchInfo represents an API watch status of one repository
  9. type WatchInfo struct {
  10. Subscribed bool `json:"subscribed"`
  11. Ignored bool `json:"ignored"`
  12. Reason interface{} `json:"reason"`
  13. CreatedAt time.Time `json:"created_at"`
  14. URL string `json:"url"`
  15. RepositoryURL string `json:"repository_url"`
  16. }