list

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileList = func(list []*dbschema.File) interface{} {
	listData := make([]*FileInfo, len(list))
	for k, v := range list {
		listData[k] = &FileInfo{
			File:       v,
			SubdirInfo: upload.SubdirGet(v.TableName),
		}
	}
	return listData
}

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	*dbschema.File
	SubdirInfo *upload.SubdirInfo `db:"-"`
}

Jump to

Keyboard shortcuts

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