Cyphrme / Cyphrme/CozGoX

Write `Normalize(pay json.RawMessage, norm Normal, opt Option)(json.RawMessage, error)` if useful

Open
#1 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

It would be like IsNormal(), except instead of returning bool it would return a normalized structure.

Could probably call other functions like "Canonical". Optionally, may use the suffix "ical"/"ize" for Normal types. "Onlyize, Needize, Orderize, Optionize"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing IsNormal() behavior and the Normal, Option, and json.RawMessage types, then compare any Canonical-style functions. Clarify whether Normalize is needed and settle the naming and normalization contract before implementation; done means the API behavior is defined and verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.