Comment

Comment by 38

your example is not valid Go code:

syntax error: unexpected ], expected type argument list

and its also just poor style in general. "any" is already a pointer, so you would rarely design a pointer to any. example:

https://godocs.io/encoding/json#Marshal

parent 38 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton