Discover Packages
github.com/cyril-fl/notes/notes-go
app
shared
services
process
createfile
package
Version:
v0.0.0-...-4d14c86
Opens a new window with list of versions in this module.
Published: Nov 15, 2026
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrNoData = errors .New ("no file given")
ErrFileType = errors .New ("not an image (PNG, JPEG, GIF, WebP), a PDF, a zip, an audio or a video file")
)
Process stores a file of the account: its row in Postgres, its bytes in Silo.
Input is a file as sent: its type is read from its bytes, not from what the sender claims.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.