patch

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByWeight

type ByWeight []*Patch

func (ByWeight) Len

func (by ByWeight) Len() int

func (ByWeight) Less

func (by ByWeight) Less(i, j int) bool

func (ByWeight) Swap

func (by ByWeight) Swap(i, j int)

type Patch

type Patch struct {
	Id          string   `json:"id"`
	Patch       string   `json:"patch"`
	Author      string   `json:"author"`
	Description string   `json:"description"`
	Tags        []string `json:"tags"`
	Prereqs     []string `json:"prereqs"`
	Body        []byte   `json:"-"`
	Weight      int      `json:"weight"`
	Filename    string   `json:"filename"`
}

Jump to

Keyboard shortcuts

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