models

package
v0.0.0-...-8aebf8a Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDB

func RegisterDB()

Types

type FileVo

type FileVo struct {
	Id              int64
	FileName        string `orm:size(400)`
	FileFullPath    string `orm:size(4000)`
	FileMd5         string `orm:size(40)`
	LastVersionTime time.Time
}

func FindFileByFullPath

func FindFileByFullPath(fileFullPath string) (*FileVo, error)

func FindFileByMd5

func FindFileByMd5(md5 string) (*FileVo, error)

Jump to

Keyboard shortcuts

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