Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSliceIndex ¶
GetSliceIndex returns fixed index based on a given length. It is required if you want to support negative indexing. I want to support it.
Types ¶
type Slice ¶
Slice is just a pair of start/finish numbers. Used for show command.
func ExtractSlice ¶
ExtractSlice extracts slice from the given arguments. Please check how show command looks like to get an idea what will it construct.
Click to show internal directories.
Click to hide internal directories.