1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! [Go](https://go.dev) language exporter for [Specta](specta).
//!
//! <div class="warning">
//! This crate is still in active development and is not yet ready for general purpose use!
//! </div>
//!
//! # Usage
//!
//! ```rust
//! use specta::{Type, Types};
//! use specta_go::Go;
//!
//! #[derive(Type)]
//! pub struct MyType {
//! pub field: String,
//! }
//!
//! let types = Types::default().register::<MyType>();
//!
//! Go::default()
//! .export_to("./bindings.go", &types)
//! .unwrap();
//! ```
pub use Error;
pub use ;