tag

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsTag

func ContainsTag(existingTags []*Tag, tag *Tag) bool

func JoinTagPairs

func JoinTagPairs(tags []*Tag) []string

Types

type Service

type Service interface {
	EnsureTagsExist(ctx context.Context, tags []*Tag) ([]*Tag, error)
}

type Tag

type Tag struct {
	Id    int64 `xorm:"pk autoincr 'id'"`
	Key   string
	Value string
}

func ParseTagPairs

func ParseTagPairs(tagPairs []string) (tags []*Tag)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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