A rust tool meant to convert a golang struct to a js type object.
```rs use jstypifygostruct;
fn main() {
let example = r#"
type Region struct {
Country string json:"country" binding:"required"
State string json:"state" binding:"required"
}
"#;
match jstypifygostruct::transform(example.tostring()) {
Ok(results) => println!("{}", results); // prints out type Region = { country:string; state:string; };
Err(parseerrors) => println!("{:?}", parse_errors);
}
}
```