openRuyi Lookout
← Packages

go-github-spf13-cast

safe and easy casting from one type to another in Go

Current
1.10.0
Candidate
Stale
License
MIT

Build

TargetResultLast successful versionSucceeded at
rva23
1.10.0
rva20
1.10.0
x86_64
1.10.0

Description

Cast is a library to convert between different go types in a consistent and easy way. Cast provides simple functions to easily convert a number to a string, an interface into a bool, etc. Cast does this intelligently when an obvious conversion is possible. It doesn’t make any attempts to guess what you meant, for example you can only convert a string to an int when it is a string representation of an int such as “8”. Cast was developed for use in Hugo (https://gohugo.io), a website engine which uses YAML, TOML or JSON for meta data.

Changelog

PR · 2

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T13:32:55+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not applicable
No confirmed version upgrade; this monitor is not run.
—
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked