answercmd

package
v0.0.0-...-883d24b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 93 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name is the name of the project
	Name = "answer"
	// Version is the version of the project
	Version = "0.0.0"
	// Revision is the git short commit revision number
	Revision = "-"
	// Time is the build time of the project
	Time = "-"
)

go build -ldflags "-X github.com/Mark7631/incubator-answer/cmd.Version=x.y.z"

Functions

func Execute

func Execute()

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

func Main

func Main()

Main @securityDefinitions.apikey ApiKeyAuth @in header @name Authorization

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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