Help us shape the future of Go! Take the 2026 Go Developer Survey

queries

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 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 GetUserQuery

type GetUserQuery struct {
	User struct {
		Id                string
		Login             string
		Name              string
		Location          string
		Url               string
		Bio               string
		TwitterUsername   string
		IsViewer          bool
		IsFollowingViewer bool
		ViewerIsFollowing bool
		WebsiteUrl        string
		Followers         struct {
			TotalCount int
		}
		Following struct {
			TotalCount int
		}
		PinnedItems struct {
			Nodes []struct {
				Repository struct {
					Id               string
					Name             string
					Description      string
					StargazerCount   int
					ViewerHasStarred bool
					Url              string
					Owner            struct {
						Login string
					}
					PrimaryLanguage struct {
						Name  string
						Color string
					}
				} `graphql:"... on Repository"`
			}
		} `graphql:"pinnedItems(first: $first)"`
		ContributionsCollection struct {
			ContributionCalendar struct {
				TotalContributions int
				Weeks              []struct {
					ContributionDays []struct {
						ContributionLevel string
					}
				}
			}
		}
	} `graphql:"user(login: $login)"`
}

Jump to

Keyboard shortcuts

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