Skip to content

Commit

Permalink
made the example match the code in the user's guide
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Jul 25, 2019
1 parent 44309da commit 1973800
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/minimal.go
Expand Up @@ -13,11 +13,16 @@ func main() {
rand.Seed(time.Now().UTC().UnixNano())

e := enum.NewEnumeration()
if e == nil {
return
}

go func() {
for result := range e.Output {
fmt.Println(result.Name)
}
}()

// Setup the most basic amass configuration
e.Config.AddDomain("example.com")
e.Start()
Expand Down

0 comments on commit 1973800

Please sign in to comment.