func NewUserService(client *ent.Client) *UserService {
	return &UserService{
		client: client,
	}
}
NewUserService returns a new UserService
package entpb
import (
	context "context"
	ent "entgo.io/contrib/entproto/internal/todo/ent"
	attachment "entgo.io/contrib/entproto/internal/todo/ent/attachment"
	group "entgo.io/contrib/entproto/internal/todo/ent/group"
	schema "entgo.io/contrib/entproto/internal/todo/ent/schema"
	user "entgo.io/contrib/entproto/internal/todo/ent/user"
	runtime "entgo.io/contrib/entproto/runtime"
	sqlgraph "entgo.io/ent/dialect/sql/sqlgraph"
	errors "errors"
	uuid "github.com/google/uuid"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	strings "strings"
)
type UserService struct {
	client *ent.Client
	UnimplementedUserServiceServer
}