Updates example to use modern Go.