update example/test.go
gofmt
add LICENSE