models

package
v0.0.0-...-a1c7680 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Owner

type Owner struct {
	Login string `json:"login"`
}

type Repository

type Repository struct {
	ID            int            `json:"id"`
	Name          string         `json:"name"`
	FullName      string         `json:"full_name"`
	Owner         Owner          `json:"owner"`
	Languages_URL string         `json:"languages_url"`
	Languages     map[string]int `json:"languages"`
}

type SearchResponse

type SearchResponse struct {
	TotalCount       int64         `json:"total_count"`
	IncompleteResult bool          `json:"incomplete_results"`
	Items            []*Repository `json:"items"`
}

Jump to

Keyboard shortcuts

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