Assign the literal to a variable first, then use the address-of operator (&) to create a pointer to that variable.
Use the & operator to take the address of a literal value and assign it to a typed pointer variable.
s := "hello"
p := &s
Note: You cannot take the address of a literal directly (e.g., &"hello" is invalid) because literals are not addressable. You must first assign the literal to a variable.
In Go, you cannot point directly at a raw number or text string because they don't have a fixed memory address. You must first save the value in a variable, which gives it a home in memory. Then, you can create a pointer that points to that variable's address.