Y
Hacker News
new
|
ask
|
show
|
jobs
by
ricardobeat
1487 days ago
No you can't, but Go will happily de-reference the pointer without a null check, and your "string" will blow up in production:
https://go.dev/play/p/7EVa7q6VgIM