Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> devel >> golang-github-spf13-cast-dev
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: golang-github-spf13-cast  ]

パッケージ: golang-github-spf13-cast-dev (1.4.1-1)

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.

その他の golang-github-spf13-cast-dev 関連パッケージ

  • 依存
  • 推奨
  • 提案

golang-github-spf13-cast-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 12.5 kB92 kB [ファイル一覧]