schema

package
v0.0.0-...-4e3772d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	CommitNumber types.CommitNumber `sql:"commit_number INT PRIMARY KEY"`
	GitHash      string             `sql:"git_hash TEXT UNIQUE NOT NULL"`
	Timestamp    int64              `sql:"commit_time INT"` // Unix timestamp, seconds from the epoch.
	Author       string             `sql:"author TEXT"`
	Subject      string             `sql:"subject TEXT"`
}

Commit represents a single commit stored in the database.

JSON annotations make it serialize like the legacy cid.CommitDetail.

Jump to

Keyboard shortcuts

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