Help us shape the future of Go! Take the 2026 Go Developer Survey

chartpackagesort

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByName

type ByName []*models.ChartPackage

ByName sorts by Name property

func (ByName) Len

func (c ByName) Len() int

Sorting by name

func (ByName) Less

func (c ByName) Less(i, j int) bool

func (ByName) Swap

func (c ByName) Swap(i, j int)

type BySemver

type BySemver []*models.ChartPackage

BySemver sorts by Semantic Versioning

func (BySemver) Len

func (c BySemver) Len() int

Sorting by name

func (BySemver) Less

func (c BySemver) Less(i, j int) bool

func (BySemver) Swap

func (c BySemver) Swap(i, j int)

Jump to

Keyboard shortcuts

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