Add an api endpoint to fetch git notes (#15373) (#16649)

close #15373
This commit is contained in:
nitul1991 authored and GitHub committed 2021-08-11 03:01:40 +02:00
1 parent c4d70a0325
commit 2d25b7d44b
12 files changed
+228 -1

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package structs
// Note contains information related to a git note
type Note struct {
Message string `json:"message"`
Commit *Commit `json:"commit"`
}