helpers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAPIRequest

func CreateAPIRequest(method string, url string, headers map[string]string, body string) *http.Request

func Fatal

func Fatal(str string, err error)

Types

type Selector

type Selector struct {
	Information []string
	Options     []string
}

func (*Selector) AddOption

func (s *Selector) AddOption(option string)

func (*Selector) RequestSelection

func (s *Selector) RequestSelection() int

func (*Selector) Reset

func (s *Selector) Reset()

func (*Selector) SetInformation

func (s *Selector) SetInformation(information []string)

Jump to

Keyboard shortcuts

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