cmd

package
v0.0.0-...-a3d249e Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "pedigree",
	Short: "pedigree is a simply request-logging server application.",
	Long: `
__________             .___.__                                  ._.
\______   \  ____    __| _/|__|   ____  _______   ____    ____  | |
 |     ___/_/ __ \  / __ | |  |  / ___\ \_  __ \_/ __ \ _/ __ \ | |
 |    |    \  ___/ / /_/ | |  | / /_/  > |  | \/\  ___/ \  ___/  \|
 |____|     \___  >\____ | |__| \___  /  |__|    \___  > \___  > __
                \/      \/     /_____/               \/      \/  \/
pedigree is a simply request-logging server application.
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type KVArray

type KVArray struct {
	Data []map[string]interface{} `json:"data,omitdata"`
}

KVArray Key-Value形式のペアオブジェクトを格納する

func NewKeyValueArray

func NewKeyValueArray() *KVArray

NewKeyValueArray KVArray生成

func (*KVArray) Add

func (k *KVArray) Add(kv map[string]interface{})

Add 要素を追加する

Jump to

Keyboard shortcuts

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