package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 25, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Enum represents an enumerated type in go file
type EnumValue struct {
Name string
Value any
}
Parser can parse Go files.
Parse parses a given Go file at srcPath, along with all files that share
the same package, into a domain model for enum code genration.
type Result struct {
Header *Header
Enums []Enum
}
Result representats a parsed Go file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.