gface

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

type Definition struct {
	StType string
	Table  string
	Plural string
	Alias  string
	Joins  []*JoinDef

	All, Select, Insert, Update, Delete bool
}

type Goderive

type Goderive interface {
	GetFuncName(typs ...types.Type) string
}

type Interface

type Interface interface {
	P(format string, a ...interface{})
	In()
	Out()
	NewImport(name, path string) func() string
	TypeString(types.Type) string
}

type JoinDef

type JoinDef struct {
	JnType string
	StType string
	Table  string
	Alias  string
	OnCond string
}

Directories

Path Synopsis
testpkg1
This is a package sqlgen: package this line is ignored
This is a package sqlgen: package this line is ignored

Jump to

Keyboard shortcuts

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