Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.6.0"
)

Variables

This section is empty.

Functions

func NewDefaultYttCmd

func NewDefaultYttCmd() *cobra.Command

func NewPlaygroundCmd

func NewPlaygroundCmd(o *PlaygroundOptions) *cobra.Command

func NewVersionCmd

func NewVersionCmd(o *VersionOptions) *cobra.Command

func NewYttCmd

func NewYttCmd(o *YttOptions) *cobra.Command

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

func ShowSubcommands

func ShowSubcommands(cmd *cobra.Command, args []string) error

Types

type PlaygroundOptions

type PlaygroundOptions struct {
	ListenAddr  string
	BinaryPath  string
	CheckCookie bool
}

func NewPlaygroundOptions

func NewPlaygroundOptions() *PlaygroundOptions

func (*PlaygroundOptions) Run

func (o *PlaygroundOptions) Run() error

func (*PlaygroundOptions) Server

func (o *PlaygroundOptions) Server() *playground.Server

type VersionOptions

type VersionOptions struct{}

func NewVersionOptions

func NewVersionOptions() *VersionOptions

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

type YttOptions

type YttOptions struct{}

func NewDefaultYttOptions

func NewDefaultYttOptions() *YttOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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