models

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoEntity

type RepoEntity struct {
	Id            uint   `json:"id"`
	Name          string `json:"name" yaml:"name"`
	Slug          string `json:"slug,omitempty"`
	Description   string `json:"description,omitempty" yaml:"description,omitempty"`
	State         string `json:"state,omitempty"`
	Public        bool   `json:"public,omitempty" yaml:"public,omitempty"`
	Archived      bool   `json:"archived,omitempty" yaml:"archived,omitempty"`
	Forkable      bool   `json:"forkable,omitempty" yaml:"forkable,omitempty"`
	DefaultBranch string `json:"-" yaml:"defaultBranch,omitempty"`
}

type RepoListInput

type RepoListInput struct {
	Repositories []RepoEntity `yaml:"repositories"`
}

type RepoListResponse

type RepoListResponse struct {
	IsLastPage    bool         `json:"isLastPage"`
	NextPageStart int          `json:"nextPageStart"`
	Values        []RepoEntity `json:"values"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL