Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "ping", Short: "Test connection to Postgres database", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { postgres.Ping( postgrescmd.PostgresCmdFlagHost, postgrescmd.PostgresCmdFlagPort, postgrescmd.PostgresCmdFlagUser, postgrescmd.PostgresCmdFlagPassword, CmdFlagName, ) }, }
View Source
var CmdFlagName string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.