record

package
v3.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 1 Imported by: 4

Documentation

Overview

Package record provides record functionality to cover API response data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	// contains filtered or unexported fields
}

Record is a struct representing record/row covering API response data.

func NewRecord

func NewRecord(data map[string]string) *Record

NewRecord represents the constructor for struct Column.

func (*Record) GetData

func (c *Record) GetData() map[string]string

GetData method to return the column data

func (*Record) GetDataByKey

func (c *Record) GetDataByKey(key string) (string, error)

GetDataByKey method to return the column data at the provided index

Jump to

Keyboard shortcuts

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