diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2016-08-14 17:51:34 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-08-14 17:51:34 +0900 |
| commit | d4b63381029b477d064d4c3ff38f4efb89ae950d (patch) | |
| tree | c15c9374b6af10778b096455b56b88a874b7ed64 /src/item.go | |
| parent | 8df7d962e60bce44adda674ef8f99a2a76a4a6e7 (diff) | |
| download | fzf-d4b63381029b477d064d4c3ff38f4efb89ae950d.tar.gz | |
Lint
Diffstat (limited to 'src/item.go')
| -rw-r--r-- | src/item.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/item.go b/src/item.go index 36f8c0ae..584dfd85 100644 --- a/src/item.go +++ b/src/item.go @@ -44,6 +44,7 @@ func buildEmptyRank(index int32) [5]int32 { return [5]int32{0, 0, 0, 0, index} } +// Index returns ordinal index of the Item func (item *Item) Index() int32 { return item.rank[4] } |
