func TollFreePhoneNumber() string {
	return singleFakeData(TollFreeNumber, func() interface{} {
		p := Phone{}
		return p.tollfreephonenumber()
	}).(string)
}
TollFreePhoneNumber get fake TollFreePhoneNumber
package faker
import (
	"fmt"
	"math/rand"
	"reflect"
	"strings"
	"github.com/bxcodec/faker/v3/support/slice"
)
var phone Phoner
func GetPhoner() Phoner {
	mu.Lock()
	defer mu.Unlock()
	if phone == nil {
		phone = &Phone{}
	}
	return phone
}
func SetPhoner(p Phoner) {
	phone = p
}
type Phoner interface {
	PhoneNumber(v reflect.Value) (interface{}, error)
	TollFreePhoneNumber(v reflect.Value) (interface{}, error)
	E164PhoneNumber(v reflect.Value) (interface{}, error)
}
type Phone struct {
}
func (p Phone) phonenumber() string {
	randInt, _ := RandomInt(1, 10)
	str := strings.Join(slice.IntToString(randInt), "")
	return fmt.Sprintf("%s-%s-%s", str[:3], str[3:6], str[6:10])
}
func (p Phone) PhoneNumber(v reflect.Value) (interface{}, error) {
	return p.phonenumber(), nil
}
func Phonenumber() string {
	return singleFakeData(PhoneNumber, func() interface{} {
		p := Phone{}
		return p.phonenumber()
	}).(string)
}
func (p Phone) tollfreephonenumber() string {
	out := ""
	boxDigitsStart := []string{"777", "888"}
	ints, _ := RandomInt(1, 9)
	for index, v := range slice.IntToString(ints) {
		if index == 3 {
			out += "-"
		}
		out += v
	}
	return fmt.Sprintf("(%s) %s", boxDigitsStart[rand.Intn(1)], out)
}
func (p Phone) TollFreePhoneNumber(v reflect.Value) (interface{}, error) {
	return p.tollfreephonenumber(), nil
}