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.

12345678910111213141516171819
  1. // Copyright 2018 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. // Reference represents a Git reference.
  6. type Reference struct {
  7. Ref string `json:"ref"`
  8. URL string `json:"url"`
  9. Object *GitObject `json:"object"`
  10. }
  11. // GitObject represents a Git object.
  12. type GitObject struct {
  13. Type string `json:"type"`
  14. SHA string `json:"sha"`
  15. URL string `json:"url"`
  16. }