[ 原始碼: golang-github-spf13-cast ]
套件:golang-github-spf13-cast-dev(1.6.0-1)
golang-github-spf13-cast-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-spf13-cast:
- [golang-github-spf13-cast_1.6.0-1.dsc]
- [golang-github-spf13-cast_1.6.0.orig.tar.gz]
- [golang-github-spf13-cast_1.6.0-1.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
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 (https://gohugo.io/), a website engine which uses YAML, TOML or JSON for meta data.