mirror of
https://github.com/caddyserver/caddy.git
synced 2025-11-26 16:25:23 -05:00
Updated Plugging in Plugins Yourself (markdown)
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user