https://github.com/wunderkind2k1/gopherexcuses
A very small command line utility (cli) that greps a "programmer excuse" for you gophers from developerexcuses.com
https://github.com/wunderkind2k1/gopherexcuses
excuses fun go golang library service
Last synced: 6 months ago
JSON representation
A very small command line utility (cli) that greps a "programmer excuse" for you gophers from developerexcuses.com
- Host: GitHub
- URL: https://github.com/wunderkind2k1/gopherexcuses
- Owner: wunderkind2k1
- License: mit
- Created: 2019-02-04T21:36:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T10:51:31.000Z (over 1 year ago)
- Last Synced: 2025-03-28T11:36:14.978Z (over 1 year ago)
- Topics: excuses, fun, go, golang, library, service
- Language: Go
- Size: 17.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gopherexcuses
This app is a cli to download excuses for you golang developers from developerexcuses.com
# How to use
Go get it.
```shell
go install github.com/wunderkind2k1/gopherexcuses@latest
```
and then call
```shell
gopherexcuses
```
# Have fun with it like this:
```shell
# dont be greedy and download to many. repect the service.
for i in {1..10}; do gopherexcuses >> excuses.txt; done
```
# You can embedd the "service" in your own code by importing it:
> import "github.com/wunderkind2k1/gopherexcuses/excuseme"
## Example
```Go
package main
import (
"fmt"
"github.com/wunderkind2k1/gopherexcuses/excuseme"
)
func main() {
err := excuseme.LoadExcuse(&excuseme.LoaderStruct{})
fmt.Println(excuseme.HandleErrorIfExists("Something went wrong: %s", err))
}
```