MCPcopy Create free account
hub / github.com/devfeel/mapper / Int32

Method Int32

convert.go:69–72  ·  view source on GitHub ↗

Int32 string to int32

()

Source from the content-addressed store, hash-verified

67
68// Int32 string to int32
69func (f Convert) Int32() (int32, error) {
70 v, err := strconv.ParseInt(f.String(), 10, 32)
71 return int32(v), err
72}
73
74// Int64 string to int64
75func (f Convert) Int64() (int64, error) {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected