polymer

package
v0.0.0-...-079ac86 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GlobalTerminalWidth = 72

optimize for terminals with 72 char width

i haven't figured out how to get the terminal width from the ssh session

for the sake of time, i'm hardcoding it.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Jobs *[]Job
}

func (*Client) FetchJob

func (c *Client) FetchJob(slug string) (Job, error)

func (*Client) ListJobs

func (c *Client) ListJobs() ([]Job, error)

type Job

type Job struct {
	Id          int    `json:"id"`
	Title       string `json:"title"`
	Description string `json:"description"`
	Url         string `json:"job_post_url"`
}

func (Job) Filename

func (j Job) Filename() string

func (Job) Render

func (j Job) Render(darkOrLight string) (string, error)

func (Job) Slug

func (j Job) Slug() string

Jump to

Keyboard shortcuts

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