Skip to content

Commit

Permalink
readme: ensure the example is valid Go (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 committed Mar 21, 2020
1 parent 6004fc7 commit 203ce92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 203ce92

Please sign in to comment.