Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferhatelmas/go-binary
Check if a given path is a binary
https://github.com/ferhatelmas/go-binary
Last synced: 26 days ago
JSON representation
Check if a given path is a binary
- Host: GitHub
- URL: https://github.com/ferhatelmas/go-binary
- Owner: ferhatelmas
- License: mit
- Created: 2015-06-05T10:19:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T14:58:46.000Z (about 9 years ago)
- Last Synced: 2024-06-21T01:42:41.017Z (5 months ago)
- Language: Go
- Size: 130 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## go-binary
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/ferhatelmas/go-binary)
[![Build Status](https://travis-ci.org/ferhatelmas/go-binary.png?branch=master)](https://travis-ci.org/ferhatelmas/go-binary)> Check if a filepath is a binary file.
### Install
```
go get github.com/ferhatelmas/go-binary
```### Usage
```go
import "github.com/ferhatelmas/go-binary"binary.Is("src/unicorn.exe")
//=> truebinary.Is("src/unicorn.txt")
//=> false
```### Related
[gobinext](https://github.com/shamsher31/gobinext)### License
MIT © [ferhat elmas](http://ferhatelmas.com)