Skip to content

Commit a175d48

Browse files
authored
docs(volo): update volo-cli related contents to meet the newest volo … (#1535)
1 parent a5d9b9b commit a175d48

8 files changed

Lines changed: 0 additions & 9 deletions

File tree

content/en/docs/volo/cli/getting-started/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ At this point, our entire catalog is structured as follows:
9494
├── Cargo.toml
9595
├── idl
9696
│ └── rpc_example.thrift
97-
├── rust-toolchain.toml
9897
├── src
9998
│ ├── bin
10099
│ │ └── server.rs

content/en/docs/volo/guide/metadata.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ use metainfo::{Backward, Forward};
3737

3838
pub struct S;
3939

40-
#[volo::async_trait]
4140
impl volo_gen::volo::example::ItemService for S {
4241
async fn get_item(
4342
&self,

content/en/docs/volo/volo-grpc/getting-started/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ At this point, our entire directory structure looks like this:
9191
├── Cargo.toml
9292
├── idl
9393
│ └── volo_example.proto
94-
├── rust-toolchain.toml
9594
├── src
9695
│ ├── bin
9796
│ │ └── server.rs

content/en/docs/volo/volo-thrift/getting-started/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ At this point, our entire directory structure looks like this:
9090
├── Cargo.toml
9191
├── idl
9292
│ └── volo_example.thrift
93-
├── rust-toolchain.toml
9493
├── src
9594
│ ├── bin
9695
│ │ └── server.rs

content/zh/docs/volo/cli/getting-started/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ service ItemService {
9393
├── Cargo.toml
9494
├── idl
9595
│ └── rpc_example.thrift
96-
├── rust-toolchain.toml
9796
├── src
9897
│ ├── bin
9998
│ │ └── server.rs

content/zh/docs/volo/guide/metadata.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ use metainfo::{Backward, Forward};
3838

3939
pub struct S;
4040

41-
#[volo::async_trait]
4241
impl volo_gen::volo::example::ItemService for S {
4342
async fn get_item(
4443
&self,

content/zh/docs/volo/volo-grpc/getting-started/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ volo idl add -g git@github.com:org/repo.git -r main /path/to/your/idl.proto
9292
├── Cargo.toml
9393
├── idl
9494
│ └── volo_example.proto
95-
├── rust-toolchain.toml
9695
├── src
9796
│ ├── bin
9897
│ │ └── server.rs

content/zh/docs/volo/volo-thrift/getting-started/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ volo idl add -g git@github.com:org/repo.git -r main /path/to/your/idl.thrift
9191
├── Cargo.toml
9292
├── idl
9393
│ └── volo_example.thrift
94-
├── rust-toolchain.toml
9594
├── src
9695
│ ├── bin
9796
│ │ └── server.rs
@@ -109,7 +108,6 @@ volo idl add -g git@github.com:org/repo.git -r main /path/to/your/idl.thrift
109108
```rust
110109
pub struct S;
111110

112-
#[volo::async_trait]
113111
impl volo_gen::volo::example::ItemService for S {
114112
// 这部分是我们需要增加的代码
115113
async fn get_item(

0 commit comments

Comments
 (0)