Menu

When to Prefer `any` over Interfaces?

#golang#redditgolang#metadata#type#fields
Long article (301 words) — no AI summary yet.
Reading 0:00
15s threshold

Hello, I'm unfamiliar on how I should solve this in go. I receive what I am calling Metadata over http in my handler. I receive the body and decode / unmarshal it into a request DTO something like type MetadataRequest struct { // generic metadata fields…

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.