MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / Args

Struct Args

args.go:4–16  ·  view source on GitHub ↗

Args struct

Source from the content-addressed store, hash-verified

2
3// Args struct
4type Args struct {
5 FileName string
6 Sep string
7 SkipSymbol []string //ignore line with specified prefix
8 SkipNum int //Number of lines that should be skipped
9 ShowNum []int //columns that should be displayed
10 HideNum []int //columns that should be hidden
11 Header int //header display mode
12 NLine int //number of lines that should be displayed
13 Strict bool // check for missing data
14 AsyncLoad bool // enable async loading for progressive rendering
15 MemoryMB int // Memory limit in MB (0 = unlimited/default, >0 = custom limit)
16}
17
18func (args *Args) setDefault() {
19 args.Sep = ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected