Use camel case for variable name
This commit is contained in:
parent
15b05b5fa6
commit
c0e6ef52ec
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
|
@ -46,7 +46,7 @@ const (
|
||||||
challengeLength int = 8
|
challengeLength int = 8
|
||||||
defaultBind string = ":0"
|
defaultBind string = ":0"
|
||||||
version string = "1.1.0"
|
version string = "1.1.0"
|
||||||
pretty_app_name string = "Remote Touchpad"
|
prettyAppName string = "Remote Touchpad"
|
||||||
)
|
)
|
||||||
|
|
||||||
func processCommand(backend Backend, command string) error {
|
func processCommand(backend Backend, command string) error {
|
||||||
|
|
@ -140,7 +140,7 @@ func secureRandBase64(length int) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
TerminalSetTitle(pretty_app_name)
|
TerminalSetTitle(prettyAppName)
|
||||||
var bind, certFile, keyFile, secret string
|
var bind, certFile, keyFile, secret string
|
||||||
var showVersion bool
|
var showVersion bool
|
||||||
flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
|
flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue