client

package
v0.0.0-...-d67b91f Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONFlag

type JSONFlag struct {
	Target interface{}
}

func (*JSONFlag) Set

func (f *JSONFlag) Set(v string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*JSONFlag) String

func (f *JSONFlag) String() string

String is used both by fmt.Print and by Cobra in help text https://stackoverflow.com/questions/70285369/how-can-i-provide-json-array-as-argument-to-cobra-cli

func (*JSONFlag) Type

func (f *JSONFlag) Type() string

Type is only used in help text

Jump to

Keyboard shortcuts

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