nameidx

package
Version: v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package nameidx provides a structure that preserves original position of a name-string in an input slice.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameIdx

type NameIdx struct {
	// Index is the position of a string in the input slice.
	Index int

	// NameString is the input string.
	NameString string
}

NameIdx presents an input name-string and its position in the input slice.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL