repositorypackage
0.0.0-20240430184307-e7dfef0020a6
Repository: https://github.com/soypat/netif.git
Documentation: pkg.go.dev
# README
netif
Networking interfaces. For now I'm adding a TAP interface I can understand
Debugging with VSCode
To run with an ethernet interface you'll need to open VSCode as sudo with --no-sandbox
option:
sudo code --user-data-dir ~/.config/Code --no-sandbox .
You may need to install the Go extension and Delve as sudo since you are opening VSCode as a different user.
Creating a launch.json maps directly to using VSCode normally. Here's an example:
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/examples/mqtt/",
}
]
}