Department

package
v0.0.0-...-097943f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(db *sql.DB, tableName string, dbName string, r gin.IRouter) error

Register -

Types

type Controller

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

Controller -

func New

func New(db *sql.DB, tableName string, dbName string) *Controller

New -

func (*Controller) CreateTable

func (con *Controller) CreateTable() error

CreateTable -

func (*Controller) InsertDepartment

func (con *Controller) InsertDepartment(c *gin.Context)

Insert -

func (*Controller) InsertDepartmentMember

func (con *Controller) InsertDepartmentMember(c *gin.Context)

Insert -

Jump to

Keyboard shortcuts

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