Tonic example fixup
This commit is contained in:
parent
ac1071a778
commit
40c4756fdb
@ -1,7 +1,7 @@
|
|||||||
use tonic::transport::Endpoint;
|
use tonic::transport::Endpoint;
|
||||||
use tonic::Request;
|
use tonic::Request;
|
||||||
|
|
||||||
use tonic_grpc_example::post::{blogpost_client::BlogpostClient, PostPerPage};
|
use sea_orm_tonic_example::post::{blogpost_client::BlogpostClient, PostPerPage};
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use tonic::transport::Server;
|
use tonic::transport::Server;
|
||||||
use tonic::{Request, Response, Status};
|
use tonic::{Request, Response, Status};
|
||||||
|
|
||||||
use tonic_grpc_example::post::{
|
use sea_orm_tonic_example::post::{
|
||||||
blogpost_server::{Blogpost, BlogpostServer},
|
blogpost_server::{Blogpost, BlogpostServer},
|
||||||
Post, PostId, PostList, PostPerPage, ProcessStatus,
|
Post, PostId, PostList, PostPerPage, ProcessStatus,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user