Updated Plugging in Plugins Yourself (markdown)

pepa65 2019-04-23 12:19:53 -07:00
parent 1e5f701961
commit 102c2b1ea8

@ -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.