spf13 / spf13/cast

cast.ToUint32("0134444") = 47396

Open
#232 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
4k
Forks
337
Avg merge
15m
Merged PRs (30d)
1

Description

cast.ToUint32("0134444") = 47396

my go version go1.23.4 darwin/amd64, cast version 1.71

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported cast.ToUint32("0134444") result with Go 1.23.4 and cast 1.71, then trace the conversion entry point used by that function. The issue does not state whether the value should be interpreted as decimal or octal, so the expected result must be clarified before defining the fix and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.