Changelog History
-
v2.0.1 Changes
December 04, 2020v2.0.1 same as v1.2.0, releasing v2 because of the pkg.go.dev cache issues.
please use v2 not v1. -
v1.2.0 Changes
December 04, 2020code is now more meaningful
โ added available slices mechanism to use remaining []byte from the filtered parts
โ added MaxParseCount variable to limit parse loop
filter function now gets a []byte as a parameter
๐ Storage removed
๐ Marshaler removed
โ removed Header related things from parser.Parse function,
โ added Part struct to access data easily
โ added NewParser function,
๐ Options renamed to ParserOptions,
๐ Parse method removed from Options,
๐ Options struct not implements Parser anymore, parser implements Parser interface now,
๐ parser can be created with NewParser function,
now using Part struct instead of Header,
not using Parts struct anymore, now using Request struct. -
v1.1.1 Changes
August 13, 2020๐ fixed saving without extensions
โ added filtering what data to save withprocess.StoreWithout
-
v1.1.0 Changes
August 11, 2020removed 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. -
v1.0.2 Changes
August 10, 2020removed WithMultipartReader, WithParseMultipartForm options.
library just uses multipart.Reader() now.
๐ 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. -
v1.0.1 Changes
July 18, 2020โ added json extracting from request
-
v1.0.0
July 15, 2020