A golang way to use coding java.