cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

View Source
const (
	PING_DEFAULT_URL    = "baidu.com"
	PING_DEFAULT_COUNT  = 1
	PING_DEFAULT_RECORD = true
)
View Source
const (
	MYPING_DEFAULT_SHORT = "💡 Software info, author info, dev info."
	MYPING_DEFAULT_LONG  = `` /* 353-byte string literal not displayed */

)

Variables

View Source
var (
	PingUrl     string = PING_DEFAULT_URL
	PingCount   int    = PING_DEFAULT_COUNT
	PingRecourd bool   = PING_DEFAULT_RECORD
)

Functions

func Execute

func Execute()

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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