Skip to content

Commit

Permalink
Refactor imports to distinguish first and third party imports
Browse files Browse the repository at this point in the history
This commit refactors imports so first and third party libraries can be
more easily distiguished.
  • Loading branch information
chazlever committed Apr 8, 2021
1 parent 97f9120 commit a30fe9c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package main

import (
"fmt"
"github.com/chazlever/rickybobby/iohandlers"
log "github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"
"os"
"time"

"github.com/chazlever/rickybobby/iohandlers"
"github.com/chazlever/rickybobby/parser"
"github.com/pkg/profile"
log "github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"
)

func getOutputFormats() []string {
Expand Down Expand Up @@ -78,7 +78,6 @@ func liveCommand(c *cli.Context) error {
return err
}


// Load command specific flags
snapshotLen := int32(c.Int("snaplen"))
promiscuous := c.Bool("promiscuous")
Expand Down

0 comments on commit a30fe9c

Please sign in to comment.