diff options
author | Jonathan DeMasi <jon.demasi@colorado.edu> | 2019-06-05 13:34:26 -0600 |
---|---|---|
committer | Jonathan DeMasi <jon.demasi@colorado.edu> | 2019-06-05 13:34:26 -0600 |
commit | 77c6c6ed028e45e79ab9f9446b97c9449f021fa5 (patch) | |
tree | 21d79c103031428f04f7b8974113c53e673d3a37 | |
parent | 23e48f92d32e89b69ffcaf193ee4eef79e4880f0 (diff) | |
download | gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar.gz gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar.bz2 gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar.lz gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar.xz gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.tar.zst gh_authkey_checker-77c6c6ed028e45e79ab9f9446b97c9449f021fa5.zip |
the go way
-rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -18,11 +18,11 @@ func parseArgs() string { // We have one arg possible comma separated if len(os.Args) == 2 { - return (os.Args[1]) + return os.Args[1] } else { log.Fatalln("You have provided too many arguments") } - return ("") + return "" } func fetchKeys(username string) string { @@ -42,9 +42,9 @@ func fetchKeys(username string) string { log.Fatal(err) } bodyString := string(bodyBytes) - return (bodyString) + return bodyString } - return ("") + return "" } // Need to fix this to not be an infinite loop |