Skip to content

Commit

Permalink
import sort order in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip-stephens committed May 8, 2024
1 parent 5531527 commit 5ac655a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ package main

import (
"github.com/zmap/zdns/pkg/cmd"
// the order of these imports is important, as the modules are registered in the init() functions.
// Import modules after the basic cmd pkg
_ "github.com/zmap/zdns/pkg/modules/alookup"
_ "github.com/zmap/zdns/pkg/modules/axfr"
_ "github.com/zmap/zdns/pkg/modules/bindversion"
_ "github.com/zmap/zdns/pkg/modules/dmarc"
_ "github.com/zmap/zdns/pkg/modules/mxlookup"
_ "github.com/zmap/zdns/pkg/modules/nslookup"
_ "github.com/zmap/zdns/pkg/modules/spf"
)

func main() {
Expand Down

0 comments on commit 5ac655a

Please sign in to comment.