mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-11-03 07:50:30 +00:00
readme: ensure the example is valid Go (#1)
This commit is contained in:
parent
6004fc79b2
commit
203ce92701
1 changed files with 4 additions and 2 deletions
|
@ -16,8 +16,10 @@ Supports Caddy 2 and up.
|
|||
```go
|
||||
caddyVersion := "v2.0.0-beta.19"
|
||||
plugins := []builder.CaddyPlugin{
|
||||
ModulePath: "github.com/caddyserver/nginx-adapter",
|
||||
Version: "6c484552e630ccac384d2d9c43c9d14c4e8d2e56",
|
||||
builder.CaddyPlugin{
|
||||
ModulePath: "github.com/caddyserver/nginx-adapter",
|
||||
Version: "6c484552e630ccac384d2d9c43c9d14c4e8d2e56",
|
||||
},
|
||||
}
|
||||
output := "./caddy"
|
||||
|
||||
|
|
Loading…
Reference in a new issue