models

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 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 Blob

type Blob struct {
	Text string
}

type Repo

type Repo struct {
	Id               string
	Name             string
	Description      string
	StarsCount       int
	ViewerHasStarred bool
	Url              string
	Owner            struct {
		Login string
	}
	Readme          Blob
	PrimaryLanguage struct {
		Name  string
		Color string
	}
}

type Starrable

type Starrable struct {
	Id               string
	StargazerCount   int
	ViewerHasStarred bool
}

type User

type User struct {
	Id                string
	Login             string
	Name              string
	Location          string
	Url               string
	Bio               string
	TwitterUsername   string
	WebsiteUrl        string
	FollowersCount    int
	FollowingCount    int
	IsViewer          bool
	IsFollowingViewer bool
	ViewerIsFollowing bool
	PinnedRepos       []Repo
	ActivityGraph     struct {
		ContributionsCount int
		Weeks              []WeeklyContribution
	}
}

type WeeklyContribution

type WeeklyContribution struct {
	ContributionDays []struct {
		ContributionLevel string
	}
}

Jump to

Keyboard shortcuts

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