lookup

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 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 Result

type Result struct {
	Entity    string         `json:"entity"`
	KeyColumn string         `json:"key_column"`
	Columns   []ResultColumn `json:"columns"`
	Rows      []ResultRow    `json:"rows"`
}

func (*Result) AddColumn

func (c *Result) AddColumn(name string, displayName string)

func (*Result) AddRow1

func (c *Result) AddRow1(cell1 string)

func (*Result) AddRow2

func (c *Result) AddRow2(cell1 string, cell2 string)

func (*Result) AddRow3

func (c *Result) AddRow3(cell1 string, cell2 string, cell3 string)

type ResultColumn

type ResultColumn struct {
	Name        string `json:"name"`
	DisplayName string `json:"display_name"`
}

type ResultRow

type ResultRow struct {
	Cells []string `json:"cells"`
}

Jump to

Keyboard shortcuts

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