Documentation
¶
Index ¶
- Constants
- func Debug() bool
- func Dialect() string
- func GenerateGoORMPackage() bool
- func GoColumnTag() string
- func GoHasManyTag() string
- func GoHasOneTag() string
- func GoMethodNameColumns() string
- func GoMethodNameTable() string
- func GoMethodPrefixColumn() string
- func GoORMOutputPath() string
- func GoORMPackageName() string
- func GoORMStructName() string
- func GoORMStructPackageImportPath() string
- func GoORMTypeName() string
- func GoPKTag() string
- func GoSliceTypeSuffix() string
- func Language() string
- func Load(ctx context.Context) (rollback func(), remainingArgs []string, err error)
- func MustLoad(ctx context.Context) (rollback func(), remainingArgs []string)
- func Trace() bool
- func Version() bool
Constants ¶
View Source
const ( OptionVersion = "version" OptionTrace, EnvKeyTrace = "trace", "ARCGEN_TRACE" OptionDebug, EnvKeyDebug = "debug", "ARCGEN_DEBUG" OptionDialect, EnvKeyDialect = "dialect", "ARCGEN_DIALECT" OptionLanguage, EnvKeyLanguage = "lang", "ARCGEN_LANGUAGE" // // Golang // OptionGoColumnTag, EnvKeyGoColumnTag = "go-column-tag", "ARCGEN_GO_COLUMN_TAG" OptionGoMethodNameTable, EnvKeyGoMethodNameTable = "go-method-name-table", "ARCGEN_GO_METHOD_NAME_TABLE" OptionGoMethodNameColumns, EnvKeyGoMethodNameColumns = "go-method-name-columns", "ARCGEN_GO_METHOD_NAME_COLUMNS" OptionGoMethodPrefixColumn, EnvKeyGoMethodPrefixColumn = "go-method-prefix-column", "ARCGEN_GO_METHOD_PREFIX_COLUMN" OptionGoPKTag, EnvKeyGoPKTag = "go-pk-tag", "ARCGEN_GO_PK_TAG" OptionGoSliceTypeSuffix, EnvKeyGoSliceTypeSuffix = "go-slice-type-suffix", "ARCGEN_GO_SLICE_TYPE_SUFFIX" OptionGoORMOutputPath, EnvKeyGoORMOutputPath = "go-orm-output-path", "ARCGEN_GO_ORM_OUTPUT_PATH" OptionGoORMPackageName, EnvKeyGoORMPackageName = "go-orm-package-name", "ARCGEN_GO_ORM_PACKAGE_NAME" OptionGoORMStructPackageImportPath, EnvKeyGoORMStructPackageImportPath = "go-orm-struct-package-import-path", "ARCGEN_GO_ORM_STRUCT_PACKAGE_IMPORT_PATH" OptionGoORMTypeName, EnvKeyGoORMTypeName = "go-orm-type-name", "ARCGEN_GO_ORM_TYPE_NAME" OptionGoORMStructName, EnvKeyGoORMStructName = "go-orm-struct-name", "ARCGEN_GO_ORM_STRUCT_NAME" OptionGoHasManyTag, EnvKeyGoHasManyTag = "go-has-many-tag", "ARCGEN_GO_HAS_MANY_TAG" OptionGoHasOneTag, EnvKeyGoHasOneTag = "go-has-one-tag", "ARCGEN_GO_HAS_ONE_TAG" )
Variables ¶
This section is empty.
Functions ¶
func GenerateGoORMPackage ¶
func GenerateGoORMPackage() bool
func GoColumnTag ¶ added in v0.0.10
func GoColumnTag() string
func GoHasManyTag ¶
func GoHasManyTag() string
func GoHasOneTag ¶
func GoHasOneTag() string
func GoMethodNameColumns ¶
func GoMethodNameColumns() string
func GoMethodNameTable ¶
func GoMethodNameTable() string
func GoMethodPrefixColumn ¶
func GoMethodPrefixColumn() string
func GoORMOutputPath ¶
func GoORMOutputPath() string
func GoORMPackageName ¶
func GoORMPackageName() string
func GoORMStructName ¶
func GoORMStructName() string
func GoORMStructPackageImportPath ¶
func GoORMStructPackageImportPath() string
func GoORMTypeName ¶
func GoORMTypeName() string
func GoSliceTypeSuffix ¶
func GoSliceTypeSuffix() string
Types ¶
This section is empty.
Source Files
¶
- config.go
- debug.go
- dialect.go
- go_column_tag.go
- go_has_many_tag.go
- go_has_one_tag.go
- go_method_name_columns.go
- go_method_name_table.go
- go_method_prefix_column.go
- go_orm_output_path.go
- go_orm_package_name.go
- go_orm_struct_name.go
- go_orm_struct_package_import_path.go
- go_orm_type_name.go
- go_pk_tag.go
- go_slice_type_suffix.go
- language.go
- trace.go
- version.go
Click to show internal directories.
Click to hide internal directories.