Skip to content

Commit

Permalink
Merge pull request #13 from harakeishi/delete/debug-code
Browse files Browse the repository at this point in the history
デバッグコードの削除
  • Loading branch information
harakeishi authored Jan 30, 2022
2 parents 96c0e71 + acdc614 commit e388347
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions whereis/whereis.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ func Resolve(domain string, verbose bool) error {

func (s *Summary) ParseWhoisResponse() error {
paragraph := s.BreakDownWhoisResponseIntoParagraphs()
for _, v := range paragraph {
fmt.Println(v)
fmt.Println("============================================================")
}
for _, v := range paragraph {
tmp := NetworkAdomin{}
row := strings.Split(v, "\n")
Expand Down Expand Up @@ -101,8 +97,6 @@ func (s *Summary) EchoResult(verbose bool) {
}

func (s *Summary) BreakDownWhoisResponseIntoParagraphs() []string {
fmt.Println(s.WhoisResponse)
fmt.Println(s.WhoisResponseServer)
switch s.WhoisResponseServer {
case "whois.arin.net":
return strings.Split(s.WhoisResponse, "#")
Expand Down

0 comments on commit e388347

Please sign in to comment.