file

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFile

func GetFile(c *gin.Context)

Types

type FTPFile

type FTPFile File

func (FTPFile) TableName

func (FTPFile) TableName() string

type File

type File struct {
	ID       uint   `gorm:"primarykey" form:"id" json:"id"`
	RecordID uint   `json:"-"`
	Name     string `json:"name"`
	Content  []byte `json:"-"`
}

type MySQLFile

type MySQLFile File

func (MySQLFile) TableName

func (MySQLFile) TableName() string

Jump to

Keyboard shortcuts

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