Discover Packages
github.com/cooperspencer/gickup
sourcehut
package
Version:
v0.10.23
Opens a new window with list of versions in this module.
Published: Dec 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Author struct {
Email string `json:"email"`
Name string `json:"name"`
}
type Commits struct {
Next interface{} `json:"next"`
Results []Results `json:"results"`
Total int `json:"total"`
ResultsPerPage int `json:"results_per_page"`
}
type Committer struct {
Email string `json:"email"`
Name string `json:"name"`
}
type PostRepo struct {
Name string `json:"name"`
Description string `json:"description,omitempty"`
Visibility string `json:"visibility,omitempty"`
}
type Ref struct {
Target string `json:"target"`
Name string `json:"name"`
Artifacts []interface{} `json:"artifacts"`
}
type Refs struct {
Next string `json:"next"`
Results []Ref `json:"results"`
Total int `json:"total"`
ResultsPerPage int `json:"results_per_page"`
}
type Repositories struct {
Next string `json:"next"`
Results []Repository `json:"results"`
Total int `json:"total"`
ResultsPerPage int `json:"results_per_page"`
}
type Repository struct {
ID int `json:"id"`
Created time .Time `json:"created"`
Updated time .Time `json:"updated"`
Name string `json:"name"`
Owner struct {
CanonicalName string `json:"canonical_name"`
Name string `json:"name"`
} `json:"owner"`
Description string `json:"description"`
Visibility string `json:"visibility"`
}
type Results struct {
ID string `json:"id"`
ShortID string `json:"short_id"`
Author Author `json:"author"`
Committer Committer `json:"committer"`
Timestamp time .Time `json:"timestamp"`
Message string `json:"message"`
Tree string `json:"tree"`
Parents []string `json:"parents"`
Signature interface{} `json:"signature"`
}
type User struct {
CanonicalName string `json:"canonical_name"`
Name string `json:"name"`
Email string `json:"email"`
URL interface{} `json:"url"`
Location interface{} `json:"location"`
Bio interface{} `json:"bio"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.