controllers

package
Version: v0.0.0-...-632f8f1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

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

func NewUserController

func NewUserController() *UserController

func (*UserController) Add

func (this *UserController) Add(user model.User) bool

func (*UserController) Del

func (this *UserController) Del(id int) bool

func (*UserController) GetId

func (this *UserController) GetId(id int) int

func (*UserController) List

func (this *UserController) List() []model.User

func (*UserController) Update

func (this *UserController) Update(id int, user model.User) bool

Jump to

Keyboard shortcuts

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