database

package
v0.0.0-...-12d2452 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoInstance *mongo

Functions

func NewMongo

func NewMongo()

Types

type ArtItem

type ArtItem struct {
	ID          string    `json:"id"`
	Folder      string    `json:"folder"`
	FileName    string    `json:"filename"`
	FullPath    string    `json:"fullpath"`
	Expression  string    `json:"expression"`  // set if only one expression is used (can be empty)
	Expressions []string  `json:"expressions"` // set if multiable are used (will always be 0 if empty)
	Views       int       `json:"views"`
	Uploaded    time.Time `json:"uploaded_on"`
	FileSize    int       `json:"file_size"`
	Width       int       `json:"width"`
	Height      int       `json:"height"`
}

Jump to

Keyboard shortcuts

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