utils

package
Version: v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnlyStable

func OnlyStable(s []string) []string

OnlyStable remove all beta versions

func VersionArray

func VersionArray(version string) []int

VersionArray split version string into array

Types

type ByVersion

type ByVersion []string

ByVersion sorting type

func (ByVersion) Len

func (s ByVersion) Len() int

func (ByVersion) Less

func (s ByVersion) Less(i, j int) bool

func (ByVersion) Swap

func (s ByVersion) Swap(i, j int)

Source Files

Jump to

Keyboard shortcuts

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