tagModel

package
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Exposes structures and functions to store/retrieve/share tags which are applied to various user-created objects to allow easier filtering/tracking of them

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTags

func GetTags(svcs *services.APIServices, s3Path string, outMap *TagLookup) error

Types

type Tag

type Tag struct {
	ID          string            `json:"id"`
	Name        string            `json:"name"`
	Creator     pixlUser.UserInfo `json:"creator"`
	DateCreated int64             `json:"dateCreated"`
	Type        string            `json:"type"`
	DatasetID   string            `json:"datasetID"`
}

type TagID

type TagID struct {
	ID string `json:"id"`
}

type TagLookup

type TagLookup map[string]Tag

func ReadTagData

func ReadTagData(svcs *services.APIServices, s3Path string) (TagLookup, error)

type Tags

type Tags []Tag

Jump to

Keyboard shortcuts

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