models

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaResp

type AreaResp struct {
	Name       string            `json:"name,omitempty"`
	Region     string            `json:"region,omitempty"`
	RegionCode string            `json:"region_code,omitempty"`
	Codes      map[string]string `json:"codes,omitempty"`
}

type IndustryResp

type IndustryResp struct {
	Code string `json:"code,omitempty"`
	Name string `json:"name,omitempty"`
}

type Results

type Results struct {
	Areas      []AreaResp     `json:"areas,omitempty"`
	Industries []IndustryResp `json:"industries,omitempty"`
}

type ScrubberParams

type ScrubberParams struct {
	Query string
	SIC   []string
	OAC   []string
}

func GetScrubberParams

func GetScrubberParams(query url.Values) (*ScrubberParams, error)

type ScrubberResp

type ScrubberResp struct {
	Time    string  `json:"time"`
	Query   string  `json:"query"`
	Results Results `json:"results,omitempty"`
}

Jump to

Keyboard shortcuts

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