Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
cmd: main: fix minor doc typos (#4082)
Fixed typos in the documentation
Simão Gomes Viana committed
Mar 29, 2021 at 19:02 UTC
87fbc0783ae45cff885d5118a095ad9ac8c1c08a
1 file changed
+2
-2
cmd/main.go
+2
-2
@@ -49,7 +49,7 @@ func init() {
49
}
50
51
// Main implements the main function of the caddy command.
52
-// Call this if Caddy is to be the main() if your program.
52
+// Call this if Caddy is to be the main() of your program.
53
func Main() {
54
switch len(os.Args) {
55
case 0:
@@ -311,7 +311,7 @@ func (f Flags) Int(name string) int {
311
312
// Float64 returns the float64 representation of the
313
// flag given by name. It returns false if the flag
314
-// is not a float63 type. It panics if the flag is
314
+// is not a float64 type. It panics if the flag is
315
// not in the flag set.
316
func (f Flags) Float64(name string) float64 {
317
val, _ := strconv.ParseFloat(f.String(name), 64)