Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shamsher31/govdotype
Return type of video based on mime type
https://github.com/shamsher31/govdotype
Last synced: 4 days ago
JSON representation
Return type of video based on mime type
- Host: GitHub
- URL: https://github.com/shamsher31/govdotype
- Owner: shamsher31
- License: mit
- Created: 2016-07-19T15:22:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T09:52:14.000Z (about 8 years ago)
- Last Synced: 2024-06-20T03:44:34.232Z (5 months ago)
- Language: Go
- Size: 2.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# govdotype
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/shamsher31/govdotype)
[![Build Status](https://travis-ci.org/shamsher31/govdotype.svg)](https://travis-ci.org/shamsher31/govdotype)
[![GitHub release](http://img.shields.io/github/release/shamsher31/govdotype.svg?style=flat-square)](release)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](license)Return type of video based on mime type which is useful when you are writing video uploading apps.
### How to install
```go
go get github.com/shamsher31/govdotype
```### How to use
```go
package mainimport (
"fmt"
"github.com/shamsher31/govdotype"
)func main() {
fmt.Println(vdotype.Get("./golang.mp4"))
// video/mp4
}
```### Related
[goimgtype](https://github.com/shamsher31/goimgtype)
[goimgext](https://github.com/shamsher31/goimgext)
[govdoext](https://github.com/shamsher31/govdoext)# License
MIT © [Shamsher Ansari](https://github.com/shamsher31)