Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTypescriptFromParsed ¶
func GenerateTypescriptFromParsed(structs []ParsedStruct) string
func GoTypeToTypescript ¶
Types ¶
type ParsedField ¶
type ParsedStruct ¶
type ParsedStruct struct {
Name string
TableName string
Fields []ParsedField
AdminOnly bool
Hidden bool
}
func ParseSchemaFile ¶
func ParseSchemaFile(filePath string) ([]ParsedStruct, error)
Click to show internal directories.
Click to hide internal directories.