Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malikov0216/if-json-has
https://github.com/malikov0216/if-json-has
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/malikov0216/if-json-has
- Owner: malikov0216
- Created: 2019-06-12T09:15:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T09:19:49.000Z (over 5 years ago)
- Last Synced: 2023-03-03T06:20:10.324Z (almost 2 years ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# If JSON has "dependency"
This library returns if JSON has certain dependency.
## InstallationUse the "go get".
```bash
go get github.com/malikov0216/if-json-has
```## Usage
```go
import (
"fmt"
hasJSON "github.com/malikov0216/if-json-has"
)func main () {
if hasDep := hasJSON.FileRead("source to json", "project name"); hasDep {
//do-something-here
}
}
```## License
[MIT](https://choosealicense.com/licenses/mit/)