package
Version:
v1.16.2
Opens a new window with list of versions in this module.
Published: Nov 30, 2021
License: BSD-2-Clause-Patent
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
Documentation
¶
Package gitea implements a Gitea client.
New returns a new Gitea API client.
type Attachment struct {
ID int64 `json:"id"`
Name string `json:"name"`
Size int64 `json:"size"`
DownloadCount int64 `json:"download_count"`
Created null.Time `json:"created_at"`
UUID string `json:"uuid"`
DownloadURL string `json:"browser_download_url"`
}
type ListOptions struct {
Page int
PageSize int
}
type ReleaseInput struct {
TagName string `json:"tag_name"`
Target string `json:"target_commitish"`
Title string `json:"name"`
Note string `json:"body"`
IsDraft bool `json:"draft"`
IsPrerelease bool `json:"prerelease"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.