[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799735: ITP: golang-github-spf13-cast -- Safe and easy casting from one type to another in Go

Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>

* Package name    : golang-github-spf13-cast
  Version         : 0.0~git20150803.0.ee815aa-1
  Upstream Author : Steve Francia
* URL             : https://github.com/spf13/cast
* License         : TODO
  Programming Lang: Go
  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.

Reason for packaging: Needed by Go applications such as
Hugo the static website generator, http://gohugo.io/

To be maintained within the pkg-go-maintainers team.

Reply to: