mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
gofmt peernet (#103)
This commit is contained in:
committed by
GitHub
parent
3a1eece580
commit
9775525d35
@@ -1,49 +1,49 @@
|
||||
/*
|
||||
File Name: File Formats.go
|
||||
Copyright: 2021 Peernet s.r.o.
|
||||
Author: Peter Kleissner
|
||||
|
||||
Definition of all recognized file formats. This file is likely being updated more frequently than regular code.
|
||||
*/
|
||||
|
||||
package core
|
||||
|
||||
// General content types of data.
|
||||
const (
|
||||
TypeBinary = iota // Binary/unspecified
|
||||
TypeText // Plain text
|
||||
TypePicture // Picture of any format
|
||||
TypeVideo // Video
|
||||
TypeAudio // Audio
|
||||
TypeDocument // Any document file, including office documents, PDFs, power point, spreadsheets
|
||||
TypeExecutable // Any executable file, OS independent
|
||||
TypeContainer // Container files like ZIP, RAR, TAR, ISO
|
||||
TypeCompressed // Compressed files like GZ, BZ
|
||||
TypeFolder // Virtual folder
|
||||
TypeEbook // Ebook
|
||||
)
|
||||
|
||||
// File formats. New ones may be added to the list as required.
|
||||
const (
|
||||
FormatBinary = iota // Binary/unspecified
|
||||
FormatPDF // PDF document
|
||||
FormatWord // Word document
|
||||
FormatExcel // Excel
|
||||
FormatPowerpoint // Powerpoint
|
||||
FormatPicture // Pictures (including GIF, excluding icons)
|
||||
FormatAudio // Audio files
|
||||
FormatVideo // Video files
|
||||
FormatContainer // Compressed files including ZIP, RAR, TAR and others
|
||||
FormatHTML // HTML file
|
||||
FormatText // Text file
|
||||
FormatEbook // Ebook file
|
||||
FormatCompressed // Compressed file
|
||||
FormatDatabase // Database file
|
||||
FormatEmail // Single email
|
||||
FormatCSV // CSV file
|
||||
FormatFolder // Virtual folder
|
||||
FormatExecutable // Executable file
|
||||
FormatInstaller // Installer
|
||||
FormatAPK // APK
|
||||
FormatISO // ISO
|
||||
)
|
||||
/*
|
||||
File Name: File Formats.go
|
||||
Copyright: 2021 Peernet s.r.o.
|
||||
Author: Peter Kleissner
|
||||
|
||||
Definition of all recognized file formats. This file is likely being updated more frequently than regular code.
|
||||
*/
|
||||
|
||||
package core
|
||||
|
||||
// General content types of data.
|
||||
const (
|
||||
TypeBinary = iota // Binary/unspecified
|
||||
TypeText // Plain text
|
||||
TypePicture // Picture of any format
|
||||
TypeVideo // Video
|
||||
TypeAudio // Audio
|
||||
TypeDocument // Any document file, including office documents, PDFs, power point, spreadsheets
|
||||
TypeExecutable // Any executable file, OS independent
|
||||
TypeContainer // Container files like ZIP, RAR, TAR, ISO
|
||||
TypeCompressed // Compressed files like GZ, BZ
|
||||
TypeFolder // Virtual folder
|
||||
TypeEbook // Ebook
|
||||
)
|
||||
|
||||
// File formats. New ones may be added to the list as required.
|
||||
const (
|
||||
FormatBinary = iota // Binary/unspecified
|
||||
FormatPDF // PDF document
|
||||
FormatWord // Word document
|
||||
FormatExcel // Excel
|
||||
FormatPowerpoint // Powerpoint
|
||||
FormatPicture // Pictures (including GIF, excluding icons)
|
||||
FormatAudio // Audio files
|
||||
FormatVideo // Video files
|
||||
FormatContainer // Compressed files including ZIP, RAR, TAR and others
|
||||
FormatHTML // HTML file
|
||||
FormatText // Text file
|
||||
FormatEbook // Ebook file
|
||||
FormatCompressed // Compressed file
|
||||
FormatDatabase // Database file
|
||||
FormatEmail // Single email
|
||||
FormatCSV // CSV file
|
||||
FormatFolder // Virtual folder
|
||||
FormatExecutable // Executable file
|
||||
FormatInstaller // Installer
|
||||
FormatAPK // APK
|
||||
FormatISO // ISO
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user