controller_convertor

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const KPackageName = "controller"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func DefaultCConfig

func DefaultCConfig() *Config

func (*Config) EnableCreate

func (s *Config) EnableCreate(t bool) *Config

func (*Config) EnableDebug

func (s *Config) EnableDebug(t bool) *Config

func (*Config) EnableDelete

func (s *Config) EnableDelete(t bool) *Config

func (*Config) EnableGinExample

func (s *Config) EnableGinExample(t bool) *Config

func (*Config) EnableQuery

func (s *Config) EnableQuery(t bool) *Config

func (*Config) EnableResponse

func (s *Config) EnableResponse(t bool) *Config

func (*Config) EnableUpdate

func (s *Config) EnableUpdate(t bool) *Config

func (*Config) EnableVOBind

func (s *Config) EnableVOBind(t bool) *Config

func (*Config) GinPackageName

func (s *Config) GinPackageName(t string) *Config

func (*Config) SavePath

func (s *Config) SavePath(t string) *Config

type Struct2Controller

type Struct2Controller struct {
	// contains filtered or unexported fields
}

func NewStruct2Controller

func NewStruct2Controller(config *Config) *Struct2Controller

func (*Struct2Controller) AutoMigrate

func (s *Struct2Controller) AutoMigrate(t ...interface{}) *Struct2Controller

func (*Struct2Controller) Config

func (s *Struct2Controller) Config(config *Config) *Struct2Controller

func (*Struct2Controller) Run

func (s *Struct2Controller) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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