Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add toBool func #307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

davidkarlsen
Copy link

@davidkarlsen davidkarlsen commented Jun 10, 2021

Adds a toBool function.
Didn't really see any nice way to add test, but it simply delegates to cast.
Other changes due to running go fmt.
Fixes #258.

@nikgalushko
Copy link

nikgalushko commented Nov 13, 2021

Hi. I forked the project and started to revive it. I plugged linters and fix a lot of warnings.
Please move your PR to the my fork. If you have not a time please notify me and I make the changes myself.

42atomys added a commit to go-sprout/sprout that referenced this pull request May 10, 2024
## Description
This pull request introduces three new functions `toBool`, `toUint` and
`toUint64` to the conversion group

## Changes
- New functions: `toBool`, `toUint` and `toUint64`
- All conversion function are documented on
https://docs.atom.codes/sprout

## Fixes Masterminds#258,
Masterminds#307

## Checklist
- [x] I have read the **CONTRIBUTING.md** document.
- [x] My code follows the code style of this project.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [x] I have updated the documentation accordingly.
- [x] This change requires a change to the documentation on the website.
@42atomys
Copy link

Hello everyone 👋,

I wanted to let you know that this issue has been addressed in the fork of this project at go-sprout/sprout. The fix has been implemented starting from version v0.4.0.

For those looking for a solution, I recommend checking out the latest releases of the fork. This should help address the issue discussed in this thread.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How about a function toBool?
3 participants