Named Constants In Go Assembly

Hello, is there a way to name constant values in Go Assembly? I’m writing Go Assembly for an Arm64 architecture. In C and Arm64 assembly I would do the following.

C

#define myConstant 24

Arm64

.equ myConstant, 24

I know that #define can be used in Go assembly for entire instructions, but I’m looking for something that just creates a name for a number.

Thanks in advance,
Darius

Didn’t realize the Go Assembler #define is literally text replace. My issue was caused by doing something like this:

#define $24

instead of doing

#define 24