marstr / marstr/envelopes

json package Writer/Loader constructors need to be fixed up

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

They return an error, but can never produce an error. This hurts ergonomics for no reason.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the json package and its Writer and Loader constructors, then inspect their callers and any related tests. Confirm that these constructors cannot produce errors, remove the unnecessary error return, and update affected call sites so the package builds and its tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.