浏览代码

Removed some redundant types.

Peter H. Froehlich 9 年之前
父节点
当前提交
a1b81a6460
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      httpsify.go

+ 6 - 6
httpsify.go

@@ -20,12 +20,12 @@ import (
 const VERSION = "httpsify/v1"
 
 var (
-	port    *string = flag.String("port", "443", "the port that will serve the https requests")
-	cert    *string = flag.String("cert", "./cert.pem", "the cert.pem save-path")
-	key     *string = flag.String("key", "./key.pem", "the key.pem save-path")
-	domains *string = flag.String("domains", "", "a comma separated list of your site(s) domain(s)")
-	backend *string = flag.String("backend", "http://127.0.0.1:80", "the backend http server that will serve the terminated requests")
-	info    *string = flag.String("info", "yes", "whether to send information about httpsify or not ^_^")
+	port    = flag.String("port", "443", "the port that will serve the https requests")
+	cert    = flag.String("cert", "./cert.pem", "the cert.pem save-path")
+	key     = flag.String("key", "./key.pem", "the key.pem save-path")
+	domains = flag.String("domains", "", "a comma separated list of your site(s) domain(s)")
+	backend = flag.String("backend", "http://127.0.0.1:80", "the backend http server that will serve the terminated requests")
+	info    = flag.String("info", "yes", "whether to send information about httpsify or not ^_^")
 )
 
 // --------------