Skip to content

Commit

Permalink
go 1.20 (via utils)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Aug 29, 2023
1 parent 14d114e commit a3afacc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions examples/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ func main() {
log.Fatal(err)
}

// TODO: remove this
fmt.Println("title size:", testOptions.titleSize)
fmt.Println("target:", testOptions.target)
fmt.Println("hashes:", testOptions.hashes)

// ratelimits value is
if len(testOptions.rls.AsMap()) > 0 {
fmt.Printf("Got RateLimits: %+v\n", testOptions.rls)
Expand All @@ -68,4 +63,9 @@ func main() {
if len(testOptions.severity) > 0 {
fmt.Printf("Got Severity: %+v\n", testOptions.severity)
}

fmt.Println("Dynamic Values Output")
fmt.Println("title size:", testOptions.titleSize)
fmt.Println("target:", testOptions.target)
fmt.Println("hashes:", testOptions.hashes)
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/projectdiscovery/goflags

go 1.18
go 1.20

require (
github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08
Expand Down

0 comments on commit a3afacc

Please sign in to comment.