1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Source: golang-github-spf13-cast
Section: devel
Priority: extra
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Anthony Fok <foka@debian.org>, Tim Potter <tpot@hpe.com>
Build-Depends: debhelper (>= 10),
dh-golang,
golang-any,
golang-github-stretchr-testify-dev
Standards-Version: 3.9.8
Homepage: https://github.com/spf13/cast
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-spf13-cast.git
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-spf13-cast.git
XS-Go-Import-Path: github.com/spf13/cast
Package: golang-github-spf13-cast-dev
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
golang-github-stretchr-testify-dev
Description: Safe and easy casting from one type to another in Go
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 (http://gohugo.io/), a website engine
which uses YAML, TOML or JSON for meta data.
|