tag

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Service

type Service interface {
	GetAllTags(ctx context.Context) (t []string, err error)
}

func NewTagsService

func NewTagsService(db *gorm.DB) Service

type Tag

type Tag struct {
	gorm.Model
	Tag string `json:"tag"`
}

type TagsService

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

func (*TagsService) GetAllTags

func (s *TagsService) GetAllTags(ctx context.Context) (t []string, err error)

Jump to

Keyboard shortcuts

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