kabuka

package
v0.0.0-...-15ffb35 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeInput

func SanitizeInput(s string) string

SanitizeInput returns sanitized string

Types

type Kabuka

type Kabuka struct {
	Option
}

func (*Kabuka) Execute

func (k *Kabuka) Execute() error

type Option

type Option struct {
	Symbol string
	//ShowDetail        bool
	Format OutputFormatType // text(default) or json or csv

}

Option execution parameters

type OutputFormatType

type OutputFormatType string
const (
	OutputFormatTypeText OutputFormatType = "text"
	OutputFormatTypeJson OutputFormatType = "json"
	OutputFormatTypeCsv  OutputFormatType = "csv"
)

func ParseOutputFormat

func ParseOutputFormat(s string) (OutputFormatType, error)

Directories

Path Synopsis
jp
us

Jump to

Keyboard shortcuts

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