|
|
|
|
|
by tapirl
3084 days ago
|
|
The pragmas in Go are not intended to be used in general user code. They should be only used in Go runtime implementation and standard packages.
The pragmas in Go are just some hints for compilers. Compilers will ignore many of the pragmas used in custom user code. |
|
Which are pretty useful when you want to target tests to different versions of Go when std lib exhibits different behaviour (behaviour changed as std lib matured).