A traceroute library written in Go.
Must be run as sudo on OS X (and others)?
go build cmd/gotraceroute
sudo ./gotraceroute example.com
See the code in cmd/gotraceroute.go for an example of how to use the library from within your application.
The traceroute.Traceroute() function accepts a domain name and an options struct and returns a TracerouteResult struct that holds an array of TracerouteHop structs.
Useful resources: