Skip to content

Commit

Permalink
Update quick-start.md
Browse files Browse the repository at this point in the history
modify Waf->WAF
  • Loading branch information
samwafgo authored Nov 21, 2024
1 parent df5869f commit 4879eb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/tutorials/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import (
"github.com/corazawaf/coraza/v3"
)
func initCoraza(){
cfg := coraza.NewWafConfig()
waf, err := coraza.NewWaf(cfg)
cfg := coraza.NewWAFConfig()
waf, err := coraza.NewWAF(cfg)
}
```

Expand Down Expand Up @@ -158,4 +158,4 @@ func main() {
fmt.Println("Server is running. Listening port: 8090")
log.Fatal(http.ListenAndServe(":8090", nil))
}
```
```

0 comments on commit 4879eb6

Please sign in to comment.