From 102c2b1ea8e74bd50bbae00cdb0fc56061966113 Mon Sep 17 00:00:00 2001 From: pepa65 Date: Tue, 23 Apr 2019 12:19:53 -0700 Subject: [PATCH] Updated Plugging in Plugins Yourself (markdown) --- Plugging-in-Plugins-Yourself.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugging-in-Plugins-Yourself.md b/Plugging-in-Plugins-Yourself.md index d20d456..5aaf470 100644 --- a/Plugging-in-Plugins-Yourself.md +++ b/Plugging-in-Plugins-Yourself.md @@ -20,5 +20,5 @@ func main() { caddymain.Run() } ``` -5. Make your little main function a Go module: `go mod init mycaddy` (the name doesn't really matter). +5. Make your little main function a Go module: `go mod init mycaddy` (the name doesn't really matter, but the filename should end in `.go`). 6. Then `go install` will then create your binary at `$GOPATH/bin`, or `go build` will put it in the current directory.