Documentation ¶
Index ¶
- func AddFileByBase64(b64s []string) ([]string, *string)
- func CheckMatchBase64Image(originB64 string) bool
- func Delete(where map[string]interface{}) error
- func GetHashIDsByLinkFiles(lfs []LinkFile) []string
- func GetHashIdsAndReferenceByBase64LinkFiles(lfs []LinkFile) ([]string, *string)
- func ReplaceProtocolEmpty(path string) string
- type Base64File
- type File
- type Files
- type LinkFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileByBase64 ¶
func CheckMatchBase64Image ¶
func GetHashIDsByLinkFiles ¶
func ReplaceProtocolEmpty ¶
Types ¶
type Base64File ¶
func ConvertBase64ToBase64File ¶
func ConvertBase64ToBase64File(originB64 string) *Base64File
func (*Base64File) Base64FileConvertToFile ¶
func (b64File *Base64File) Base64FileConvertToFile(filePath string, fileFullName string) *os.File
type File ¶
type File struct { ID uint `json:"-"` HashID string Reference *string `json:"-"` System string `json:"-"` Type string Path string `json:"-"` Name string `json:"-"` ThirdPatyID string `json:"-"` }
func (*File) GetLocalLink ¶
func (*File) GetOpenLink ¶
Click to show internal directories.
Click to hide internal directories.