Skip to content

A very small command line utility (cli) that greps a "programmer excuse" for you gophers from developerexcuses.com

License

Notifications You must be signed in to change notification settings

wunderkind2k1/gopherexcuses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopherexcuses

This app is a cli to download excuses for you golang developers from developerexcuses.com

How to use

Go get it.

go get -u github.com/wunderkind2k1/gopherexcuses

and then call

gopherexcuses

Have fun with it like this:

# 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

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))
}

About

A very small command line utility (cli) that greps a "programmer excuse" for you gophers from developerexcuses.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages