sort

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package sort provides utility that sort slice by length

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortByLen

func SortByLen(s []string)

Types

type ByLen

type ByLen []string

func (ByLen) Len

func (a ByLen) Len() int

func (ByLen) Less

func (a ByLen) Less(i, j int) bool

func (ByLen) Swap

func (a ByLen) Swap(i, j int)

Jump to

Keyboard shortcuts

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