From 4879eb68cb9fedd609a372aed5e3c6b7690d7bdc Mon Sep 17 00:00:00 2001 From: samwafgo <138433335+samwafgo@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:50:00 +0800 Subject: [PATCH] Update quick-start.md modify Waf->WAF --- content/docs/tutorials/quick-start.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/tutorials/quick-start.md b/content/docs/tutorials/quick-start.md index b6a59f9c..2c0e0fda 100644 --- a/content/docs/tutorials/quick-start.md +++ b/content/docs/tutorials/quick-start.md @@ -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) } ``` @@ -158,4 +158,4 @@ func main() { fmt.Println("Server is running. Listening port: 8090") log.Fatal(http.ListenAndServe(":8090", nil)) } -``` \ No newline at end of file +```