Categorygithub.com/guonaihong/zerogen
modulepackage
0.0.9
Repository: https://github.com/guonaihong/zerogen.git
Documentation: pkg.go.dev

# README

zerogen

辅助crud

功能

  • 只能生成没有关联关系的crud

todo

  • 正在尝试提示词生成

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
GenerateStruct generates a struct based on the schema info using Go templates.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GoType returns the Go type for a given database column type based on the framework type mapping, using "default" mapping if no specific framework mapping exists.
ToCamelCase converts snake_case to CamelCase.
ToLowerCamelCase converts snake_case to lowerCamelCase.
ToSnakeCase converts a string from camelCase or PascalCase to snake_case using a state machine approach.
No description provided by the author

# Structs

No description provided by the author
ColumnSchema represents the schema of a database column.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author