| 1 |
Source: golang-github-spf13-cast |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Anthony Fok <[email protected]>, |
| 6 |
Tim Potter <[email protected]> |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
golang-any (>= 2:1.19~), |
| 10 |
golang-github-frankban-quicktest-dev (>= 1.14.6), |
| 11 |
tzdata-legacy |
| 12 |
Testsuite: autopkgtest-pkg-go |
| 13 |
Standards-Version: 4.7.2 |
| 14 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-spf13-cast |
| 15 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-spf13-cast.git |
| 16 |
Homepage: https://github.com/spf13/cast |
| 17 |
XS-Go-Import-Path: github.com/spf13/cast |
| 18 |
|
| 19 |
Package: golang-github-spf13-cast-dev |
| 20 |
Architecture: all |
| 21 |
Multi-Arch: foreign |
| 22 |
Depends: ${misc:Depends}, tzdata-legacy |
| 23 |
Description: Safe and easy casting from one type to another in Go |
| 24 |
Cast is a library to convert between different Go types in a consistent |
| 25 |
and easy way. |
| 26 |
. |
| 27 |
Cast provides simple functions to easily convert a number to a string, an |
| 28 |
interface into a bool, etc. Cast does this intelligently when an obvious |
| 29 |
conversion is possible. It doesn’t make any attempts to guess what you |
| 30 |
meant; for example, you can only convert a string to an int when it is a |
| 31 |
string representation of an int such as “8”. |
| 32 |
. |
| 33 |
Cast was developed for use in Hugo (https://gohugo.io/), a website engine |
| 34 |
which uses YAML, TOML or JSON for meta data. |