container

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(value string, list []string) bool

Contains returns whether the "value" exists in the "list". Case-sensitive.

func GetIndex1

func GetIndex1(value string, list []string) int

GetIndex1 returns the index (indexed from 1) of "value" or -1 if not found. Case-sensitive.

func UniqueAndSorted

func UniqueAndSorted(s []string) (list []string)

UniqueAndSorted returns the list "s" sorted with duplicates removed. Case-sensitive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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