Go magic-numbers

Open-source Go projects categorized as magic-numbers

Top 4 Go magic-number Projects

  • filetype

    Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

  • mimetype

    A fast Golang library for media type and file extension detection, based on magic numbers

    Project mention: Show HN: Mimetype, a Golang library for media types | news.ycombinator.com | 2023-04-29
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • go-mnd

    Magic number detector for Go.

    Project mention: strconv.ParseInt(myID, 10, 32) --> avoid magic numbers like '10' | /r/golang | 2023-01-27

    My bad, you can specify what functions should be ignored see issue https://github.com/tommy-muehle/go-mnd/issues/27

  • mimemagic

    Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database. (by zRedShift)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-04-29.

Go magic-numbers related posts


What are some of the best open-source magic-number projects in Go? This list will help you:

Project Stars
1 filetype 1,925
2 mimetype 1,283
3 go-mnd 176
4 mimemagic 94
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives