baraka v1.0.2 Release Notes

Release Date: 2020-08-10 // over 3 years ago
  • removed 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.