tags

package
v0.10.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTagRoutes

func RegisterTagRoutes(r *gin.RouterGroup, db *sqlx.DB)

Types

type Tag added in v0.10.0

type Tag struct {
	TagId     int       `json:"tagId" db:"tag_id"`
	Name      string    `json:"name" db:"name"`
	Style     string    `json:"style" db:"style"`
	CreatedOn time.Time `json:"createdOn" db:"created_on"`
	UpdateOn  time.Time `json:"updatedOn" db:"updated_on"`
}

func GetTag added in v0.10.0

func GetTag(db *sqlx.DB, tagId int) (Tag, error)

func GetTags added in v0.10.0

func GetTags(db *sqlx.DB) ([]Tag, error)

Jump to

Keyboard shortcuts

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