types

package
v0.0.0-...-2bde531 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method string

Method string type value

func (Method) Label

func (m Method) Label() string

Label returns string to display

func (Method) String

func (m Method) String() string

String returns string value

func (Method) TreeColor

func (m Method) TreeColor() string

TreeColor returns foreground & background

type URL

type URL string

URL string type value

func (URL) Base

func (url URL) Base() string

Base returns the end of the url + "~/"

func (URL) ReplaceContext

func (url URL) ReplaceContext(mapKeysValues map[string]string) URL

ReplaceContext replaces all context {param} in the URL

func (URL) String

func (url URL) String() string

String returns string value

Jump to

Keyboard shortcuts

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