naturalsort

package
v0.0.0-...-9c029b6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2017 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NaturalLessThan

func NaturalLessThan(str1, str2 string) bool

Types

type SortableStrings

type SortableStrings []string

SortableStrings implements the sort.Interface for a []string. It uses "natural" sort order rather than asciibetical sort order.

func (SortableStrings) Len

func (s SortableStrings) Len() int

func (SortableStrings) Less

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

func (SortableStrings) Swap

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

Jump to

Keyboard shortcuts

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