11 lines
152 B
Go
11 lines
152 B
Go
package requests
|
|
|
|
import "strconv"
|
|
|
|
type Interger string
|
|
|
|
func (i Interger) ToInt() int {
|
|
a, _ := strconv.ParseInt(string(i), 10, 64)
|
|
return int(a)
|
|
}
|