add macro for golang