class_repo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Class

func Class(classID int64) (*model.Class, error)

func ClassCount

func ClassCount(where string, values []interface{}) (int64, error)

func ClassLimit

func ClassLimit(where string, values []interface{}, offset, page int64) ([]*model.Class, error)

func ClassSave

func ClassSave(cls *model.Class) (int64, error)

func ClassUpdate

func ClassUpdate(cls *model.Class) (int64, error)

func ClassUpdateByPk

func ClassUpdateByPk(cls *model.Class, data map[string]interface{}, pk int64) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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