baraka v1.1.0 Release Notes
Release Date: 2020-08-11 // over 3 years ago-
removed WithMultipartReader, WithParseMultipartForm options.
library just uses multipart.Reader() now.
โ added ParseButMax function, so you can set a maxFileSize and maxFileCount limit to parser.
๐ you can give prefixes when storing the file now.process.Store("user\_image\_")// it will be like this in filesystem// user\_image\_1.jpg// user\_image\_2.png// user-image\_3.whatever
๐จ process.Filenames() for getting names of files
๐จ process.ContentTypes() for getting content types of files
๐จ process.Length() for getting total count of files// prints filenamesfmt.Println(process.Filenames())// prints total files countfmt.Println(process.Length())// prints content types of filesfmt.Println(process.ContentTypes())
๐ new struct Options for all parsing purposes.
๐ new struct Parts for all file operations.