CrabScout. The best software around.
Search

Cast for Go

Convert dynamically shaped values into common Go types.

spf13 · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add github.com/spf13/cast at v1.10.0. Read a fictional count written as text and check the invalid case.

What we tested

v1.10.0. Read a fictional count written as text and check the invalid case. Converted the sample numeric string and rejected the nonnumeric label.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library