func Required(val interface{}) error {
	value := reflect.ValueOf(val)
	if isZero(value) && value.Kind() != reflect.Bool {
		return errors.New("Value is required")
	}
	return nil
}
Required does not allow an empty value
package survey
import (
	"errors"
	"fmt"
	"reflect"
)