Move to git imports rather than relative imports

This commit is contained in:
maride 2019-11-28 13:27:23 +01:00
parent 6e2893c90a
commit 76a51dac52
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ package main
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.darknebu.la/maride/pancap/src/ethernet"
"github.com/google/gopacket" "github.com/google/gopacket"
"github.com/google/gopacket/layers" "github.com/google/gopacket/layers"
"./ethernet"
) )
// Analyzes the given packet source // Analyzes the given packet source

View File

@ -1,11 +1,11 @@
package ethernet package ethernet
import ( import (
"git.darknebu.la/maride/pancap/src/ethernet/arp"
"git.darknebu.la/maride/pancap/src/ethernet/dns"
"github.com/google/gopacket" "github.com/google/gopacket"
"github.com/google/gopacket/layers" "github.com/google/gopacket/layers"
"log" "log"
"./arp"
"./dns"
) )
func Analyze(source *gopacket.PacketSource) error { func Analyze(source *gopacket.PacketSource) error {