models

package
v0.0.0-...-01ad037 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	ID     uint
	Branch string
	Author models.Author

	State      string // see https://github.com/shuheiktgw/go-travis/blob/master/builds.go#L116
	StartedAt  time.Time
	FinishedAt time.Time
	Duration   time.Duration
}

type BuildParams

type BuildParams struct {
	params.Default

	Owner      string `json:"owner" query:"owner" validate:"required"`
	Repository string `json:"repository" query:"repository" validate:"required"`
	Branch     string `json:"branch" query:"branch" validate:"required"`
}

func (*BuildParams) String

func (p *BuildParams) String() string

Used by cache as identifier

Jump to

Keyboard shortcuts

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