https://github.com/dreddsa5dies/gostackquery
Go (golang) package for search error on Stackoverflow
https://github.com/dreddsa5dies/gostackquery
error error-messages golang pet-project search stackoverflow stackoverflow-questions
Last synced: 10 months ago
JSON representation
Go (golang) package for search error on Stackoverflow
- Host: GitHub
- URL: https://github.com/dreddsa5dies/gostackquery
- Owner: dreddsa5dies
- License: mit
- Created: 2018-01-14T19:58:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T15:09:54.000Z (over 4 years ago)
- Last Synced: 2024-06-20T05:03:41.030Z (over 1 year ago)
- Topics: error, error-messages, golang, pet-project, search, stackoverflow, stackoverflow-questions
- Language: Go
- Homepage: https://stackoverflow.com
- Size: 175 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/dreddsa5dies/goStackQuery) [](https://godoc.org/github.com/dreddsa5dies/goStackQuery) 

### Go (golang) package for search error on [Stackoverflow](https://stackoverflow.com)
## Install
```bash
go get -v github.com/dreddsa5dies/goStackQuery
```
## Package used
```bash
go get -v -u github.com/toqueteos/webbrowser
```
## Example
Examples of use, see [examples](https://github.com/dreddsa5dies/goStackQuery/tree/master/_examples)
```Go
package main
import (
"os"
goStackQuery "github.com/dreddsa5dies/goStackQuery"
)
func main() {
file, err := os.Open("file")
if err != nil {
goStackQuery.Query(err, 1)
}
defer file.Close()
file.WriteString("Aloha")
}
```
## Switchers:
0 - Query ERROR and paste link on STDERR

1 - Query ERROR on web browser and automate open link

## The code contains comments in Russian
## License
This project is licensed under MIT license. Please read the LICENSE file.
## Contribute
Welcomes any kind of contribution. Please read the CONTRIBUTING and CODE_OF_CONDUCT file.