go fmt
This commit is contained in:
parent
ac599bb481
commit
dd6e4859f4
|
@ -2,13 +2,13 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/dirtbags/netshovel"
|
||||||
|
"github.com/google/gopacket"
|
||||||
|
"github.com/google/gopacket/tcpassembly"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"github.com/google/gopacket"
|
|
||||||
"github.com/google/gopacket/tcpassembly"
|
|
||||||
"github.com/dirtbags/netshovel"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
|
@ -55,7 +55,6 @@ func (stream SimpleStream) Decode(wg *sync.WaitGroup) {
|
||||||
for {
|
for {
|
||||||
pkt := NewSimplePacket()
|
pkt := NewSimplePacket()
|
||||||
|
|
||||||
|
|
||||||
utterance, err := stream.Read(-1)
|
utterance, err := stream.Read(-1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err != io.EOF {
|
if err != io.EOF {
|
||||||
|
|
Loading…
Reference in New Issue