tag_service

package
v0.0.0-...-9bd1ba9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	ID         int
	Name       string
	CreatedBy  string
	ModifiedBy string
	State      int

	PageNum  int
	PageSize int
}

func (*Tag) Add

func (t *Tag) Add() error

func (*Tag) Count

func (t *Tag) Count() (int, error)

func (*Tag) Delete

func (t *Tag) Delete() error

func (*Tag) Edit

func (t *Tag) Edit() error

func (*Tag) ExistByID

func (t *Tag) ExistByID() (bool, error)

func (*Tag) ExistByName

func (t *Tag) ExistByName() (bool, error)

func (*Tag) Export

func (t *Tag) Export() (string, error)

func (*Tag) GetAll

func (t *Tag) GetAll() ([]models.Tag, error)

func (*Tag) Import

func (t *Tag) Import(r io.Reader) error

Jump to

Keyboard shortcuts

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