Move macro to utils.go