本站源代码
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.

20 lines
490B

  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. }
上海开阖软件有限公司 沪ICP备12045867号-1