go-fuck-off: github.com/ds0nt/go-fuck-off Index | Examples | Files

package fuck

import "github.com/ds0nt/go-fuck-off"

Package fuck provides a simple interface for interacting with the Fuck Off As A Service (FOAAS) API. See http://foaas.com for more details on what fucks are given.

Index

Examples

Package Files

client.go

Constants

const ClientVersion = "0.1.9"

ClientVersion is the mot recent FOAAS API version supported

func Awesome Uses

func Awesome(from string) (string, error)

Awesome will return content of the form 'This is Fucking Awesome. - :from', , e.g. /awesome/Macklemore will return 'This is Fucking Awesome. - Macklemore'

func Ballmer Uses

func Ballmer(name, company, from string) (string, error)

Ballmer will return content of the form 'Fucking :name is a fucking pussy. I'm going to fucking bury that guy, I have done it before, and I will do it again. I'm going to fucking kill :company. - :from'

func Bday Uses

func Bday(name, from string) (string, error)

Bday will return content of the form 'Happy Fucking Birthday, :name. - :from'.

func Because Uses

func Because(from string) (string, error)

Because will return content of the form 'Why? Because Fuck you, that's why. - :from'.

func Bucket Uses

func Bucket(from string) (string, error)

Bucket will return content of the form 'Please choke on a bucket of cocks. - :from'.

func Bus Uses

func Bus(name, from string) (string, error)

Bus will return content of the form 'Christ on a bendy-bus, :name, don't be such a fucking faff-arse. - :from'.

func Bye Uses

func Bye(from string) (string, error)

Bye will return content of the form 'Fuckity bye! - :from'.

func CanIUse Uses

func CanIUse(tool, from string) (string, error)

CanIUse will return content of the form 'Can you use :tool? Fuck no! - :from'.

func Chainsaw Uses

func Chainsaw(name, from string) (string, error)

Chainsaw will return content of the form 'Fuck me gently with a chainsaw, :name. Do I look like Mother Teresa? - :from', e.g. /chainsaw/Chris/Heather will return 'Fuck me gently with a chainsaw, Chris. Do I look like Mother Teresa? - Heather'.

func Cool Uses

func Cool(from string) (string, error)

Cool 'Cool story, Bro - :from'

func Diabetes Uses

func Diabetes(from string) (string, error)

Diabetes will return content of the form 'I'd love to stop and chat to you but I'd rather have type 2 diabetes. - :from'.

func DoSomething Uses

func DoSomething(do, something, from string) (string, error)

DoSomething will return content of the form ':do the fucking :something! - :from'.

func Donut Uses

func Donut(name, from string) (string, error)

Donut will return content of the form ':name, go and take a flying fuck at a rolling donut. - :from', e.g. /donut/Tom/Chris will return 'Tom, go and take a flying fuck at a rolling donut. - Chris'

func Everyone Uses

func Everyone(from string) (string, error)

Everyone will return content of the form 'Everyone can go and fuck off. - :name', e.g. /everyone/Tom will return 'Everyone can go and fuck off. - Tom'

func Everything Uses

func Everything(from string) (string, error)

Everything will return content of the form 'Fuck everything. - :from', e.g. /everything/Chris will return 'Fuck everything. - Chris'

func Family Uses

func Family(from string) (string, error)

Family will return content of the form 'Fuck you, your whole family, your pets, and your feces. - :from'.

func Fascinating Uses

func Fascinating(from string) (string, error)

Fascinating will return content of the form 'Fascinating story, in what chapter do you shut the fuck up? - :from'.

func Field Uses

func Field(name, from, reference string) (string, error)

Field will return content of the form 'And :name said unto :from, "Verily, cast thine eyes upon the field in which I grow my fucks", and :from gave witness unto the field, and saw that it was barren. - :reference'

Code:

msg, err := fuck.Field("ds0nt", "Jesus", "Book of Ds0nt 1:5")
if err != nil {
    panic(err)
}
fmt.Println(msg)

Output:

And ds0nt said unto Jesus, 'Verily, cast thine eyes upon the field in which I grow my fucks', and Jesus gave witness unto the field, and saw that it was barren. - Book of Ds0nt 1:5

func Flying Uses

func Flying(from string) (string, error)

Flying will return content of the form 'I don't give a flying fuck. - :from'. e.g. /flying/batman

func Greed Uses

func Greed(noun, from string) (string, error)

Greed will return content of the form 'The point is, ladies and gentleman, that :noun -- for lack of a better word -- is good. :noun is right. :noun works. :noun clarifies, cuts through, and captures the essence of the evolutionary spirit. :noun, in all of its forms -- :noun for life, for money, for love, knowledge -- has marked the upward surge of mankind' - :from.

func KeepCalm Uses

func KeepCalm(reaction, from string) (string, error)

KeepCalm will return content of the form 'Keep the fuck calm and :reaction! - :from'.

func King Uses

func King(name, from string) (string, error)

King will return content of the form 'Oh fuck off, just really fuck off you total dickface. Christ :name, you are fucking thick. - :from'. e.g. /king/Tom/Chris

func Life Uses

func Life(from string) (string, error)

Life will return content of the form 'Fuck my life. - :from', e.g. /life/Phil will return 'Fuck my life. - Phil'.

func Linus Uses

func Linus(name, from string) (string, error)

Linus will return content of the form ':name, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap. - :from'. e.g. /linus/Tom/Chris

func Madison Uses

func Madison(name, from string) (string, error)

Madison will return content of the form 'What you've just said is one of the most insanely idiotic things I have ever heard, :name. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points :name, and may God have mercy on your soul. - :from'

func Mornin Uses

func Mornin(from string) (string, error)

Mornin will return content of the form "Happy fuckin' Mornin'! - :from".

func Nugget Uses

func Nugget(name, from string) (string, error)

Nugget will return content of the form 'Well :name, aren't you a shining example of a rancid fuck-nugget. - :from'

func Off Uses

func Off(name, from string) (string, error)

Off will return content of the form 'Fuck off, :name. - :from', e.g. /off/Tom/Chris will return 'Fuck off, Tom - Chris'

Code:

msg, err := fuck.Off("Molly", "ds0nt")
if err != nil {
    panic(err)
}
fmt.Println(msg)

Output:

Fuck off, Molly. - ds0nt

func Operations Uses

func Operations() (string, error)

Operations will return a JSON list of operations with names and fields. Note: JSON Only

func Outside Uses

func Outside(name, from string) (string, error)

Outside will return content of the form ':name, why don't you go outside and play hide-and-go-fuck-yourself? - :from', e.g. /outside/BigBrother/TheWorld will return 'BigBrother, why don't you go outside and play hide-and-go-fuck-yourself? - TheWorld'.

func Pink Uses

func Pink(from string) (string, error)

Pink will return content of the form 'Well, Fuck me pink. - :from'. e.g. /pink/Tom

func Retard Uses

func Retard(from string) (string, error)

Retard will return content of the form 'You Fucktard! - :from'.

func Shakespeare Uses

func Shakespeare(name, from string) (string, error)

Shakespeare will return content of the form ':name, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch! - :from', e.g. /shakespeare/Falstaff/Prince%20Henry will return 'Falstaff, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch! - Prince Henry

func Shutup Uses

func Shutup(name, from string) (string, error)

Shutup will return content of the form ':name, shut the fuck up. - :from'.

func Thanks Uses

func Thanks(from string) (string, error)

Thanks will return content of the form 'Fuck you very much. - :from'.

func That Uses

func That(from string) (string, error)

That will return content of the form 'Fuck that. - :from', e.g. /that/Chris will return 'Fuck that. - Chris'

func Thing Uses

func Thing(thing, from string) (string, error)

Thing will return content of the form 'Fuck :thing. - :from',

Code:

msg, err := fuck.Thing("PHP", "ds0nt")
if err != nil {
    panic(err)
}
fmt.Println(msg)

Output:

Fuck PHP. - ds0nt

func This Uses

func This(from string) (string, error)

This will return content of the form 'Fuck this - :from', e.g. /this/Chris will return 'Fuck this. - Chris'

func Thumbs Uses

func Thumbs(subject, from string) (string, error)

Thumbs will return content of the form 'Who has two thumbs and doesn't give a fuck? :subject. - :from', e.g. /thumbs/This%20Guy/Kob%20Belso will return 'Who has two thumbs and doesn't give a fuck? This Guy. - Kob Belso'

func Tucker Uses

func Tucker(from string) (string, error)

Tucker will return content of the form 'Come the fuck in or fuck the fuck off. - :from', e.g. /tucker/Malcolm%20Tucker will return 'Come the fuck in or fuck the fuck off. - Malcolm Tucker'

func Version Uses

func Version() (string, error)

Version will return content with the current FOAAS version number.

func What Uses

func What(from string) (string, error)

What will return content of the form 'What the fuck?!. - :from".

func Xmas Uses

func Xmas(name, from string) (string, error)

Xmas will return content of the form 'Merry Fucking Christmas, :name. - :from'.

func Yoda Uses

func Yoda(name, from string) (string, error)

Yoda will return content of the form 'Fuck off, you must, :name. - :from'.

func You Uses

func You(name, from string) (string, error)

You will return content of the form 'Fuck you, :name. - :from', e.g. /you/Tom/Chris will return 'Fuck you, Tom - Chris'

func Zayn Uses

func Zayn(from string) (string, error)

Zayn will return content of the form 'Ask me if I give a motherfuck ?!! - :from'.

Package fuck imports 3 packages (graph). Updated 2019-01-04. Refresh now. Tools for package owners.