You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/pkg/api/vendors/coingecko/format/format.go

14 lines
224 B
Go

package format
import "strconv"
// Bool2String boolean to string
func Bool2String(b bool) string {
return strconv.FormatBool(b)
}
// Int2String Integer to string
func Int2String(i int) string {
return strconv.Itoa(i)
}