some test code in golang.