bo

package
v0.0.0-...-f0d4a1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyDesc

type BodyDesc struct {
	Name       string // 字段名称
	Type       string // 基础类型, 结构体类型, todo swagger format
	Example    string
	Desc       string
	Required   bool
	Array      bool
	Properties []*BodyDesc
}

BodyDesc 结构体描述信息

type DataIndex

type DataIndex struct {
	IndexName    string
	Unique       bool
	Fields       []*DataIndexField
	IndexComment string
}

type DataIndexField

type DataIndexField struct {
	Index      int    // 位置
	ColumnName string // db 字段名称
	FieldType  string // 结构体数据类型
}

type DataStruct

type DataStruct struct {
	BeanName  string // ModelTable
	DataIndex []*DataIndex
}

DataStruct template/data 数据模型

type DtoFieldDesc

type DtoFieldDesc struct {
	Name     string // 字段名称
	Type     string // 基础类型, 结构体类型, todo swagger format
	Example  string
	Desc     string
	Required bool
	Array    bool
}

type DtoStructDesc

type DtoStructDesc struct {
	Name         string // 字段名称
	Example      string
	Desc         string
	DtoFieldDesc []*DtoFieldDesc
}

DtoStructDesc 字段结构体描述信息

type HelloTemplate

type HelloTemplate struct {
	Hello string `json:"hello" form:"hello"`
}

type HttpApi

type HttpApi struct {
	Schema      string
	Path        string
	Method      string
	Prefix      string // 接口标识
	Description string
	ReqBodyType string
	ResBodyType string
	ReqBodyDesc *BodyDesc
	ResBodyDesc *BodyDesc
}

type HttpProject

type HttpProject struct {
	ID       int
	Title    string // 项目标题
	Name     string // 项目英文名称
	BasePath string // 基础路径
	ApiList  []*HttpApi
}

type ModelField

type ModelField struct {
	ColumnName string // db 字段名称
	FieldType  string // 结构体数据类型
	Comment    string // 字段评论
}

ModelField 实体对象类型

type ModelStruct

type ModelStruct struct {
	TableName string        // tblModelTable
	BeanName  string        // ModelTable
	Columns   []*ModelField // 字段列表
	Comment   string        // 数据表注释
}

ModelStruct template/model 模型

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL