Renamed function.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Fixed go build handling.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>