tag

package
v0.0.0-cloud Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 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