https://github.com/ferhatelmas/go-video
Check if a given path is a video file
https://github.com/ferhatelmas/go-video
Last synced: 2 months ago
JSON representation
Check if a given path is a video file
- Host: GitHub
- URL: https://github.com/ferhatelmas/go-video
- Owner: ferhatelmas
- License: mit
- Created: 2015-06-05T10:43:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T10:57:43.000Z (almost 10 years ago)
- Last Synced: 2025-01-24T12:13:46.618Z (4 months ago)
- Language: Go
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## go-video
[](https://godoc.org/github.com/ferhatelmas/go-video)
[](https://travis-ci.org/ferhatelmas/go-video)> Check if a filepath is a video file.
### Install
```
go get github.com/ferhatelmas/go-video
```### Usage
```go
import "github.com/ferhatelmas/go-video"video.Is("src/unicorn.mp4")
//=> truevideo.Is("src/unicorn.txt")
//=> false
```### License
MIT © [ferhat elmas](http://ferhatelmas.com)