Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package main
import (
"fmt"
"syscall"
"runtime"
)
func main() {
fmt.Printf("Version: %s\nGOOS: %s\nGOARCH: %s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
fmt.Printf("SO_REUSEADDR: 0x%X\nSO_REUSEPORT: 0x%X\n", syscall.SO_REUSEADDR, syscall.SO_REUSEPORT)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.