data

package
v0.0.0-...-3fca45c Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	gorm.Model
	ID     uint
	Name   string
	URL    string
	Prefix string
}

type Repository

type Repository struct {
	gorm.Model
	ID         uint
	Owner      string
	Name       string
	Host       string // `github`
	Deleted    bool
	LastCommit string
}

type RepositoryResponse

type RepositoryResponse struct {
	ID         uint   `json:"id"`
	Owner      string `json:"owner"`
	Name       string `json:"name"`
	Host       string `json:"host"`
	Deleted    bool   `json:"deleted"`
	CreatedAt  int64  `json:"createdAt"`
	LastCommit string `json:"lastCommit"`
}

Jump to

Keyboard shortcuts

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