Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorn committed Oct 10, 2019
1 parent 2e0395e commit 9ab65e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file removed onf/.onf.go.swo
Binary file not shown.
3 changes: 3 additions & 0 deletions onf/internal/netstat/netstat.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
package netstat

import (
"bytes"
"fmt"
"io"
"log"
"net"
"strconv"
"time"

"github.com/jecoz/lsaddr/onf/internal"
"gopkg.in/pipe.v2"
)

type ActiveConnection struct {
Expand Down
3 changes: 3 additions & 0 deletions onf/runtime_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
package onf

import (
"time"

"github.com/jecoz/lsaddr/onf/internal/netstat"
)

Expand All @@ -36,4 +38,5 @@ func fetchAll() ([]ONF, error) {
CreatedAt: time.Now(),
}
}
return mapped, nil
}

0 comments on commit 9ab65e4

Please sign in to comment.