From 2d25b7d44bedf8f17cc2b49f39d1cee662b199a5 Mon Sep 17 00:00:00 2001 From: nitul1991 Date: Wed, 11 Aug 2021 06:31:40 +0530 Subject: Add an api endpoint to fetch git notes (#15373) (#16649) close #15373 --- modules/structs/repo_note.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/structs/repo_note.go (limited to 'modules/structs') diff --git a/modules/structs/repo_note.go b/modules/structs/repo_note.go new file mode 100644 index 0000000000..bddc945a5c --- /dev/null +++ b/modules/structs/repo_note.go @@ -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"` +} -- cgit v1.2.3