dtos

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 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 PrMap

type PrMap map[int]string // Map with pr --> URL.

type Review

type Review struct {
	Reviewer string `json:"Reviewer"`
	Repo     string `json:"Repo"`
	Pr       int    `json:"Pr"`
	Badge    string `json:"Badge"`
}

Review For registering a review or viewing a single review

type ReviewStatMap

type ReviewStatMap map[string]ReviewerStat

ReviewStatMap The response to a query for a reviews for a day or week.

type ReviewerStat

type ReviewerStat struct {
	// Reviewer string // Not needed. It is the key.
	Prs    PrMap
	Badges string
}

Jump to

Keyboard shortcuts

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