Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

1234567891011121314151617181920212223242526272829
  1. // Copyright 2019 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. // TopicResponse for returning topics
  9. type TopicResponse struct {
  10. ID int64 `json:"id"`
  11. Name string `json:"topic_name"`
  12. RepoCount int `json:"repo_count"`
  13. Created time.Time `json:"created"`
  14. Updated time.Time `json:"updated"`
  15. }
  16. // TopicName a list of repo topic names
  17. type TopicName struct {
  18. TopicNames []string `json:"topics"`
  19. }
  20. // RepoTopicOptions a collection of repo topic names
  21. type RepoTopicOptions struct {
  22. // list of topic names
  23. Topics []string `json:"topics"`
  24. }