report

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTMLTemplate = `` /* 1982-byte string literal not displayed */
View Source
var TextTemplate = `` /* 247-byte string literal not displayed */

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Title         string     `json:"title"`
	CommitterName string     `json:"committerName"`
	CommittedDate *time.Time `json:"committedDate"`
	WebURL        string     `json:"webURL"`
}

type ProjectReport

type ProjectReport struct {
	Name                   string                  `json:"name"`
	IsActive               bool                    `json:"active"`
	IsEmpty                bool                    `json:"emptyRepo"`
	Commits                int                     `json:"commits"`
	CreatedAt              *time.Time              `json:"createdAt"`
	LastActivity           *time.Time              `json:"lastActivity"`
	LastCommit             *Commit                 `json:"commit"`
	OpenIssuesCount        int                     `json:"openIssuesCount"`
	OpenMergeRequestsCount int                     `json:"openMergeRequestsCount"`
	WebURL                 string                  `json:"webURL"`
	Members                []*gitlab.ProjectMember `json:"members"`
}

type Reports

type Reports struct {
	Course      string           `json:"course"`
	Assignment  string           `json:"assignment"`
	URL         string           `json:"url"`
	Description string           `json:"description"`
	Projects    []*ProjectReport `json:"projects"`
	Generated   *time.Time       `json:"generated"`
}

Jump to

Keyboard shortcuts

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