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