Skip to content

Commit 67a95cb

Browse files
committed
feat(go): add support for stream<u8>
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent da15b21 commit 67a95cb

File tree

10 files changed

+1079
-400
lines changed

10 files changed

+1079
-400
lines changed

crates/wit-bindgen-go/src/interface.rs

Lines changed: 711 additions & 231 deletions
Large diffs are not rendered by default.

crates/wit-bindgen-go/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ impl Deps {
7575
"fmt"
7676
}
7777

78+
fn errgroup(&mut self) -> &'static str {
79+
self.map.insert(
80+
"errgroup".to_string(),
81+
"golang.org/x/sync/errgroup".to_string(),
82+
);
83+
"errgroup"
84+
}
85+
7886
fn io(&mut self) -> &'static str {
7987
self.map.insert("io".to_string(), "io".to_string());
8088
"io"

0 commit comments

Comments
 (0)