Skip to content

Instantly share code, notes, and snippets.

📚
good good study, day day up

schwarzeni

📚
good good study, day day up
Block or report user

Report or block schwarzeni

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@schwarzeni
schwarzeni / util.go
Last active Oct 9, 2019
[golang] get specific network interface's IPv4 address
View util.go
package util
import (
"errors"
"fmt"
"net"
)
// useful links:
// https://stackoverflow.com/questions/27410764/dial-with-a-specific-address-interface-golang
You can’t perform that action at this time.