Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 710 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 710 Bytes

goctl-rs

A simple Rust version of goctl

Support

  • type struct

  • many type struct

  • nest type struct

  • service block

  • API block

Structure

  1. token.rs - Tokenize the input string
  2. parser.rs - Parse API Syntax
  3. service.rs - Parse Service Block
  4. struct_ref.rs - Parse Struct Block

Questions

Problems encountered in development

  1. Why is parse_many_struct not used in parse_struct_stmt1, but parse_struct_to_vec is used instead?