model

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPageSize = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Date       time.Time `json:"date"`
	Hash       string    `json:"hash"`
	Type       string    `json:"type"`
	Component  string    `json:"component"`
	Content    string    `json:"content"`
	Remote     string    `json:"remote"`
	Repository string    `json:"repository"`
	Breaking   bool      `json:"breaking"`
	Revert     bool      `json:"revert"`
}

func (Commit) Check

func (c Commit) Check() error

func (Commit) Sanitize

func (c Commit) Sanitize() Commit

type CommitsList added in v1.9.0

type CommitsList struct {
	Commits    []Commit `json:"commits"`
	TotalCount uint     `json:"totalCount"`
}

Jump to

Keyboard shortcuts

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