cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Adds all child commands to the root command and sets flags. Called by main.main()

Types

type Job

type Job struct {
	Company  string `json:"company"`
	Href     string `json:"href"`
	Id       int    `json:"id"`
	Location string `json:"location"`
	Query_id int    `json:"query_id"`
	Title    string `json:"title"`
}

type Query

type Query struct {
	City   string `json:"city"`
	Id     int    `json:"id"`
	Radius string `json:"radius"`
	State  string `json:"state"`
	Term   string `json:"term"`
}

structs correspond to tables in API database

Jump to

Keyboard shortcuts

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