Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mileworks/Golang-Files-Preview
/ functions
Functions
22 in github.com/Mileworks/Golang-Files-Preview
⨍
Functions
22
◇
Types & classes
6
↓ 5 callers
Function
DownloadFile
(source string, fileSuffix string, filenameWithSuffix string)
utils/download.go:27
↓ 3 callers
Function
ConvertToPDF
(filePath string)
utils/convert.go:30
↓ 3 callers
Function
File2Bytes
(filename string)
utils/files.go:77
↓ 3 callers
Function
FileExist
(path string)
utils/files.go:138
↓ 3 callers
Function
FileTypeVerify
(url string)
utils/files.go:25
↓ 2 callers
Function
ConvertFromCADToPDF
(filePath string)
utils/convert.go:9
↓ 2 callers
Method
Get
()
controllers/default.go:11
↓ 2 callers
Function
GetFileNameOnly
(url string)
utils/files.go:143
↓ 2 callers
Function
GetFilesFromDirectory
(source string)
utils/files.go:108
↓ 2 callers
Function
InteractiveToexec
(commandName string, params []string)
utils/path.go:10
↓ 2 callers
Function
UnarchiveFiles
(file string)
utils/files.go:102
↓ 1 callers
Function
IsFileExist
(filename string, filesize int64)
utils/download.go:15
↓ 1 callers
Function
PathExists
(path string)
utils/path.go:25
↓ 1 callers
Method
SuccessJson
(data interface{})
controllers/BaseController.go:15
Method
AchieveFileForReview
()
controllers/PreviewController.go:108
Method
ErrorJson
(code int, msg string, data interface{})
controllers/BaseController.go:25
Method
GetFile
2 method below only for test
controllers/PreviewController.go:99
Method
PLMPreview
()
controllers/PLMFileController.go:20
Method
Preview
()
controllers/PreviewController.go:16
Function
TestUnzip
(t *testing.T)
main_test.go:8
Function
init
()
routers/router.go:8
Function
main
Users/mac/go/bin/bee pack -be GOOS=linux -be GOARCH=amd64
main.go:9