Make pcap-broker go installable (#8)

This mainly adds a main.go file in the project root so it's easier to
install pcap-broker using `go install`:

    $ go install github.com/fox-it/pcap-broker@latest

Or install the main branch:

    $ go install github.com/fox-it/pcap-broker@main
This commit is contained in:
Yun Zheng Hu
2024-10-04 17:26:35 +02:00
committed by GitHub
parent 9e39b77f49
commit 8f69ce3a49
4 changed files with 27 additions and 5 deletions

9
main.go Normal file
View File

@@ -0,0 +1,9 @@
package main
import (
pcap_broker "github.com/fox-it/pcap-broker/cmd/pcap-broker"
)
func main() {
pcap_broker.Main()
}