gabriel-vasile / mimetype

A fast Golang library for media type and file extension detection, based on magic numbers
https://pkg.go.dev/github.com/gabriel-vasile/mimetype#pkg-overview
MIT License
1.63k stars 162 forks source link

fix benchmark files order #518

Closed gabriel-vasile closed 5 months ago

gabriel-vasile commented 5 months ago

Use slice instead of array to keep them always in place. It's easier to watch for results when they are not mixed randomly each time.