https://github.com/gotmc/query
Go package to return the desired type from various queries.
https://github.com/gotmc/query
Last synced: 4 months ago
JSON representation
Go package to return the desired type from various queries.
- Host: GitHub
- URL: https://github.com/gotmc/query
- Owner: gotmc
- License: mit
- Created: 2020-01-17T19:37:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T18:39:00.000Z (about 2 years ago)
- Last Synced: 2025-08-15T02:21:51.115Z (10 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# query
Go package to parse the results from a query.
[![GoDoc][godoc badge]][godoc link]
[![Go Report Card][report badge]][report card]
[![License Badge][license badge]][LICENSE.txt]
## Overview
Package [query][] provides convenience functions for parsing the results from a
Query.
```go
type Querier interface {
Query(cmd string) (string, error)
}
```
## Contributing
Contributions are welcome! To contribute please:
1. Fork the repository
2. Create a feature branch
3. Code
4. Submit a [pull request][]
### Testing
Prior to submitting a [pull request][], please run:
```bash
$ make check
$ make lint
```
To update and view the test coverage report:
```bash
$ make cover
```
## License
[query][] is released under the MIT license. Please see the [LICENSE.txt][]
file for more information.
[godoc badge]: https://godoc.org/github.com/gotmc/query?status.svg
[godoc link]: https://godoc.org/github.com/gotmc/query
[query]: https://github.com/gotmc/query
[LICENSE.txt]: https://github.com/gotmc/query/blob/master/LICENSE.txt
[license badge]: https://img.shields.io/badge/license-MIT-blue.svg
[pull request]: https://help.github.com/articles/using-pull-requests
[report badge]: https://goreportcard.com/badge/github.com/gotmc/query
[report card]: https://goreportcard.com/report/github.com/gotmc/query