Tonic example fixup

This commit is contained in:
Billy Chan 2022-04-06 11:53:54 +08:00
parent ac1071a778
commit 40c4756fdb
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
use tonic::transport::Endpoint;
use tonic::Request;
use tonic_grpc_example::post::{blogpost_client::BlogpostClient, PostPerPage};
use sea_orm_tonic_example::post::{blogpost_client::BlogpostClient, PostPerPage};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {

View File

@ -1,7 +1,7 @@
use tonic::transport::Server;
use tonic::{Request, Response, Status};
use tonic_grpc_example::post::{
use sea_orm_tonic_example::post::{
blogpost_server::{Blogpost, BlogpostServer},
Post, PostId, PostList, PostPerPage, ProcessStatus,
};