model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManData

type ManData struct {
	Contents   string
	LineNumber int
}

* Contents オプション内容 * LineNumber 行番号

type ManDataObject

type ManDataObject struct {
	Original          []ManData
	Filtered          []ManData
	Matched           []MatchedInfo
	MatchedInfoStruct MatchedInfo
}

* Original Man実行結果配列 * Filtered 検索後のMan実行結果配列 * Matched 検索してマッチした結果を格納する配列 * MatchedInfoStruct 構造体参照用

type MatchedInfo

type MatchedInfo struct {
	Text  string
	Index int
}

* @description 空白で区切られたどのqueryが探索文字列内のどのindex番号から * 開始する部分文字列なのかを表す * text 空白で区切られたqueryの一要素 * index 探索文字列内でtextが部分文字列として一致するindex番号の先頭

Jump to

Keyboard shortcuts

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