file-type-stream-go
new
file-type-stream-go | new | |
---|---|---|
2 | 5 | |
5 | 55 | |
- | - | |
10.0 | 0.0 | |
almost 2 years ago | over 2 years ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
file-type-stream-go
- Go library to validate MPEG-4 file?
-
Share Your Code.. Share your most unique piece of Go code.
file-type-stream-go detects the file type by reading a file (from an io.Reader stream). Port of the file-type library from JS.
new
-
Have yet to use generics...Am I missing out?
Yeah, I have a joke package that does this: https://github.com/carlmjohnson/new
- Share Your Code.. Share your most unique piece of Go code.
- Fun with generics 3: Pointer of value with generics
- Generic fun: new.Of - A helper function to create a pointer to a new object in Go 1.18+
- More fun with Go generics: A new.Of() helper function
What are some alternatives?
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
pointer - Go package pointer provides helpers to get pointers to values of built-in types.
go-mp4 - Go library for reading and writing MP4 file
spidy - Domain names collector - Crawl websites and collect domain names along with their availability status.
blockscan - a mini blockchain scanner
dgo - Efficient, error-free and high-level library for Dart <-> Go interops.
pcre - Pure-Go port of the PCRE2 regular expression engine.
stringdedup - String deduplication package for Go
devcert - Generate self-signed, trusted certificates for local development.
errors - Go stdlib errors package extension.
lure - The community repository missing from your Linux distro
go-simpex - A simpler and faster alternative to regexp