Skip to content

Commit

Permalink
Update quick-start.md (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
gin-gitaxias committed Apr 4, 2023
1 parent 5838fd3 commit 99750e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/tutorials/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you are not looking to use Coraza WAF as a library and you want a working WAF
## Add Coraza to your go project

```sh
go get github.com/coraza-waf/coraza/v3@latest
go get github.com/corazawaf/coraza/v3@latest
```

### Create a WAF instance
Expand All @@ -32,7 +32,7 @@ WAF instances are the main container for settings and rules which are inherited
```go
package main
import (
"github.com/coraza-waf/coraza/v3"
"github.com/corazawaf/coraza/v3"
)
func initCoraza(){
coraza.NewWaf()
Expand All @@ -48,8 +48,8 @@ Rules are unmarshaled using the seclang package which provides functionalities t
```go
package main
import (
"github.com/coraza-waf/coraza/v3"
"github.com/coraza-waf/coraza/v3/seclang"
"github.com/corazawaf/coraza/v3"
"github.com/corazawaf/coraza/v3/seclang"
)
func parseRules(waf *coraza.Waf){
parser := seclang.NewParser(waf)
Expand Down

0 comments on commit 99750e7

Please sign in to comment.